M30845FJGP#U3 Renesas Electronics America, M30845FJGP#U3 Datasheet - Page 348
Manufacturer Part Number
IC M32C MCU FLASH 512K 144LQFP
Renesas Electronics America
Specifications of M30845FJGP#U3
CAN, I²C, IEBus, SIO, UART/USART
DMA, PWM, WDT
Number Of I /o
Program Memory Size
512KB (512K x 8)
Program Memory Type
24K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
A/D 34x10b, D/A 2x8b
-40°C ~ 85°C
Package / Case
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Renesas Electronics America
126.96.36.199 RESET1 and RESET0 Bits
188.8.131.52 LOOPBACK Bit
184.108.40.206 BASICCAN Bit
When both RESET1 and RESET0 bits are set to "1" (CAN module reset), the CAN module is imme-
diately reset regardless of ongoing CAN communication.
After the RESET1 and RESET0 bits are set to "1" and the CAN module reset is completed, the
C0TSR register is set to "0000
STATE_ERRPAS and STATE_BUSOFF bits in the C0STR register are set to "0" as well.
When both RESET1 and RESET0 bit settings are changed "1" to "0", the C0TSR register starts
counting. CAN communication is available after 11 continuous recessive bits are detected.
When the LOOPBACK bit is set to "1" (loopback function enabled) and the receive message slot has
a matched ID and frame format with a transmitted frame, the transmitted frame is stored to the
receive message slot.
When the BASICCAN bit is set to "1", the message slots 14 and 15 enter BasicCAN mode.
In BasicCAN mode, the message slots 14 and 15 are used as dual-structured buffers. The message
slots 14 and 15 alternately store a received frame having matched ID detected by acceptance filtering.
ID in the message slot 14 and the C0LMAR0 to C0LMAR4 registers are used for acceptance filtering
when the message slot 14 is active (the next received frame is to be stored in the message slot 14).
ID in the message slot 15 and the C0LMBR0 to C0LMBR4 registers are used when the message slot
15 is active. Both data frame and remote frame can be received.
Use the following procedure to enter BasicCAN mode.
(1) Set the BASICCAN bit to "1".
(2) Set the same value into IDs in the message slots 14 and 15.
(3) Set the same value in the C0LMAR0 to C0LMAR4 registers and C0LMBR0 to C0LMBR4 regis-
(4) Set the IDE14 and IDE15 bits in the C0IDR register to select a frame format (standard or ex-
(5) Set the C0MCTL14 and C0MCTL15 registers in the message slots 14 and 15 to receive data
1. Set the same value in both RESET1 and RESET0 bits simultaneously.
2. Confirm that the STATE_RESET bit in the C0STR register is set to "1" (CAN module reset
3. The CAN
4. For CAN communication, set the PS1, PS2, PSL1, PSL2, PSC, PSC2, IPS, PD7 and PD8
1. No ACK for the transmitted frame is returned.
2. Change the LOOPBACK bit setting only when the STATE_RESET bit is set to "1" (CAN module
tended) for the message slots 14 and 15. (Set to the same format.)
completed) after setting the RESET1 and RESET0 bits to "1".
set to "1". CAN bus error may occur when the RESET1 and RESET0 bits are set to "1" while the
CAN frame is transmitting.
registers when the STATE_RESET bit is set to "1" (CAN module reset completed).
pin puts out a high-level ("H") signal as soon as the RESET1 and RESET0 bits are
". The C0TEC and C0REC registers are set to "00
23. CAN Module
" and the