LPC Xpresso 11c24 CAN extended not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC Xpresso 11c24 CAN extended not working

562件の閲覧回数
sridharan
Contributor II

Hi,

 

I am using LPCXpresso (11c24) board for CAN communication, I am able to transmit standard ID , however when I try to transmit extended ID ,I find no response, I am using the demo sample codes . Can any one help . PFA

 

Below is the code snip where I suspect demo code problem. 

 

id = id & _EXT_FORMAT;

LPC_CAN->IF1_MSK1 = (id & _MSK1_MSK);
LPC_CAN->IF1_MSK2 = (id >> 16) | _MSK2_MXTD;

LPC_CAN->IF1_ARB1 = (id & _ARB1_ID);
LPC_CAN->IF1_ARB2 = (id >> 16) | _ARB2_XTD | _ARB2_MSGVAL;

Original Attachment has been moved to: CAN-Stepper-LPC11C24-master.zip

Original Attachment has been moved to: CAN.zip

ラベル(1)
0 件の賞賛
返信
1 返信

394件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi sridharan TechM,

I've replied in the CAN Extended ID not able to receive
Have a great day,
TIC

 

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

0 件の賞賛
返信