
Synchronous Serial Interface (SSI)
Freescale Semiconductor
24-49
empty condition, even when the transmitter is disabled by the transmit enable (SSI_CR[TE]) bit. Writing
data to the SSI_TX clears the corresponding TDE bit, thus clearing the interrupt.
Two transmit data interrupts are available (two per channel in two-Channel mode): transmit data with
exception status and transmit data without exceptions.
shows the conditions under which
these interrupts are generated.
24.5
Initialization/Application Information
The following types of reset affected the SSI:
•
Power-on reset—Asserting the RESET signal generates the power-on reset. This reset clears the
SSI_CR[SSI_EN] bit, which disables the SSI. All other status and control bits in the SSI are
affected as described in
•
SSI reset—The SSI reset is generated when the SSI_CR[SSI_EN] bit is cleared. The SSI status bits
are reset to the same state produced by the power-on reset. The SSI control bits, including those in
SSI_CR, are unaffected. The SSI reset is useful for selective reset of the SSI, without changing the
present SSI control bits and without affecting the other peripherals.
The correct sequence to initialize the SSI is:
1. Issue a power-on or SSI reset (SSI_CR[SSI_EN] = 0).
2. Set all control bits for configuring the SSI (refer to
3. Enable appropriate interrupts/DMA requests through SSI_IER.
4. Set the SSI_CR[SSI_EN] bit to enable the SSI.
5. For AC97 mode, set the SSI_ACR[AC97EN] bit after programming the SSI_ATAG register (if
needed, for AC97 fixed mode).
6. Set SSI_CR[TE/RE] bits.
To ensure proper operation of the SSI, use the power-on or SSI reset before changing any of the control
bits listed in
NOTE
These control bits should not be changed when the SSI module is enabled.
Table 24-26. SSI Transmit Data Interrupts
Interrupt
TIE
TUEn
TFEn/TDEn
Transmit Data 0 Interrupts (n = 0)
Transmit Data 1 (with exception status)
1
1
1
Transmit Data 1 (without exception)
1
0
1
Transmit Data 1 Interrupts (n = 1)
Transmit Data 0 (with exception status)
1
1
1
Transmit Data 0 (without exception)
1
0
1
MCF5329 Reference Manual, Rev 3
Summary of Contents for MCF5329
Page 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Page 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...