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.

TMS320F28075: real time timer functionality .

Part Number: TMS320F28075
Other Parts Discussed in Thread: C2000WARE

Hi,

looking for a suggestion.

the display board is connected to the controller and this used to communicate with the controller.

display board has buttons like increment, decrement, power on/ off, function(to change modes) and timer button.

I would like to implement a functionality as when I press the timer button, based on the increment or decrement button I would like set the timer value, based on the timer value system should shut down.

if the timer set is 5 seconds it should display 5, after 1 second it should display 4 and so on until system is shut down.

how can I implement this real-time timer functionality in TMS320F28075 and I have tried using a delay_us(timer) function but this can just delay the system shut down for 5 seconds by displaying 5 on the display board for whole 5 seconds time period.