
639
Chapter 16
FCAN Controller
User’s Manual U16702EE3V2UD00
Figure 16-53:
Transmit History List
16.10.3 Automatic block transmission (ABT)
The automatic block transmission (ABT) function is used to transmit two or more data frames succes-
sively with no CPU interaction. The maximum number of transmit message buffers assigned to the ABT
function is eight (message buffer numbers 0 to 7).
By setting OPMODE[2:0] of the CnCTRL register to 010B, “normal operation mode with automatic block
transmission function” (hereafter referred to as ABT mode) can be selected.
To issue an ABT transmission request, define the message buffers by software first. Set the MA0 bit (1)
in all the message buffers used for ABT, and define all the buffers as transmit message buffers by set-
ting the MT[2:0] bits to 000B. Be sure to set the same ID for the message buffers for ATB even when
that ID is being used for all the message buffers. To use two or more IDs, set the ID of each message
buffer by using the CnMIDLm and CnMIDHm registers. Set the CnMDLCm and CnMDATA0m to
CnMDATA7m registers before issuing a transmission request for the ABT function.
After initialization of message buffers for ABT is finished, the RDY bit needs to be set (1). In the ABT
mode, the TRQ bit does not have to be manipulated by software.
After the data for the ABT message buffers has been prepared, set the ABTTRG bit to 1. Automatic
block transmission is then started. When ABT is started, the TRQ bit in the first message buffer (mes-
sage buffer 0) is automatically set to 1. After transmission of the data of message buffer 0 is finished,
TRQ of the next message buffer, message buffer 1, is set automatically. In this way, transmission is exe-
cuted successively.
A delay time can be inserted by program in the interval in which the transmission request (TRQ) is auto-
matically set while successive transmission is being executed. The delay time to be inserted is defined
by the CnGMABTD register. The unit of the delay time is DBT (data bit time). DBT depends on the set-
ting of the CnBRP and CnBTR registers.
Last out-
message
pointer
(LOPT)
- CPU confirms Tx completion
of message buffer 6, 9, and 2.
- Tx completion of message
buffer 3, and 4.
Event:
Transmit
history list
get pointer
(TGPT)
- Message buffer 8, 5, 6, and 10 completes transmission.
- THL is full.
- TOVF bit is set to 1.
Event:
Transmit history list (THL)
Message buffer 6
Message buffer 9
Message buffer 2
Message buffer 7
0
1
2
3
4
5
6
7
- Message buffer11, 13, and 14
completes transmission.
- Overflow situation occurs.
Event:
TOVF bit = 1
LOPT is blocked
TOVF bit = 1
LOPT is blocked
TOVF bit = 1 denotes that LOPT equals TGPT - 1 while message buffer number stored to element indicated by LOPT - 1.
Last out-
message
pointer
(LOPT)
Transmit
history list
get pointer
(TGPT)
Transmit history list (THL)
Message buffer 7
Message buffer 3
Message buffer 4
0
1
2
3
4
5
6
7
Transmit history list (THL)
Message buffer 6
Message buffer 10
Message buffer 7
Message buffer 3
Message buffer 4
Message buffer 8
Message buffer 5
0
1
2
3
4
5
6
7
Last out-
message
pointer
(LOPT)
Transmit
history list
get pointer
(TGPT)
Transmit history list (THL)
Message buffer 6
Message buffer 14
Message buffer 7
Message buffer 3
Message buffer 4
Message buffer 8
Message buffer 5
0
1
2
3
4
5
6
7
Last out-
message
pointer
(LOPT)
Transmit
history list
get pointer
(TGPT)
electronic components distributor
Содержание V850E/RS1
Страница 6: ...6 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 206: ...206 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 232: ...232 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 366: ...366 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 402: ...402 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 684: ...684 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 766: ...766 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 798: ...798 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 832: ...832 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 834: ...834 User s Manual U16702EE3V2UD00 MEMO Downloaded from Elcodis com electronic components distributor...
Страница 848: ...848 User s Manual U16702EE3V2UD00 Downloaded from Elcodis com electronic components distributor...
Страница 852: ...Downloaded from Elcodis com electronic components distributor...