Hello everyone.
I compiled starware example code using C6748 LCDK.
I want to set interrupt period 2MHz. but in example the period is about 1 second.
I found a fuction and defined value
TimerPeriodSet(SOC_TMR_2_REGS, TMR_TIMER12, TMR_PERIOD_LSB32);
TimerPeriodSet(SOC_TMR_2_REGS, TMR_TIMER34, TMR_PERIOD_MSB32);
#define TMR_PERIOD_LSB32 (0x07FFFFFF)
#define TMR_PERIOD_MSB32 (0x0)
I chagned the value and period became more fast.
#define TMR_PERIOD_LSB32 (0x01)
#define TMR_PERIOD_MSB32 (0x0)
But not enough to my application. So i think there is other register to set period of timer.
But in example code there is no other thing to set most fuctions are extern vold type.
How can make timer period more fast?
And i have another question. In startware exaplme i can't use register(ex TIM12, PRD12) in technical reference manual. compile error happened.
Why?
Thanks.