CAN Basic mode

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

CAN Basic mode

741 Views
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.

Labels (1)
0 Kudos
3 Replies

521 Views
ianbenton
Senior Contributor I

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

0 Kudos

521 Views
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 Kudos

521 Views
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 Kudos