Timer with high Frequency
I am using an STM32F4 discovery board which runs at 100Mhz. I want to fade an LED with PWM and need to change the PWM duty-cycle very quickly (every us). I tried using a k_timer but it's not updating the duty-cycle fast enough. I tried to increase the tick-rate (with CONFIG_SYS_CLOCK_TICKS_PER_SEC) but this didn't help. What would be the correct way to do this?