lpcware

Help with LPC11C24 C_CAN controller

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by maxheadroom on Mon Oct 03 01:14:45 MST 2011
Hello,

i am a newbie with the NXP Cortex Type processor and NXP LPCxpresso 11C24 board, but i am interesting in this LPCxpresso boards.
Now i am trying to run the CAN Bus on my LPCxpresso 11C24 board.
I would like to use the C_CAN controller (according chapter 13 from the manual) and not the C_CAN ON-chip driver.
I could realized that the LED turned on when ANY CAN message received on the CAN Bus.
When i received a CAN Message i read following:
LPC_CAN->STAT & (1<<4)
That is the RXOK Bit that turned to HIGH when i message received.
I see that also in the debug mode on the CAN Periphery.
But were are the message information (like ID, MSG, DLC etc)
[U][/U]
I think the "CAN Initialization procedure is OK, otherwise the RXOK bit would not work.

Have anybody a idea were the problem is?

Thanks and best regards,

Max

Outcomes