Synchronous Serial Interface (SSI)
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
25-41
The following settings are done automatically by the processor when in I
2
S slave mode:
•
Normal mode is selected (SSI_CR[NET] = 0)
•
Tx frame sync length set to one-bit-long-frame (SSI_TCR[TFSL] = 1)
•
Rx frame sync length set to one-bit-long-frame (SSI_RCR[RFSL] = 1)
•
Tx shifting w.r.t. bit 0 of TXSR (SSI_TCR[TXBIT0] = 1)
•
Rx shifting w.r.t. bit 0 of RXSR (SSI_RCR[RXBIT0] = 1)
Set the SSI_CCR[WL, DC] bits to configure the data transmission.
The word length is variable in I
2
S slave mode and the WL bits determine the number of bits that contain
valid data. The actual word length is determined by the external codec. The external I
2
S master sends a
frame sync according to the I
2
S protocol (early, word wide, and active low). The SSI internally operates
so each frame sync transition is the start of a new frame (the WL bits determine the number of bits to be
transmitted/received). After one data word has been transferred, the SSI waits for the next frame sync
transition to start operation in the next time slot. Transmit and receive mask bits should not be used in I
2
S
slave mode.
25.4.1.5
AC97 Mode
In AC97 mode, SSI transmits a 16-bit tag slot at the start of a frame and the rest of the slots (in that frame)
are all 20-bits wide. The same sequence is followed while receiving data. Refer to the AC97 specification
for details regarding transmit and receive sequences and data formats.
NOTE
Since the SSI has only one RxDATA pin, only one codec is supported.
Secondary codecs are not supported.
When AC97 mode is enabled, the hardware internally overrides the following settings. The programmed
register values are not changed by entering AC97 mode, but they no longer apply to the module’s
operation. Writing to the programmed register fields updates their values. These updates can be seen by
reading back the register fields. However, these settings do not take effect until AC97 mode is turned off.
The register bits within the bracket are equivalent settings.
•
Synchronous mode is entered (SSI_CR[SYN] = 1)
•
Network mode is selected (SSI_CR[NET] = 1)
•
Tx shift direction is msb transmitted first (SSI_TCR[TSHFD] = 0)
•
Rx shift direction is msb received first (SSI_RCR[RSHFD] = 0)
•
Tx data is clocked at rising edge of the clock (SSI_TCR[TSCKP] = 0)
•
Rx data is latched at falling edge of the clock (SSI_RCR[RSCKP] = 0)
•
Tx frame sync is active high (SSI_TCR[TFSI] = 0)
•
Rx frame sync is active high (SSI_RCR[RFSI] = 0)
•
Tx frame sync length is one-word-long-frame (SSI_TCR[TFSL] = 0)
•
Rx frame sync length is one-word-long-frame (SSI_RCR[RFSL] = 0)
•
Tx frame sync initiated one bit before data is transmitted (SSI_TCR[TEFS] = 1)
Содержание 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...