
86
4958B–AUTO–11/10
Atmel ATA6285/ATA6286 [Preliminary]
3.13.5.5
Modulator Synchronous Serial Interface (SSI)
The Synchronous Serial Interface (SSI) allows synchronous data transfer between the ATA6289
and the peripheral devices and also the generation of Biphase code, Manchester code or PWM
code together with the serial data output into a continuous serial stream of data. The SSI consist
a 8-bit shift register (SR), a SSI I/O data register (T2MDR), a mode register (T2MRB), a status
register (T2IFR), an interrupt mask register (T2IMR), an input clock (CLK
T2), two serial data I/O
lines (SI and SO), a shift clock I/O line (SCLK) and three different interrupt request signals
(T2RXB, T2TXB, T2TXC). The
Figure 3-34 shows the Synchronous Serial Interface (SSI).
The SSI includes following features:
Full-duplex, Three-wire Synchronous Data Transfer
Only Master Operation
MSB First Data Transfer
Generation of a Continuous Serial Stream of Data
End of Transmission Interrupt Flag
Figure 3-34. Synchronous Serial Interface (SSI)
The SSI contains a 8-bit shift register with two associated 8-bit buffers - the receive buffer
T2MDR (RXD) to capture incoming serial data and a transmit buffer T2MDR (TXD) to store the
data for the serial data output. Both buffers share the same I/O addresses labeled as Timer2
Modulator Data Register or T2MDR and can be directly accessed by software. The SSI automat-
ically controls the data transfer between transmit and receive buffer and the 8-Bit shift register.
In that way either single byte transfers or continuous bit streams can be supported.
The SSI is always master. The required clock for the data interchange is accessible on the
SCLK line from the Timer2/counter2 stage output clock (CLK
T2). SCLK is half the clock of CLKT2.
With this additional division by 2 we ensure a duty cycle of 50% for SCLK which is important for
Slave on the Serial data Output line (SO), and from Slave to Master on the serial data Input line
(SI). Serial data is organized in 8-bit telegrams which are shifted with the most significant bit
(MSB) first.
T2IFR
T2IMR
MSB
T2RXB
T2TXB
SCLK
CLKT2
SI
SO
T2TXC
LSB
8-Bit Shift Register (SR)
SSI-Control
T2MRB
T2MDR(TXD)
T2MDR(RXD)