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/SMC MR 2)............... .. .................... .. .................... 27-2
27.2.2 SMC Buffer Descriptor Operatio n ................ ... .................... .. .................... .. .............. 27-4
27.2.3 SMC Parameter RAM....... .................... .. ..................... .. ...................... .................... .. 27 - 5
27.2.3.1 SMC Function Code Regist ers (RFCR/TFCR) ....... ...................... ...................... ..27- 8
27.2.4 Disabling SMCs On-the-Fly ......... .. ..................... .. .................... .. ...................... ........ 27-8
27.2.4.1 S MC Transmitter Full Sequence............................................................................27-9
27.2.4.2 S MC 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........ ...................... ..................... .. .................... .. .................... .. ..2 7 - 10
27.3.1 Features....................................................................................................................27-11
27.3.2 SMC UART Channel Transmission Pro cess ................... .................... .................... 2 7-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..... .. ...................... ....................... .................... .. ...................... .. 2 7 - 13
27.3.10 SMC UART TxBD ..................... ..................... .. ...................... .................... .. .......... 27-17
27.3.11 SMC UAR T Event Register (SMCE)/Mask Register (SMC M)...... ...................... ..2 7-18
27.3.12 SMC UART Controlle r P ro g ramming Example................................. .. ...................27-19
27.4 SMC in Transparent Mode...... .. .................... .. ....................... .................... .. ................ 27-20
27.4.1 Features....................................................................................................................27-20
27.4.2 SMC Transparent Channel Transmi ssion Process ............... ...................... .............. 27-21
27.4.3 SMC Transparent Channel Reception Process.. ...................................................... 27-21
27.4.4 Using SMSYN for Synchr onization .................. ...................... .................... ............ 27-22
27.4.5 Using the Time-Slot Assigner (TS A ) f o r S ynchronization...... .. .................... .. ........ 27-23
27.4.6 SMC Transparent Commands . ...................... ..................... .. ...................... .............. 27-25
27.4.7 Handling Errors in the SMC Transpare n t Cont r oller........... ...................... .............. 27-25
27.4.8 SMC Transparent RxBD..... .................... .. .. ..................... .. ...................... ................ 27-26
27.4.9 SMC Transparent TxBD ..................... ..................... .. ...................... .................... .. ..2 7 - 27
27.4.10 SMC Transpar ent Event Register (SMC E)/Mask Register (SMCM) ................ ...... 27-28