
Preliminary User’s Manual U16541EJ1V0UM
15
19.8
CAN Controller Initialization................................................................................................. 665
19.8.1
Initialization of CAN module .................................................................................................... 665
19.8.2
Initialization of message buffer................................................................................................ 665
19.8.3
Transition from INIT mode in operational mode ...................................................................... 666
19.8.4
Resetting of CAN module error counter C0ERC in INIT mode................................................ 667
19.9
Message Reception ............................................................................................................... 668
19.9.1
Message reception .................................................................................................................. 668
19.9.2
Receive history list function..................................................................................................... 668
19.9.3
Mask function .......................................................................................................................... 672
19.9.4
Multi buffer receive block function ........................................................................................... 673
19.9.5
Remote frame reception .......................................................................................................... 673
19.10 Message Transmission ......................................................................................................... 675
19.10.1 Message transmission............................................................................................................. 675
19.10.2 Transmit history list function.................................................................................................... 677
19.10.3 Automatic block transmission (ABT) ....................................................................................... 680
19.10.4 Transmission request abort process ....................................................................................... 680
19.11 Power Saving Modes............................................................................................................. 682
19.11.1 CAN sleep mode ..................................................................................................................... 682
19.11.2 CAN stop mode ....................................................................................................................... 682
19.12 Interrupt Function.................................................................................................................. 684
19.12.1 Interrupts generated by CAN module ...................................................................................... 684
19.13 Diagnosis Functions and Special Operational Modes....................................................... 685
19.13.1 Receive-only mode.................................................................................................................. 685
19.13.2 Single-shot mode .................................................................................................................... 686
19.13.3 Self-test mode ......................................................................................................................... 687
19.14 Time Stamp Function ............................................................................................................ 688
19.14.1 Basic time stamp function ....................................................................................................... 688
19.15 Rules for Setting Baud Rate ................................................................................................. 689
19.16 Operation of CAN Controller ................................................................................................ 693
CHAPTER 20 DMA FUNCTIONS (DMA CONTROLLER) .................................................................. 715
20.1
Features.................................................................................................................................. 715
20.2
Configuration ......................................................................................................................... 716
20.3
Control Registers .................................................................................................................. 717
20.3.1
DMA source address registers 0 to 3 (DSA0 to DSA3) ........................................................... 717
20.3.2
DMA destination address registers 0 to 3 (DDA0 to DDA3) .................................................... 718
20.3.3
DMA byte count registers 0 to 3 (DBC0 to DBC3)................................................................... 719
20.3.4
DMA addressing control registers 0 to 3 (DADC0 to DADC3)................................................. 720
20.3.5
DMA channel control registers 0 to 3 (DCHC0 to DCHC3) ..................................................... 721
20.3.6
DMA trigger factor registers 0 to 3 (DTFR0 to DTFR3) ........................................................... 722
20.4
DMA Bus States..................................................................................................................... 725
20.4.1
Types of bus states ................................................................................................................. 725
20.4.2
DMAC bus cycle state transition ............................................................................................. 726
20.5
Transfer Mode........................................................................................................................ 727
20.5.1
Single transfer mode ............................................................................................................... 727
20.6
Transfer Types....................................................................................................................... 727
20.6.1
Two-cycle transfer ................................................................................................................... 727