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

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
Section 15 Controller Area Network (HCAN)
Clearing the IRR0 bit of the Interrupt Register (IRR): The reset interrupt flag (IRR0) is
always set after a reset or recovery from software standby mode. A HCAN interrupt is
immediately entered if interrupts are enabled, so the IRR0 must be cleared.
Bit Rate and Bit Timing Settings: As bit rate settings, a baud rate setting and bit timing setting
must be made each time a CAN node begins communication. The baud rate and bit timing settings
are made in the bit configuration register (BCR).
Note: BCR can be written to at all times, but should only be modified in configuration mode.
Table 15.3 BCR Register Value Setting Ranges
Value Setting Ranges
• The value of SJW is stipulated in the CAN specifications.
• The minimum value of TSEG1 is stipulated in the CAN specifications.
• The minimum value of TSEG2 is stipulated in the CAN specifications.
Rev. 5.00 Sep 22, 2005 page 574 of 1136
REJ09B0257-0500
Name
Time segment 1
Time segment 2
Baud rate prescaler
Sample point
Re-synchronization jump width
Refer to table 15.3 for the range of values that can be used as settings (TSEG1, TSEG2,
BRP, sample point, and SJW) for BCR.
Settings should be made so that all CAN controllers connected to the CAN bus have the
same baud rate and bit width.
3 ≥ SJW ≥ 0
TSEG1 > TSEG2
TSEG2 ≥ SJW
Abbreviation
TSEG1
TSEG2
BRP
SJW
SAM
Min.
Value
B'0011
B'001
B'000000 B'111111
B'0
B'00
Max.
Value
B'1111
B'111
B'1
B'11

Related parts for h8s-2646