TOCV register of MCAN: read-only or not?

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

TOCV register of MCAN: read-only or not?

381 Views
lpelton
Contributor I

The LPC546xx user manual says, in section 35.8.7, regarding the Timeout counter in the MCAN module:

"When the timeout counter is operating in continuous mode, a write
to the TOCV register presets the counter to the value configured in the TOP bits of
the TOCC register and continues down-counting."

However, the TOCV register is marked as read-only in Table 712 of the user manual, and attempting to write to it using the supplied "CAN_Type" defined in LPC54608.h (from the SDK), results in a compiler error, because the register is defined as read-only.

Before I start experimenting with writing the register directly without going through "CAN_Type":

Does anyone know if this register is really read-only, and if so, how is it refreshed since the method described in the user manual would be impossible?

Thanks.

Labels (1)
Tags (1)
0 Kudos
1 Reply

319 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Larry

This is a document defect. TOCV is writable. This issue is reported, we will correct is in next release.


Have a great day,
Jun Zhang

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos