how can i calculate delay in TIVA C like i have in 8051 controller . like we can have instruction cycle and all those calculation . Can anyone please help me out ??
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Use __delay_cycles() [Ref CC User Guide (SPNU151V) Table 5-3] or a timer.
One caution with __delay_cycles() on Cortex-M or Cortex-R based devices is that the actual delay can vary according to the number of wait states used by the memories or even upon code alignment.
What is its unit of number of _delay_cycles() has some previous measurements.
And interrupts being enabled can also affect the elapsed delay when using __delay_cycles()