Table 25-28 Configuring The Sim Transmitter - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

Table 25-27. Configuring the SIM Receiver (Continued)
Step
3.
Configure the Character Wait Time Counter:
a. Program character wait time interval in the CHAR_WAIT register.
b. Enable character wait time counter by setting the CWTEN bit in the
CNTL register.
4.
Enable interrupts:
a. Enable the receive data register full interrupt through the RIM bit in
the INT_MASK register.
b. Enable the overrun condition interrupt through the OIM bit in the
INT_MASK register.
c. Enable the character wait time interrupt through the CWTM bit in
the INT_MASK register.
25.7.3 Configuring the SIM Transmitter
Table 25-28 provides the steps to configure the SIM transmitter for operation and the cross references for
identifying the specific section for additional reference.
Step
1.
Select desired re-transmission threshold for NACKed characters in
the XMT_THRESHOLD register. Program the threshold at which the
XTE flag is set through the XTH bits.
2.
Select the guard time between transmissions in the GUARD_CNTL
register. Program the desired guard time between characters
transmitted by the SIM through the GETU bits.
3.
Select the desired transmit FIFO threshold level in the
XMT_THRESHOLD register. Program the desired threshold through
the TDT bits.
4.
Enable interrupts in the INT_MASK register:
a. Enable the transmit complete interrupt through the TCIM bit.
b. Enable the early transmit complete interrupt through the ETCIM
bit.
c. Enable the transmit FIFO empty interrupt through the TFEIM bit.
d. Enable the transmit threshold error interrupt through the XTM bit.
e. Enable the transmit FIFO threshold interrupt through the TDTFM
bit.
f. Enable the transmit FIFO overfill interrupt through the TFOM bit.
MOTOROLA
Action
Table 25-28. Configuring the SIM Transmitter
Action
SmartCard Interface Module (SIM)
Functional Programming Example
Reference
Section , "," on page 25-39
Section 25.6.2, "Control Register,"
on page 25-23
Section 25.6.7, "Interrupt Mask
Register," on page 25-31
Reference
Section , "," on page 25-35
Section , "," on page 25-36
Section , "," on page 25-35
Section 25.6.7, "Interrupt Mask
Register," on page 25-31
25-43

Advertisement

Table of Contents
loading

Table of Contents