Other Parts Discussed in Thread: TMS320C5505
please tell me how to generate the delay of 1 sec using timers of TMS320C5505.
what are the calculations.
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.
Other Parts Discussed in Thread: TMS320C5505
please tell me how to generate the delay of 1 sec using timers of TMS320C5505.
what are the calculations.
thanks..its a nice explanation.
but see i want generate 20ms of delay..nowhere mentioned the delay function using timers.
what do i need to do in that file..do i change these values
hwConfig.autoLoad = GPT_AUTO_ENABLE;
hwConfig.ctrlTim = GPT_TIMER_ENABLE;
hwConfig.preScaleDiv = GPT_PRE_SC_DIV_7;/**< Pre scale Divide input clock by 256 */
hwConfig.prdLow = 0xFFFF;
hwConfig.prdHigh = 0x0000;
or what change do i do in the code to get 20ms delay