beautypg.com

Freescale Semiconductor MPC8260 User Manual

Page 29

background image

MPC8260 PowerQUICC II Family Reference Manual, Rev. 2

Freescale Semiconductor

xxvii

Contents

Paragraph
Number

Title

Page

Number

Chapter 27

Serial Management Controllers (SMCs)

27.1

Features .......................................................................................................................... 27-2

27.2

Common SMC Settings and Configurations ................................................................. 27-2

27.2.1

SMC Mode Registers (SMCMR1/SMCMR2)........................................................... 27-2

27.2.2

SMC Buffer Descriptor Operation............................................................................. 27-4

27.2.3

SMC Parameter RAM................................................................................................ 27-5

27.2.3.1

SMC Function Code Registers (RFCR/TFCR) ..................................................... 27-8

27.2.4

Disabling SMCs On-the-Fly ...................................................................................... 27-8

27.2.4.1

SMC Transmitter Full Sequence............................................................................ 27-9

27.2.4.2

SMC Transmitter Shortcut Sequence .................................................................... 27-9

27.2.4.3

SMC Receiver Full Sequence ................................................................................ 27-9

27.2.4.4

SMC Receiver Shortcut Sequence......................................................................... 27-9

27.2.4.5

Switching Protocols ............................................................................................... 27-9

27.2.5

Saving Power ........................................................................................................... 27-10

27.2.6

Handling Interrupts in the SMC............................................................................... 27-10

27.3

SMC in UART Mode ................................................................................................... 27-10

27.3.1

Features .................................................................................................................... 27-11

27.3.2

SMC UART Channel Transmission Process ........................................................... 27-11

27.3.3

SMC UART Channel Reception Process................................................................. 27-11

27.3.4

Programming the SMC UART Controller ............................................................... 27-11

27.3.5

SMC UART Transmit and Receive Commands ...................................................... 27-12

27.3.6

Sending a Break ....................................................................................................... 27-12

27.3.7

Sending a Preamble ................................................................................................. 27-13

27.3.8

Handling Errors in the SMC UART Controller ....................................................... 27-13

27.3.9

SMC UART RxBD .................................................................................................. 27-13

27.3.10

SMC UART TxBD .................................................................................................. 27-17

27.3.11

SMC UART Event Register (SMCE)/Mask Register (SMCM) .............................. 27-18

27.3.12

SMC UART Controller Programming Example...................................................... 27-19

27.4

SMC in Transparent Mode........................................................................................... 27-20

27.4.1

Features .................................................................................................................... 27-20

27.4.2

SMC Transparent Channel Transmission Process ................................................... 27-21

27.4.3

SMC Transparent Channel Reception Process ........................................................ 27-21

27.4.4

Using SMSYN for Synchronization ........................................................................ 27-22

27.4.5

Using the Time-Slot Assigner (TSA) for Synchronization...................................... 27-23

27.4.6

SMC Transparent Commands.................................................................................. 27-25

27.4.7

Handling Errors in the SMC Transparent Controller............................................... 27-25

27.4.8

SMC Transparent RxBD.......................................................................................... 27-26

27.4.9

SMC Transparent TxBD .......................................................................................... 27-27

27.4.10

SMC Transparent Event Register (SMCE)/Mask Register (SMCM)...................... 27-28