Other Parts Discussed in Thread: TMS320C6678, TMS320C6672
Hello,
I currently use the TMS320C6678 for which I use the Timer TIMER0.
This timer is configured as described below :
- TIMER0 configured in 32 bits timers unchained mode without prescaler (Only TIMLO)
- Enabling Mode set to 11b : enabled continuously with Reload
- Clock Source set to external Clock (signal on the timer pin TIMI0)
Wanted behavior is to call IRQ4 routine each time a rising edge occurs on the Timer pin.
At the beginning, we configure TIMER0 period to 1. But resulting behavior is an IRQ4 routine called "one time in two", due to the Timer counter reset
occuring only at the next timer imput clock cycle.
Setting the Timer counter and period together to Zero allow us to obtain the wanted behavior.
Could you please confirm this behavior is the wanted one, because I read in document SPRUGV5A (March 2012) concerrning Timer Handling at
§3.9.2 Timer Count = 0 and Timer Period = 0 (No Prescaler) that the Timer interrupt is not generated.
Then, could you please confirm me that such behavior occurs also with TMS320C6672.
Note that we can't use GPIO interrupt as all GPIOs aree alrerady used.
Regards
Alban