Problems with FullCAN at LPC2292

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with FullCAN at LPC2292

934 Views
mauricegonska
Contributor I

Hello,

I've the following question:

How much FullCAN Messages could be Registered at LPC2292?

If I understand the Manual in the right I can Register 146 Messages.

But If I try only 128 are working the right way. The 129. Message will be copied in the Memory of the ACF but the position is incorrect and the implemented Driver will not find the Message.

Here are some Screenshots

CAN_ACF_Configuration.PNG

CAN_Msg_Filter.PNG

CAN_Received_Msg.PNG

The Missing CAN-Massage has the ID 0x7E0. You could see Message is received, but the position is wrong.

I think the Received Message have to written to a bigger address than 0xE0038304.

If I'm right it have to be address 0xE0038710.

My calculation is the following

ENDOfTable + 12byte * MessageIndex =>MessageAddress

CAN_Received_Msg_710.PNG

Best regards,

Maurice

#FullCAN

#LPC2292

Labels (2)
Tags (2)
2 Replies

637 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Maurice,

Attached you can find the application note AN10674 “NXP LPC2000 CAN driver with FullCAN mode” (document and code), that you could use as reference.

Additionally, it is also recommended take a look at section 3.2 “CAN.1” of the Errata sheet LPC2292/01, available at the following link:

http://www.nxp.com/documents/errata_sheet/ES_LPC2292_94_01.pdf

 
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

637 Views
mauricegonska
Contributor I

Hi Carlos,

thanks for the hint and the document. I've compared my implementation to the application note. But there are only some minor differences.

I will try to setup an example with the code from the application note.

At the moment my solution it to limit the used ID's to 128.

Has some one experience with more than 128 ID's at FullCAN mode?

Best regards,

Maurice

0 Kudos
Reply