h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 623

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8. Usage of bit manipulation instructions
9. HTxD pin output in error passive state
10. Transition to HCAN sleep mode
11. Message transmission cancellation (TxCR)
12. TxCR in the bus off state
The HCAN status flags are cleared by writing 1, so do not use a bit manipulation instruction to
clear a flag.
When clearing a flag, use the MOV instruction to write 1 to only the bit that is to be cleared.
If the HRxD pin becomes fixed at 1 during message transmission or reception when the HCAN
is in the error active state, the HTxD pin will output 0 continuously while in the error passive
state. To stop continuous 0 output to the CAN bus, disable the HCAN by means of an error
warning interrupt or by setting the HCAN module stop mode through detection of a fixed 1
state by the HxRD pin monitor.
The HCAN stops (transmission/reception stops) when MCR0 is cleared to 0 immediately after
an HCAN sleep mode transition effected by setting TXPR of the HCAN to 1 and setting
MCR5 to 1. When a transition is made to the HCAN sleep mode by means of the above steps,
a 10-cycle wait should be inserted after the TxPR setting. After an HCAN sleep mode
transition, release the HCAN sleep mode by clearing MCR5 to 0.
If all the following conditions are met when cancellation of a transmission message is
performed by means of TxCR of the HCAN, the TxCR or TxPR bit indicating cancellation is
not cleared even though internal transmission is canceled.
When canceling a message using TxCR, 1 should be written continuously until TxCR or TxPR
becomes 0.
If TxPR is set before the HCAN goes to the bus off state, and a transition is made to the bus
off state with transmission incomplete, cancellation will be performed even if TxCR is set
during the bus off period, and the message will be transmitted after a transition to the error
active state.
Section 15 Controller Area Network (HCAN)
Rev. 5.00 Sep 22, 2005 page 597 of 1136
REJ09B0257-0500

Related parts for h8s-2646