Posted on June 29, 2018 at 10:16 Hi everyone. I am using STM32F303RE and STM32L011 nucleo boards as a part of my experiment. I used STM32F303RE to generate PWM signal (in Interrupt mode) for 1MHz. Clock Source - PLLCLK (8Mhz * 9 = 72 MHz). Time...
Dear @stm32cube-t ,The problem is not yet fixed I guess. I am using version 4.24 and tried the same thing, but the CubeMx is not allowing me. I had to comment out the GPIO init for the respective timer Input capture channel. Please have a look into ...
Posted on July 05, 2018 at 15:52Thank you for your response. I used debugger only as a last resort. If you just scan through the whole page, I would have mentioned about obtaining values through UART and not debugger. Also, I am using STM studio whi...
Posted on July 03, 2018 at 11:58I am running TIM6 as the base timer. The source clock is 72 MHz and it counts for a duration of 100µs and provides an interrupt. Inside the interrupt, I read the TIM2 counts (set to maximum of 65535). At the end of th...
Posted on July 03, 2018 at 10:16Yes Tim2 is set at 99 so I will be counting 100 pulses. And you are right. Tim6 is a 16 bit counter (thats why the max count of 65535).As I was using capture_flag integer as a secondary counter, I kept that function a...
Posted on July 02, 2018 at 12:09I setup two timers as you mentioned. I preferred to run the free timer on DMA mode, while having the counter in IT mode and toggled a pin. I indeed got almost a solid lock and its more than good. But, when I tried to ...