mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 679

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
16.9.15.20 SCCx UART STATUS REGISTER.When a serial communication controller is
in UART mode, the 8-bit read-only SCCx status register is referred to as the SCCx UART
status register (SCCS–UART). Since each protocol has specific requirements, the SCCS
bits are different for each implementation. This register allows you to monitor real-time
status conditions on the RXDx pin. The real-time status of the CTSx and CDx pins are part
of the port C parallel I/O.
Bits 0–6—Reserved
These bits are reserved and must be set to 0.
ID—Idle Status
This bit is set when the RXDx pin has been a logic one for at least a full character time.
16.9.15.21 SCC2 UART PROGRAMMING EXAMPLE.The following initialization
sequence is for the 9,600 baud, 8 data bits, no parity, and stop bit of the SCC2 in UART
mode assuming a 25MHz system frequency. BRG1 is used in the example. The SCC2
UART controller is configured with the RTS2, CTS2, and CD2 pins active and the CTS2 pin
is used as an automatic flow control signal.
SCCS–UART
RESET
FIELD
ADDR
1. Configure the port A pins to enable the TXD2 and RXD2 pins. Write PAPAR bits 13
2. Configure the port C pins to enable RTS2, CTS2, and CD2. Write PCPAR bit 14 with
3. Configure BRG1 and write 0x010144 to the BRGC1. The DIV16 bit is not used and the
4. Connect the BRG1 clock to SCC2 using the serial interface. In the SICR, set the R2CS
5. Write 0x0001 to the SDCR to set the SDMA bus arbitration level to 5.
6. Connect the SCC2 to the NMSI and clear the SC2 bit in the SICR.
R/W
BIT
0 = The pin is not idle.
1 = The pin is idle.
and 12 with ones and then write the PADIR and PAODR bits 13 and 12 with zeros.
one and bits 9 and 8 with zeros, PCDIR bits 14, 9, and 8 with zeros, and PCSO bits 9
and 4 with ones.
divider is 162 (decimal). The resulting BRG1 clock is 16x the preferred bit rate of SCC2
in UART mode.
field to 000 and the T2CS field to 000.
0
Freescale Semiconductor, Inc.
1
For More Information On This Product,
MPC823 REFERENCE MANUAL
2
Go to: www.freescale.com
(IMMR & 0xFFFF0000) + 0xA37
RESERVED
R
3
0
4
Communication Processor Module
5
6
ID
16-227
R
7
0

Related parts for mpc823rg