Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN
Can I make a 500ms counter in 1ms interrupt cycle with halcogen alone without coding in main.c?
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.
Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN
Can I make a 500ms counter in 1ms interrupt cycle with halcogen alone without coding in main.c?
If you want to change the period of the clock tick, you need to reset the value in update compare register using the function defined in rti.c:
rtiSetPeriod(0, 5000000); --> compare 0, 500ms if counter frequency is 10MHz