h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 727

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 16 Controller Area Network (HCAN)
16.5
Usage Notes
(1) Reset
The HCAN is reset by a reset, and in hardware standby mode and software standby mode. All the
registers are initialized in a reset, but mailboxes (message control (MCx[x])/message data
(MDx[x]) are not. However, after powering on, mailboxes (message control (MCx[x])/message
data (MDx[x]) are initialized, and their values are undefined. Therefore, mailbox initialization
must always be carried out after a reset or a transition to hardware standby mode or software
standby mode. Also, the reset interrupt flag (IRR0) is always set after reset input or recovery from
software standby mode. As this bit cannot be masked in the interrupt mask register (IMR), if
HCAN interrupts are set as enabled by the interrupt controller without this flag having been
cleared, an HCAN interrupt will be initiated immediately. IRR0 must therefore be cleared during
initialization.
(2) HCAN sleep mode
The bus operation interrupt flag (IRR12) in the interrupt register (IRR) is set by bus operation in
HCAN sleep mode. Therefore, this flag is not used by the HCAN to indicate sleep mode release.
Also note that the reset status bit (GSR3) in the general status register (GSR) is set in sleep mode.
(3) Interrupts
When the mailbox interrupt mask register (MBIMR) is set, the interrupt register (IRR8,2,1) is not
set by reception completion, transmission completion, or transmission cancellation for the set
mailboxes.
(4) Error counters
In the case of error active and error passive, REC and TEC normally count up and down. In the
bus off state, 11-bit recessive sequences are counted (REC + 1) using REC. If REC reaches 96
during the count, IRR4 and GSR1 are set.
(5) Register access
Byte or word access can be used on all HCAN registers. Longword access cannot be used.
(6) HCAN medium-speed mode
HCAN registers cannot be read or written to in medium-speed mode.
Rev. 6.00 Feb 22, 2005 page 667 of 1484
REJ09B0103-0600

Related parts for h8s-2635