About LPC15xx CAN2.0b

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

About LPC15xx CAN2.0b

878 Views
devan
Contributor I

Hi,

I know the LPC1549 support for CAN2.0b part already and I use CAN2.0a protocol very well now.

how to configure the LPC15xx can2.0b protocol on CAN OPEN ROM API?

accrod to SAEJ1939 protocol, example: PGN = 0X1234; ID=0X12341234;

but i don't know how to configure these parameters?

id = CAN_MSGOBJ_EXT | CAN_MSGOBJ_DATA | ID?

mask = PGN?

Thank you

Labels (3)
0 Kudos
2 Replies

529 Views
soledad
NXP Employee
NXP Employee

Hi,

Please check the below threads, you will find examples that you can use as reference.

Working LPC15xx LQFP48 CAN Sample | www.LPCware.com 

LPC1549 and CAN 

Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

529 Views
devan
Contributor I

Hi,

How to configure message object 1 to receive all 29-bit message on Can_open_rom.c or CAN_OPEN_ROM API?

CAN_MSG_OBJ struct:

{

u32 mode;

u32 mask;

data[8];

u8 dlc;

u8 msgobj;

}

for J1939 protocol paramters PGN and ID, PGN and ID how to configure them parameters?

Thanks you

0 Kudos