Synchronous Serial Interface (SSI)
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
25-35
To summarize, the network mode transmitter generates interrupts every enabled time slot and requires the
processor to respond to each enabled time slot. These responses may be:
•
Write data in data register to enable transmission in the next time slot.
•
Configure the time slot register to disable transmission in the next time slot (unless the time slot is
already masked by the SSI_TMASK register bit).
•
Do nothing—transmit underrun occurs at the beginning of the next time slot and the previous data
is re-transmitted.
In two channel operation, both channels (data registers, FIFOs, interrupts, and DMA requests) operate in
the same manner, as described above. The only difference is interrupts related to the second channel are
generated only if this mode of operation is selected (TDE1 is low by default).
25.4.1.2.2
Network Mode Receive
The receiver portion of the SSI is enabled when both the SSI_CR[SSI_EN and RE] bits are set. However,
the receive enable only takes place during that time slot if RE is enabled before the second to last bit of the
word. If the RE bit is cleared, the receiver is disabled at the end of the current frame. The SSI module is
capable of finding the start of the next frame automatically. When the word is completely received, it is
transferred to the SSI_RX register, which sets the RDR bit. This causes a receive interrupt to occur if the
the RIE bit is set. The second data word (second time slot in the frame) begins shifting in immediately after
the transfer of the first data word to the SSI_RX register. The processor has to read the data from the
receive data register (which clears RDR) before the second data word is completely received (ready to
transfer to RX data register) or a receive overrun error occurs (the ROE bit is set).
An interrupt can occur after the reception of each enabled data word or the user can poll the RDR flag. The
processor response can be:
•
Read RX and use the data.
•
Read RX and ignore the data.
•
Do nothing—the receiver overrun exception occurs at the end of the current time slot.
NOTE
For a continuous clock, the optional frame sync output and clock output
signals are not affected, even if transmitter or receiver is disabled. TE and
RE do not disable the bit clock or the frame sync generation. To disable the
bit clock and the frame sync generation, the SSI_CR[SSI_EN] bit can be
cleared or the port control logic external to the SSI (e.g. GPIO) can be
reconfigured.
In two channel operation, both the channels (data registers, FIFOs, interrupts, and DMA requests) operate
in the same manner as described above. The only difference is second channel interrupts are generated only
in this mode of operation.
shows the transmitter and receiver timing for an 8-bit word with continuous clock, FIFO
disabled, three words per frame sync in network mode.
NOTE
The transmitter repeats the value 0x5E because of an underrun condition.
Содержание MCF52277
Страница 1: ...MCF52277 Reference Manual Devices Supported MCF52274 MCF52277 Document Number MCF52277RM Rev 1 04 2008...
Страница 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Страница 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Страница 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Страница 112: ...Enhanced Multiply Accumulate Unit EMAC MCF52277 Reference Manual Rev 1 4 20 Freescale Semiconductor...
Страница 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Страница 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Страница 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Страница 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Страница 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 480: ...Liquid Crystal Display Controller LCDC MCF52277 Reference Manual Rev 1 21 44 Freescale Semiconductor...
Страница 510: ...Touchscreen Controller Analog to Digital Converter MCF52277 Reference Manual Rev 1 22 30 Freescale Semiconductor...
Страница 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Страница 568: ...Pulse Width Modulation PWM Module MCF52277 Reference Manual Rev 1 24 26 Freescale Semiconductor...
Страница 640: ...Programmable Interrupt Timers PIT0 PIT1 MCF52277 Reference Manual Rev 1 27 8 Freescale Semiconductor...
Страница 690: ...DMA Serial Peripheral Interface DSPI MCF52277 Reference Manual Rev 1 29 40 Freescale Semiconductor...
Страница 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Страница 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Страница 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...