25-4
MC9328MX1 Reference Manual
MOTOROLA
SmartCard Interface Module (SIM)
The SIM also generates 16-bit cyclic redundancy check (CRC) information for both received and
transmitted characters. The CRC portion of the SIM contains a valid CRC detector and a 16-bit CRC
polynomial generator. The SIM CRC section does not generate any interrupts.
25.3 Functional Description
The SIM provides an interface from the MC9328MX1 to one SmartCard. The following subsections
describe the functionality of the SIM.
25.3.1 SIM Clock Generator
The clock generator is responsible for implementing baud rate clock (BAUD_CLK) generation, and
providing clocks to the transmitter, receiver, and port controller sections of the SIM. Figure 25-2 shows a
diagram of the clock generator section. The dividers outlined in bold generate a pulsed clock of the desired
frequency. The pulse is equal in duration to one-half the system clock period.
Figure 25-2. SIM Clock Generator Diagram
25.3.1.1 Baud Clock Generation
The clock generator uses one of four different frequencies as a source when generating the baud rate clock.
The default frequency is derived from the clock source of the SmartCard that is selected by the SmartCard
clock select (CLK_SEL) bits in the SIM control (CNTL) register. The output is IPS_CONT_CLK divided
by either 2, 4, 8, 12, 16, 20, 25, or 30 as shown in Section 25.6.2, “Control Register,” on page 25-23. The
baud rate generator is the IPS_CONT_CLK input divided by sixteen. The baud rate clock is generated in
two forms in the design. The BAUD_CLK used by the SmartCard is generated so that it is approximately
50% duty at all divide values to meet the requirements of the ISO 7816 specification. The baud_clk that is
used internal to the SIM is generated as a gated version of the IPS_CONT_CLK clock. The resultant clock
is a pulse of one-half IPS_CONT_CLK period in width with the expected frequency.
SCAN_MODE
IPS_CONT_CLK
IPG_CLK
SIM_EN
DIV 31
DIV 16
DIV 8
DIV 4
DIV 2
DIV 1
DIVISOR
Reg
DIV 2
DIV 4
DIV 8
DIV 12
DIV 16
DIV 20
DIV 25
DIV 30
DIV 12
DIV 16
XMT_EN
1
0
BAUD_SEL = 000
RCV_EN
CLK_SEL
BAUD_SEL
SCEN
BAUD_CLK
SCLK
(50% duty
except
DIV25 with
48% duty)
RCV_CLK
(pulsed)
XMT_CLK
(pulsed)
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 ...