12.10.3.2 Transmit FIFO Operation
When FIFO is enabled, the maximum 5-byte data can be stored using the transmit buffer and FIFO.
Once transmission is enabled, data is transferred to the transmit shift register from the transmit buffer and
start transmission. If data exists in the FIFO, the data is moved to the transmit buffer immediately, and
the <TBEMP> flag is cleared to "0".
Note:
To use Transmit FIFO buffer, Transmit FIFO must be cleared after setting the SIO transfer mode
(half duplex/ full duplex) and enabling FIFO (SCxFCNF<CNFG>="1").
Settings and operations to transmit 5 bytes data stream by setting the transfer mode to half duplex are
shown as below.
SCxMOD1<FDPX[1:0]> = "10"
:Transfer mode is set to half duplex.
SCxFCNF<RFST><TFIE><RFIE>
<RXTXCNT><CNFG> = "11011"
:Transmission is automatically disabled if FIFO becomes empty.
:The number of bytes to be used in the receive FIFO is the same as the interrupt
:generation fill level.
SCxTFC<TIL[1:0]> = "00"
:Sets the interrupt generation fill level to "0".
SCxTFC<TFCS><TFIS> = "11"
:Clears receive FIFO and sets the condition of interrupt generation.
SCxFCNF<CNFG> = "1"
:Enable FIFO
After above settings are configured, data transmission can be initiated by writing 5 bytes of data to the
transmit buffer and FIFO, and setting the SCxMOD1<TXE> bit to "1". When the last transmit data is
moved to the transmit buffer, the transmit interrupt is generated. When transmission of the last data is com-
pleted, the clock is stopped and the transmission sequence is terminated.
Once above settings are configured, if the transmission is not set as auto disabled, the transmission
should lasts writing transmit data.
Transmit FIFO fourth stage
SCxMOD2<TBEMP>
DATA 5
Transmit buffer
Transmit shift register
Transmit interrupt(INTTXx)
SCxMOD1<TXE>
Third stage
Second stage
First stage
DATA 4
DATA 3
DATA 2
DATA 1
DATA 5
DATA 4
DATA 3
DATA 2
DATA 5
DATA 4
DATA 3
DATA 1
DATA 2
DATA 3
DATA 5
DATA 4
DATA 5
DATA 4
DATA 5
TMPM3V6/M3V4
Page 247
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......