![](http://datasheet.mmic.net.cn/30000/M32196F8UFP_datasheet_2359476/M32196F8UFP_688.png)
13.2 CAN Module Related Registers
CAN MODULE
13
13-70
32192/32195/32196 Group Hardware Manual
Rev.1.10 REJ09B0123-0110 Apr.06.07
13.2.11 CAN DMA Transfer Request Select Registers
CAN0 DMA Transfer Request Select Register (CAN0DMARQ)
<Address: H’0080 1019>
CAN1 DMA Transfer Request Select Register (CAN1DMARQ)
<Address: H’0080 1419>
9
10
11
12
13
14
b15
b8
CDMSEL1 CDMSEL0
00
0
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8–13
No function assigned. Fix to "0."
00
14
CDMSEL1
0: Slot 1 transmission failed
R
W
CAN DMA1 transfer request source select bit
1: Slot 30 transmission/reception completed
15
CDMSEL0
0: Slot 0 transmission failed
R
W
CAN DMA0 transfer request source select bit
1: Slot 31 transmission/reception completed
CAN0 and 1 can generate DMA transfer requests. This register is used to select the cause or source of that request.
(1) CDMSEL1 (CAN DMA1 Transfer Request Source Select) bit (Bit 14)
CAN0 and CAN1 allow DMA2 & DMA7 and DMA7 & DMA9 to generate DMA transfer requests, respec-
tively.
This bit selects one of the following two as the cause or source of a transfer request.
Slot 1 transmission failed
If the CDMSEL1 bit is set to "0," a transfer request is generated when transmission in slot 1 has failed
for reasons of arbitration-lost or transmit error.
Slot 30 transmission/reception completed
If the CDMSEL1 bit is set to "1," a transfer request is generated when transmission/reception in slot 30
is completed.
Notes: If slot 30 has been set for remote frame transmission, a DMA transfer request is gener-
ated when remote frame transmission is completed as well as when data frame reception
is completed.
If slot 30 has been set for remote frame reception (automatic response), a DMA transfer
request is generated when remote frame reception is completed as well as when data
frame transmission is completed.
(2) CDMSEL0 (CAN DMA0 Transfer Request Source Select) bit (Bit 15)
CAN0 and CAN1 allow DMA0 & DMA6 and DMA5 & DMA8 to generate DMA transfer requests, respec-
tively.
This bit selects one of the following two as the cause or source of a transfer request.
Slot 0 transmission failed
If the CDMSEL0 bit is set to "0," a transfer request is generated when transmission in slot 0 has failed
for reasons of arbitration-lost or transmit error.
Slot 31 transmission/reception completed
If the CDMSEL0 bit is set to "1," a transfer request is generated when transmission/reception in slot 31
is completed.
Notes: If slot 31 has been set for remote frame transmission, a DMA transfer request is gener-
ated when remote frame transmission is completed as well as when data frame reception
is completed.
If slot 31 has been set for remote frame reception (automatic response), a DMA transfer
request is generated when remote frame reception is completed as well as when data
frame transmission is completed.