2020-07-20 05:03 AM
I'm using STM32F108RG on 48MHz clock configuration.
I need to generate a 1 micrososeconds timer tick on it, for driving an output pin interfaced with a 3rd party device. Using PWM is not an option available.
I tried configuring TIM3 with following parameters:
Clock: Internal (48MHz)
Prescaler: 47 (48 - 1)
Counter Mode: Up
Counter Period (Auto-Reload Register -16 bit): 1
Internal Clock Division: No Division
Auto-reload preload: Disabled
With these settings, the closest I can reach is 6.8us.
I was able to generate 10us with the above settings with Counter Period set to 10,
but it doesn't seem to go below 6.8us.
I also tried TIM1 for the same purpose, but got the same observations.
Is that a limitation of the device, or do I need to perform any additional steps?
2020-07-23 11:47 PM
Thanks a lot for all your help, clive1.