TC1784
Synchronous Serial Interface (SSC)
User´s Manual
17-25
V1.1, 2011-05
SSC, V1.5
Figure 17-13 Queued SSC Mode Control
Application for Queued SSC Mode
Example
: the SSC operates in master mode and controls multiple SSC slave devices
with different frame settings and baud rates.
For controlling such an application task, that can be time critical when CPU is used for
SSC control, the queued SSC mode is applicable. In this case, the control and data
handling for an SSC slave is handled by three DMA channels.
•
DMA Channel 1
One DMA transaction consists of four consecutive DMA write transfers, programming
registers CON, BR, SSOC, and SSOTC. All these registers are on consecutive
addresses with an offset of 4.
With the CON write operation, CON.EN is set to 0 (SSC disabled). The BR, SSOC,
and SSOTC write operations program the SSC slave parameters such as baud rate,
frame layout, and slave select output timing. The fourth write operation to SSOTC
enables again the SSC by writing SSOTC.QSMEN = 1 and SSOTC.EN = 1. After
DMA channel 1 has finished this 4-byte control setup transaction it can be
programmed to start automatically data transactions via DMA channel 2 or 3
(depending on the application).
•
DMA Channel 2
This DMA channel is setup to write the transmit buffer register TB.
•
DMA Channel 3
This DMA channel is setup to read the receive buffer register RB.
Depending on the details of the application, the write or read DMA channel may be
unnecessary.
SSC_qsm
CON.EN
Enable/Disable
Receiver /
Transmitter
SSOTC
&
EN QSM
EN
Shadow Latch
SLSO
7MOD
LEAD
TRAIL
INACT
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...