![Micronas SDA 6000 Скачать руководство пользователя страница 247](http://html1.mh-extra.com/html/micronas/sda-6000/sda-6000_user-manual_1787802247.webp)
SDA 6000
PRELIMINARY DATA SHEET
Version 2.1
Peripherals
7 - 89
Micronas
the slave device from which it expects data either by separate select lines, or by
sending a special command to this slave.
After performing all necessary initializations of the SSC0, the serial interfaces can be
enabled. In a master device, the alternate clock line will now go to its programmed
polarity. The alternate data line will go to either ‘0’ or ‘1’, until the first transfer starts. After
a transfer, the alternate data line will always remain at the logic level of the last
transmitted data bit.
When the serial interfaces are enabled, the master device can initiate the first data
transfer by writing the transmit data into register SSCTB. This value is copied into the
shift register (which is assumed to be empty at this time), and the selected first bit of the
transmit data will be placed onto the MTSR line on the next clock to the baud rate
generator (transmission only starts, if SSC0EN = ‘1’). Depending on the selected clock
phase, a clock pulse will also be generated on the SCLK line. With the opposite clock
edge the master simultaneously latches and shifts in the data detected at its input line
MRST. This ‘exchanges’ the transmit data with the receive data. Since the clock line is
connected to all slaves, their shift registers will be shifted synchronously with the
master’s shift register, shifting out the data contained in the registers, and shifting in the
data detected at the input line. After the pre-programmed number of clock pulses (via the
data width selection) the data transmitted by the master is contained in all slaves’ shift
registers, while the master’s shift register holds the data of the selected slave. In the
master and all the slaves, the content of the shift register is copied into the receive buffer
SSCRB and the receive interrupt line SSC0RIR is activated.
A slave device will immediately output the selected first bit (MSB or LSB of the transfer
data) at pin MRST, when the content of the transmit buffer is copied into the slave’s shift
register. It will not wait for the next clock from the baud rate generator, as the master
does. The reason for this is that, depending on the selected clock phase, the first clock
edge generated by the master may be already used to clock in the first data bit. So the
slave’s first data bit must already be valid at this time.
Note: On the SSC0 a transmission
and
a reception always takes place at the same time,
regardless whether valid data has been transmitted or received.
The initialization of the SCLK pin
on the master requires some attention in order to
avoid undesired clock transitions, which may disturb the other receivers. The state of the
internal alternate output lines is ‘1’ as long as the SSC is disabled. This alternate output
signal is ANDed with the respective port line output latch. Enabling the SSC with an idle-
low clock (SSC0PO = ‘0’) will immediately drive the alternate data output and (via the
AND) the port pin SCLK low. To avoid this, the following sequence should be used:
• select the clock idle level (SSC0PO = ‘x’)
• load the port output latch with the desired clock idle level
• switch the pin to output
• enable the SSC0 (SSC0EN = ‘1’)
• if SSC0PO = ‘0’: enable alternate data output
Содержание SDA 6000
Страница 3: ...Contents Overview...
Страница 21: ...Pin Description...
Страница 22: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Pin Descriptions 2 3 Micronas 2 Pin Descriptions...
Страница 29: ...Architectural Overview...
Страница 33: ...C16X Microcontroller...
Страница 34: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 C16X Microcontroller 4 3 Micronas 4 C16X Microcontroller...
Страница 88: ...Interrupt and Trap Function...
Страница 122: ...System Control Configuration...
Страница 159: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 System Control Configuration 6 40 Micronas...
Страница 160: ...Peripherals...
Страница 282: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Peripherals 7 124 Micronas...
Страница 283: ...Clock System...
Страница 284: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Clock System 8 3 Micronas 8 Clock System...
Страница 288: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Clock System 8 8 Micronas...
Страница 289: ...Sync System...
Страница 290: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Sync System 9 3 Micronas 9 Sync System...
Страница 301: ...Display Generator...
Страница 302: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Display Generator 10 3 Micronas 10 Display Generator...
Страница 348: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Display Generator 10 50 Micronas...
Страница 349: ...D A Converter...
Страница 352: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 D A Converter 11 6 Micronas...
Страница 353: ...Slicer and Acquisition...
Страница 354: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Slicer and Acquisition 12 3 Micronas 12 Slicer and Acquisition...
Страница 381: ...Register Overview...
Страница 398: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Register Overview 13 20 Micronas...
Страница 399: ...Elelctrical Characteristics...
Страница 400: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Electrical Characteristics 14 3 Micronas 14 Electrical Characteristics...
Страница 411: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Electrical Characteristics 14 14 Micronas...