Smc Transmitter Shortcut Sequence; Smc Receiver Full Sequence; Smc Receiver Shortcut Sequence; Changing Smc Protocols - Freescale Semiconductor MPC850 User Manual

Mpc850 family integrated communications microprocessor
Table of Contents

Advertisement

30.2.4.2 SMC Transmitter Shortcut Sequence

This shorter sequence reinitializes transmit parameters to the state they had after reset.
1. Clear SMCMR[TEN].
2. Make any changes, then issue an
3. Set SMCMR[TEN].

30.2.4.3 SMC Receiver Full Sequence

Follow these steps to fully enable or disable the receiver:
1. Clear SMCMR[REN]. Reception is aborted immediately, which disables the SMC
receiver and puts it in a reset state.
2. Modify SMC receive parameters, including parameter RAM. To switch protocols or
reinitialize SMC receive parameters, issue an
3. Issue a
CLOSE RXBD
4. Set SMCMR[REN]. Reception immediately uses the RxBD that RBPTR points to
if E is set in that RxBD.

30.2.4.4 SMC Receiver Shortcut Sequence

This shorter sequence reinitializes receive parameters to their state after reset.
1. Clear SMCMR[REN].
2. Make any changes, then issue an
3. Set SMCMR[REN].

30.2.4.5 Changing SMC Protocols

To switch the protocol that the SMC is executing without resetting the board or affecting
the other SMC, follow these steps:
1. Clear SMCMR[REN, TEN].
2. Make any SMCMR changes, modify the parameter RAM appropriately, and issue
an
INIT TX AND RX PARAMETERS COMMAND
parameters.
3. Set SMCMR[REN, TEN]. The SMC is now enabled with the new protocol.

30.2.5 Saving Power

When the SMCMR[TEN, REN] are zero, the SMC consumes very little power.

30.2.6 Handling Interrupts In the SMC

Follow these steps to handle an interrupt in the SMC:
1. Once an interrupt occurs, read SMCE to identify the interrupt source. The SMCE
bits are usually cleared at this time.
INIT TX PARAMETERS
command if
INIT RX PARAMETERS
INIT RX PARAMETERS
Chapter 30. Serial Management Controllers (SMCs)
Common SMC Settings and Configurations
command.
INIT RX PARAMETERS
was not issued in step 2.
command.
to initialize transmit and receive
command.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc850deMpc850dslMpc850sr

Table of Contents