ATA6020N ATMEL Corporation, ATA6020N Datasheet - Page 44

no-image

ATA6020N

Manufacturer Part Number
ATA6020N
Description
Low-current Microcontroller For Watchdog Function
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATA6020N
Manufacturer:
ATMEL
Quantity:
28
Part Number:
ATA6020N
Manufacturer:
ST
0
Part Number:
ATA6020N
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATA6020N-020-TKQY
Manufacturer:
ATMEL
Quantity:
230
Part Number:
ATA6020N-020-TKQY
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
5.2.7.4
44
ATA6020N
8-bit Synchronous Mode
Figure 5-24. 8-bit Synchronous Mode
In the 8-bit synchronous mode, the SSI can operate as either a 2- or 3-wire interface (see sec-
tion
in NRZ format, synchronized to either the rising or falling edge of the shift clock (SC). The choice
of clock edge is defined by the Serial Mode Control bits (SM0, SM1). It should be noted that the
transmission edge refers to the SC clock edge with which the SD changes. To avoid clock skew
problems, the incoming serial input data is shifted in with the opposite edge.
When used together with one of the timer modulator or demodulator stages, the SSI must be set
in the 8-bit synchronous mode 1.
In RX mode, as soon as the SSI is activated (SIR = 0), 8 shift clocks are generated and the
incoming serial data is shifted into the shift register. This first telegram is automatically trans-
ferred into the receive buffer and the SRDY flag is set to 0 indicating that the receive buffer
contains valid data. At the same time an interrupt (if enabled) is generated. The SSI then contin-
ues shifting in the following 8-bit telegram. If, during this time the first telegram has been read by
the controller, the second telegram will also be transferred in the same way into the receive
buffer and the SSI will continue clocking in the next telegram. Should, however, the first tele-
gram not have been read (SRDY = 1), then the SSI will stop, temporarily holding the second
telegram in the shift register until a certain point in time when the controller is able to service the
receive buffer. In this way no data is lost or overwritten.
Deactivating the SSI (SIR = 1) in mid-telegram will immediately stop the shift clock and latch the
present contents of the shift register into the receive buffer. This can be used for clocking in a
data telegram of less than 8 bits in length. Care should be taken to read out the final complete
8-bit data telegram of a multiple word message before deactivating the SSI (SIR = 1) and termi-
nating the reception. After termination, the shift register contents will overwrite the receive
buffer.
“SSI Peripheral Configuration” on page
(falling edge)
(rising edge)
SD/TO2
DATA
SC
SC
Data: 00110101
Bit 7
Bit 7
0
0
0
0
1
1
42). The serial data (SD) is received or transmitted
1
1
0
0
1
1
0
0
Bit 0
Bit 0
1
1
4708D–4BMCU–09/05

Related parts for ATA6020N