Part Number: RM48L950
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
Hello,
I am trying to work on RM48 L950 rti blinky project.
#include "rti.h"
#include "het.h"
#include "gio.h"
void main(void)
{
rtiInit();
gioSetDirection(hetPORT1, 0xFFFFFFFF);
rtiEnableNotification(rtiNOTIFICATION_COMPARE0);
_enable_IRQ();
rtiStartCounter(rtiCOUNTER_BLOCK0);
while(1);
}
void rtiNotification(uint32 notification)
{
gioToggleBit(hetPORT1, 0x00000001);
rtiStopCounter(rtiCOUNTER_BLOCK0);
while(!rtiResetCounter(rtiCOUNTER_BLOCK0));
rtiStartCounter(rtiCOUNTER_BLOCK0);
}
After debugging this code,there is no error.But the the LEDs are not blinking as expected.Please help me to fix this issue.
Thanks in advance