
Synchronous Serial Interface (SSI)
24-48
Freescale Semiconductor
The SSI_RCR[RXEXT] bit controls receive data extension. Transmit data used with lsb alignment has no
concept of sign/zero-extension. Unused bits above the most significant bit are simply ignored.
When configured in I
2
S or AC97 mode, the SSI forces the lsb alignment. However, the
SSI_RCR[RXEXT] bit chooses zero-extension or sign-extension.
Refer to
Section 24.3.10, “SSI Transmit Configuration Register (SSI_TCR),”
Receive Configuration Register (SSI_RCR),”
for more detail on the relevant bits in the SSI_TCR and
SSI_RCR registers.
24.4.5
Receive Interrupt Enable Bit Description
If the receive FIFO is not enabled, an interrupt occurs when the corresponding SSI receive data ready
(SSI_ISR[RDR0/1]) bit is set. If the receive FIFO is enabled and the RIE and RE bit are set, the processor
is interrupted when either of the SSI receives FIFO full (SSI_ISR[RFF0/1]) bits is set. When the receive
FIFO is enabled, a maximum of eight values are available to be read (eight values per channel in
two-channel mode). If not enabled, one value can be read from the SSI_RX register (one each in
two-channel mode).
If the RIE bit is cleared, these interrupts are disabled. However, the RFF0/1 and RDR0/1 bits indicate the
receive data register full condition. Reading the SSI_RX registers clears the RDR bits, thus clearing the
pending interrupt. Two receive data interrupts (two per channel in two-channel mode) are available:
receive data with exception status and receive data without exception.
shows the conditions
these interrupts are generated.
24.4.6
Transmit Interrupt Enable Bit Description
The SSI transmit interrupt enable (TIE) bit controls interrupts for the SSI transmitter. If the transmit FIFO
is enabled and the TIE and TE bits are set, the processor is interrupted when either of the SSI transmit FIFO
empty (SSI_ISR[TFE0/1]) flags is set. If the corresponding transmit FIFO is not enabled, an interrupt is
generated when the corresponding SSI_ISR[TDE0/1] flag is set and transmit enable (TE) bit is set.
When transmit FIFO 0 is enabled, a maximum of eight values can be written to the SSI (eight per channel
in two-channel mode using Tx FIFO 1). If not enabled, then one value can be written to the SSI_TX0
register (one per channel in two-channel mode using SSI_TX1). When the TIE bit is cleared, all transmit
interrupts are disabled. However, the TDE0/1 bits always indicate the corresponding SSI_TX register
Table 24-25. SSI Receive Data Interrupts
Interrupt
RIE
ROEn
RFFn/RDRn
Receive Data 0 Interrupts (n = 0)
Receive Data 0 (with exception status)
1
1
1
Receive Data 0 (without exception)
1
0
1
Receive Data 1 Interrupts (n = 1)
Receive Data 1 (with exception status)
1
1
1
Receive Data 1 (without exception)
1
0
1
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...