Visitor II
March 5, 2021
Question
Increasing count range (CNT register) of16 Bit timer in encoder mode.
- March 5, 2021
- 1 reply
- 797 views
Due to some hardware restrictions I dont have any 32Bit timers available on my controller (STM32F7) at the moment. My application requires me to count upto 18bits, which is evidently surpassing the 16-bit count limit the register can handle and hence it overflows. As the header suggests, is there any way I could reliably increase my counting range (through HAL or external logic) which would not make me compromise on missing interrupts and get the job done?
Really appreciate all the help.