Other Parts Discussed in Thread: C2000WARE
Hello
i cannot Initialize RAM for mcan,
my initialize code is..
SysCtl_setMCANClk(SYSCTL_MCANCLK_DIV_5);
SysCtl_enablePeripheral(SYSCTL_PERIPH_CLK_MCANA);
for(;i<200; i++)
__asm (" nop");
GPIO_setPinConfig(GPIO_30_MCAN_RX);
GPIO_setPinConfig(GPIO_31_MCAN_TX);
//
// Get MCANSS Revision ID.
//
MCAN_getRevisionId(MCANA_BASE, &revId);
//
// Wait for Memory initialization to be completed.
//
while(FALSE == MCAN_isMemInitDone(MCANA_BASE));
and then code stuck in while loop.
i can't see why this doesn't work :(
please do help.
and what's the difference between MCAN0 and MCANA?
it's really, really confusing