Posted on August 23, 2016 at 21:01
In my STM32F2 application, I need to trigger the conversion start of several injected channels using TIM_CH4. The documents are a little bit unclear as to how to configure the timer for this.
It seems l...
Posted on August 16, 2016 at 18:09
Hi,
I have the attached code. This is supposed to set up the ADC for 2 injected channels, 0 regular channels and DMA. Additionally, this is supposed to use TIM1_CH4 to trigger the conversion start of th...
Posted on July 27, 2016 at 19:44
I'm using the STM32CubeF2 libraries on an STM32F Using the UART library, it seems like I can only send a few bytes before calls to HAL_UART_Transmit result in any additional sent bytes.
Code:
void ...
Posted on July 16, 2016 at 21:37
Hi,
I need to measure the time a PWM signal spends high. I have the input capture side of this working fine, but with IC mode set to both edges, there are occasional issues with the signal measurement.
...
Posted on August 24, 2016 at 17:20I actually ended up figuring it out. I accidentally omitted setting the NbrOfInjectedConv in the ADC injected channel setup. Other than that, PWM1 mode must be used with the timer CC channel, and you must set a risi...