CAN Basic mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAN Basic mode

1,492 次查看
ianbenton
Senior Contributor I

Section 27.7.2.4.4. of the LPC15xx manual states:

"The transmission of the contents of the
IF1 Registers is requested by writing the BUSY bit of the IF1 Command Request Register
to ‘1’."

Table 403 states that bit 15 (the BUSY bit) of IF1_CMDREQ is read-only.

Please clarify.

标签 (1)
0 项奖励
回复
3 回复数

1,272 次查看
ianbenton
Senior Contributor I

That code writes to bit 15, which the manual says is read-only?

0 项奖励
回复

1,272 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi  Ian Benton,

It's typo with reference manual.

Hope this is clear.
Have a great day,
TIC

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

0 项奖励
回复

1,272 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi  Ian Benton,

Thank you for your interest in NXP Semiconductor products and 
the opportunity to serve you.

You can use the following code to set the BUSY bit in the Command Request Register.

#define IFCREQ_BUSY    0x8000    /* 1 is writing is progress, cleared when 
LPC_CAN->IF2_CMDREQ = IFCREQ_BUSY;    /* Start message transfer */
Have a great day,
TIC
 
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复