Hi,
I do not suggest you can use timer to implement the delay. Generally, we suggest customer use nop instruction to generate delay. If you use Timer, you can start time so that it can count the ticks, you can poll the timer counter, when it reaches a predefined value the delay time corresponds to, you can disable timer, and execute the next instruction.
BR
Xiangjun Rong
Use the TMR Hold Register and the TMR Counter Register?
Hi,
It is okay to read the TMRn_CNTR directly if you only use one Timer.
BR
XiangJun Rong
Thank you very much.
wish you have a happy life