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.
That code writes to bit 15, which the manual says is read-only?
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!
-----------------------------------------------------------------------------------------------------------------------
Hi Ian Benton,
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 */