ATAM894X-TNQY ATMEL [ATMEL Corporation], ATAM894X-TNQY Datasheet - Page 67

no-image

ATAM894X-TNQY

Manufacturer Part Number
ATAM894X-TNQY
Description
8k-flash Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
6.3.4.9
6.3.4.10
Figure 6-47. SSI Output Masking Function
4679D–4BMCU–05/05
Modulation and Demodulation
Internal 2-wire Multi-chip Link
T1OUT
SYSCL
POUT
TOG2
SCL
If the shift register is used together with Timer 2 or Timer 3 for modulation or demodulation pur-
poses, the 8-bit synchronous mode must be used. In this case, the unused Port 4 pins can be
used as conventional bi-directional ports.
The modulation and demodulation stages, if enabled, operate as soon as the SSI is activated
(SIR = 0) and cease when deactivated (SIR = 1).
Due to the byte-orientated data control, the SSI (when running normally) generates serial bit
streams which are submultiples of 8 bits. An SSI output masking (OMSK) function permits, how-
ever, the generation of bit streams of any length. The OMSK signal is derived indirectly from the
4-bit prescaler of the Timer 2 and masks out a programmable number of unrequired trailing data
bits during the shifting out of the final data word in the bit stream. The number of non-masked
data bits is defined by the value pre-programmed in the prescaler compare register. To use out-
put masking, the modulator stop mode bit (MSM) must be set to '0' before programming the final
data word into the SSI transmit buffer. This in turn, enables shift clocks to the prescaler when
this final word is shifted out. On reaching the compare value, the prescaler triggers the OMSK
signal and all following data bits are blanked.
Two additional on-chip pads (MCL_SC and MCL_SD) for the SC and the SD line can be used as
chip-to-chip link for multi-chip applications. These pads can be activated by setting the MCL bit
in the SISC register. They are also used as interface to the internal data EEPROM
Figure 6-46. Multi-chip Link
/2
SC
CL2/1
Shift_CL
4-bit counter 2/1
Compare 2/1
SO
BP40/SC
CM1
MSB
BP10
V
DD
Timer 2
SSI-control
8-bit shift register
MCL_SC
Microcontroller
SCL
U505M
SDA
MCL_SD
Multi-chip link
LSB
Control
V
BP43/SD
BP13
OMSK
SS
SI
Output
SO
ATAM894
67

Related parts for ATAM894X-TNQY