Page 1 of 1
Please add TIMx 3 and 4 support into ICU driver...
Posted: Fri Oct 18, 2013 4:32 am
by russian
Not having them is just bad publicity, it allows an argument that while using ChibiOS one cannot use the whole power of the MCU...
Re: Please add TIMx 3 and 4 support into ICU driver...
Posted: Fri Oct 18, 2013 9:13 am
by Giovanni
TIM3 and TIM4 are supported already.
About publicity, device drivers are released as *examples* and are not part of the commercial offering. Supporting every single bit in a specific device is not our core mission.
Giovanni
Re: Please add TIMx 3 and 4 support into ICU driver...
Posted: Fri Oct 18, 2013 12:03 pm
by russian
I'm sorry my original message was confusing - I am referring to ICUConfig.channel: 'Timer input channel to be used. Only inputs TIMx 1 and 2 are supported.'
Re: Please add TIMx 3 and 4 support into ICU driver...
Posted: Fri Oct 18, 2013 1:41 pm
by Giovanni
It has already been discussed in the past, consensus was that channels 3 and 4 cannot be used for PWM capture.
Giovanni
Re: Please add TIMx 3 and 4 support into ICU driver...
Posted: Thu Oct 24, 2013 7:56 am
by nikhilz
Hi,
I'm new to chibios.I have some doubt about ICU driver.I'm using timer 5 for ICU.Is it possible to get width of input applied to channel 1 and channel 2 simultaneously using the pins PA0 and PA1?
Re: Please add TIMx 3 and 4 support into ICU driver...
Posted: Thu Oct 24, 2013 8:19 am
by Giovanni
Hi,
It is not possible, PWM input requires a whole timer on the STM32. You could use channel 1 and channel 2 of the same timer but not simultaneously.
Giovanni
Re: Please add TIMx 3 and 4 support into ICU driver...
Posted: Thu Oct 24, 2013 10:52 am
by nikhilz
Ok..Thanks for the reply.Can you tell me why channel 3 and 4 is not implemented in ICU driver?If this is already discussed in forum ,please refer me the link.
Re: Please add TIMx 3 and 4 support into ICU driver...
Posted: Thu Oct 24, 2013 11:33 am
by Giovanni