13-47
13
32180 Group User’s Manual (Rev.1.0)
13.2 CAN Module Related Registers
CAN MODULE
13.2.11 CAN DMA Transfer Request Select Registers
CAN0 DMA Transfer Request Select Register (CAN0DMARQ) <Address: H’0080 1019>
123456b7b0
CDMSEL1 CDMSEL0
00
<After reset: H’00>
b Bit Name Function R W
0–5 No function assigned. Fix to "0". 00
6 CDMSEL1 0: Slot 1 transmission failed R W
CAN DMA1 transfer request source select bit 1: Slot 14 transmission/reception completed
7 CDMSEL0 0: Slot 0 transmission failed R W
CAN DMA0 transfer request source select bit 1: Slot 15 transmission/reception completed
CAN0 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 6)
This bit selects one of the following two as the cause or source of a transfer request to DMA2.
• 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 14 transmission/reception completed
If the CDMSEL1 bit is set to "1", a transfer request is generated when transmission/reception in slot 14
is completed.
Notes: • If slot 14 has been set for remote frame transmission, a DMA transfer request is generated
when remote frame transmission is completed as well as when data frame reception is
completed.
• If slot 14 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.
Note: • CAN1 does not have the DMA transfer request function.
(2) CDMSEL0 (CAN DMA0 Transfer Request Source Select) bit (Bit 7)
This bit selects one of the following two as the cause or source of a transfer request to DMA0.
• 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 15 transmission/reception completed
If the CDMSEL0 bit is set to "1", a transfer request is generated when transmission/reception in slot 15
is completed.
Notes: • If slot 15 has been set for remote frame transmission, a DMA transfer request is generated
when remote frame transmission is completed as well as when data frame reception is
completed.
• If slot 15 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.