25-6
MC9328MX1 Reference Manual
MOTOROLA
SmartCard Interface Module (SIM)
Figure 25-3. Transmit State Machine Operation Diagram
The functions performed by each state are:
•
IDLE
— This is the initial state. The state machine waits here until it detects that the XMT_EN bit in the
transmit/receive enable (ENABLE) register is set and a write to the transmit FIFO has occurred.
The data pointed to by the transmit read pointer is loaded into the shift register, and the state
machine transitions to the MAIN_XMIT state. Any time the XMT_EN bit is cleared, the state
machine returns to the idle state.
•
MAIN_XMIT
— The transmitter is operating normally in this state. The data in the shift register is shifting once
every transmit clock cycle. When the second to last bit of the current transmission is ready to
send, the state machine transitions to the LAST_XMIT state.
•
LAST_XMIT
— This state transmits the last bit of the current transmission and determines the next operation.
One of the following occurs:
– When GETU is non-zero, jump to the GUARD_WAIT state.
– When a transmit NACK error occurred and GETU contains a zero, jump to the
MAIN_XMIT state to retransmit the current byte.
– When no transmit NACK error occurred and GETU contains a zero, load the shift register
and jump to MAIN_XMIT to transmit the next byte.
– When no transmit NACK error occurred, GETU contains a zero, and the FIFO is empty,
jump to the IDLE state and set the transmit complete (TC) bit in the XMT_STATUS
register.
•
GUARD_WAIT
— The state machine remains in the GUARD_WAIT state until the guard time counter has
expired.
– When a transmit NACK error occurred on the last transmission, jump to
RTX_MAIN_XMIT and re-transmit.
– When no transmit NACK error occurred and the FIFO is not empty, load the shift register
RTX_MAIN_XMIT
GUARD_WAIT
RTX_LAST_XMIT
LAST_XMIT
IDLE
MAIN_XMIT
Summary of Contents for DragonBall MC9328MX1
Page 68: ...1 12 MC9328MX1 Reference Manual MOTOROLA Introduction ...
Page 86: ...2 18 MC9328MX1 Reference Manual MOTOROLA Signal Descriptions and Pin Assignments ...
Page 116: ...3 30 MC9328MX1 Reference Manual MOTOROLA Memory Map ...
Page 126: ...4 10 MC9328MX1 Reference Manual MOTOROLA ARM920T Processor ...
Page 160: ...8 8 MC9328MX1 Reference Manual MOTOROLA System Control ...
Page 272: ...13 32 MC9328MX1 Reference Manual MOTOROLA DMA Controller ...
Page 281: ...Programming Model MOTOROLA Watchdog Timer Module 14 9 ...
Page 282: ...14 10 MC9328MX1 Reference Manual MOTOROLA Watchdog Timer Module ...
Page 300: ...15 18 MC9328MX1 Reference Manual MOTOROLA Analog Signal Processor ASP ...
Page 438: ...18 16 MC9328MX1 Reference Manual MOTOROLA Serial Peripheral Interface Modules SPI 1 and SPI 2 ...
Page 478: ...19 40 MC9328MX1 Reference Manual MOTOROLA LCD Controller ...
Page 574: ...21 32 MC9328MX1 Reference Manual MOTOROLA Memory Stick Host Controller MSHC Module ...
Page 598: ...23 16 MC9328MX1 Reference Manual MOTOROLA Real Time Clock RTC ...
Page 670: ...24 72 MC9328MX1 Reference Manual MOTOROLA SDRAM Memory Controller ...
Page 726: ...25 56 MC9328MX1 Reference Manual MOTOROLA SmartCard Interface Module SIM ...
Page 736: ...26 10 MC9328MX1 Reference Manual MOTOROLA General Purpose Timers ...
Page 854: ...29 18 MC9328MX1 Reference Manual MOTOROLA I2C Module ...
Page 900: ...30 46 MC9328MX1 Reference Manual MOTOROLA Synchronous Serial Interface SSI ...
Page 942: ...32 26 MC9328MX1 Reference Manual MOTOROLA GPIO Module and I O Multiplexer IOMUX ...