TC1784
Asynchronous/Synchronous Serial Interface (ASC)
User´s Manual
16-18
V1.1, 2011-05
ASC, V1.6
For single transfers, it is sufficient to use the transmitter interrupt (TIR), which indicates
that the previously loaded data has been transmitted, except for the last bit of an
asynchronous frame.
For multiple back-to-back transfers, it is necessary to load the following piece of data at
least before the last bit of the previous frame has been transmitted. In Asynchronous
Mode, this leaves just one bit-time for the handler to respond to the transmitter interrupt
request; in Synchronous Mode, it is entirely impossible.
Using the Transmit Buffer Interrupt (TBIR) to reload transmit data provides the time
necessary to transmit a complete frame for the service routine, as TBUF may be
reloaded while the previous data is still being transmitted.
Figure 16-10 ASC Interrupt Generation
As shown in
, TBIR is an early trigger for the reload routine, while TIR
indicates the completed transmission. Software using handshake should, therefore, rely
on TIR at the end of a data block to ensure that all data has been transmitted.
Idle
St
ar
t
Stop
St
ar
t
Stop
St
ar
t
Stop
Idle
MCT06209
Asynchronous Mode
TBIR
TBIR
TIR
RIR
TBIR
TIR
TIR
RIR
RIR
Idle
Idle
TBIR
TBIR
TIR
TBIR
TIR
TIR
RIR
RIR
RIR
Synchronous Mode
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...