12.12 Interrupt/Error Generation Timing
12.12.1 Receive Interrupts
Figure 12-13 shows the data flow of receive operation and the route of read.
Receive FIFO First stage
second stage
Third stage
Fourth stage
Receive buffer
Receive shift register
If the receive buffer is emp
t
y,
the data is moved.
If the RX FIFO is not full,
the data is moved.
(1)Reading in the single buffer configuration :
An interrupt is generated after receiving all bits.
(2)Reading in the dou
b
le buffer configuration :
An interrupt is generated when the data is moved to
the receive buffer.
(3)Reading in use the FIFO :
An interrupt is generated
When the data is moved to the FIFO
or when reading the FIFO.
R
XDx
Figure 12-13 Receive Buffer/FIFO Configuration Diagram
12.12.1.1 Single Buffer / Double Buffer
Receive interrupts are generated at the time depends on the transfer mode and the buffer configura-
tions, which are given as follows.
Table 12-7 Receive Interrupt Conditions in use of Single Buffer / Double Buffer
Buffer
Configurations
UART modes
IO interface modes
Single Buffer
−
Immediately after the raising / falling edge of the last SCLKx pin
(Rising or falling is determined according to SCxCR<SCLKS> setting.)
Double Buffer
A receive interrupt occurs when data is trans-
ferred from the receive shift register to the re-
ceive buffter.Specific timings are :
・
If data does not exist in the receive buffer,
a receive interrupt occurs in the vicinity of the
center of the 1st stop bit.
・
If data exists in both the receive shift regis-
ter and the receive buffer, a receive interrupt
occurs when the buffer is read.
A receive interrupt occurs when data is transferred from the receive shift regis-
ter to the receive buffer.Specific timings are:
・
If data does not exit int the receive buffer, a receive interrupt occurs
immedi-ately after on rising/falling edge of SCLK
x
pin of the last bit.
(The setting of rising edge or falling edge is specified with SCxCR<SCLKS>.)
・
If data exists in both the receive shift register and the receive buffer, a re-
ceive interrupt occurs when the buffer is read.
Note:
Interrupts are not generated when an over-run error is occurred.
12.12.1.2 FIFO
When the FIFO is used, a receive interrupt occurs on depending on the timing described in Table 12-8
and the condition specified with SCxRFC<RFIS>.
Table 12-8 Receive Interrupt Conditions in use of FIFO
SCxRFC<RFIS>
Interrupt conditions
Interrupt generation timing
"0"
When FIFO fill level (SCxRST<RLVL[2:0]>) = Receive
FIFO fill level to generate receive interrupt <RIL[1:0]>
・
When transfer a received data from receive buffer to receive FIFO
・
When read a receive data from receive FIFO
"1"
When FIFO fill level (SCxRST<RLVL[2:0]>) ≥ Receive
FIFO fill level to generate receive interrupt <RIL[1:0]>
・
When read a receive data from receive FIFO
TMPM3V6/M3V4
Page 251
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: ......