Hi,
According to the i.MX6Q reference manual, there is a general purpose timer in the USB module.
So I want to make sure the relationship between SOF(125us) and this timer(1~1677215us).
Those two are completely synchronized?
For example, if I programmed the timer duration as 1000us, the interrupt will constantly generate each 8 micro frames(8x125us)?
Can anybody help me?
Thanks.
Dear Victor,
Thank you for replying.
EPIT you mentioned is one of the candidates to realize what I want to do.
But I've been searching for the simplest way.
For me, internal timer in the USB module is more attractive.
Does anyone know clock source of this timer?
BR
You can refer "30.4 Functional Description" chapter of i.MX 6D/Q Processor Reference Manual regarding to GPT usage.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
You can use High Resolution Timer for more accuracy time measuring.
Please refer these notes:
https://community.nxp.com/thread/314550
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------