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

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
Initialization (After Hardware Reset Only): These settings should be made while the HCAN is
in bit configuration mode.
• IRR0 clearing
• Bit rate settings
• Mailbox transmit/receive settings
• Mailbox (RAM) initialization
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.
Set values relating to the CAN bus communication speed and resynchronization. Refer to Bit
Rate and Bit Timing Settings in section 15.3.2, Initialization after Hardware Reset, for details.
Each channel has one receive-only mailbox (mailbox 0) plus 15 mailboxes that can be set for
reception. Thus a total of 16 mailboxes can be used for reception. To set a mailbox for
reception, set the corresponding bit to 1 in the mailbox configuration register (MBCR). The
initial setting for mailboxes is 0, designating transmission use. Refer to Mailbox
transmit/receive settings in section 15.3.2, Initialization after Hardware Reset, for details.
As message control/data registers (MCx[x], MDx[x]) are configured in RAM, their initial
values after powering on are undefined, and so bit initialization is necessary. Write 0s or 1s to
the mailboxes. Refer to Mailbox (message control/data (MCx[x], MDx[x])) initial settings in
section 15.3.2, Initialization after Hardware Reset, for details.
Section 15 Controller Area Network (HCAN)
Rev. 5.00 Sep 22, 2005 page 585 of 1136
REJ09B0257-0500

Related parts for h8s-2646