EasyManua.ls Logo

Motorola MPC823e - Page 784

Motorola MPC823e
1353 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication Processor Module
16-330
MPC823e REFERENCE MANUAL
MOTOROLA
SCCs
COMMUNICATION
16
PROCESSOR MODULE
16.9.22.8 CONFIGURING THE SCCx ETHERNET PARAMETERS.
You can configure a
serial communication controller to operate in Ethernet mode by setting the MODE field in the
general SCCx mode low register (GSMR_L). The receive errors are reported in the RX
buffer descriptor and the transmit errors are reported in the TX buffer descriptor. Several
fields in the GSMR_H and GSMR_L must be programmed to special values for Ethernet.
You must program the data synchronization register (DSR) using the table below. The
GSMR_L programs the first six bytes of the preamble and the SYN1 field of the DSR
programs the seventh byte (0x55) of the preamble. Program the 1-byte start delimiter with
the value 0xD5 in the SYN2 field of the DSR. Refer to
Section 16.9.2 The General SCCx
Mode Registers
for more information.
SYN2—Synchronization 2
This field represents the start frame delimiter for an Ethernet frame. You must set this field
to 0xD5.
SYN1—Synchronization 1
This field represents the seventh byte of the preamble for the Ethernet frame. You must set
this field to 0x55.
16.9.22.9 SCCx ETHERNET COMMANDS.
You can program the CPM command register
(CPCR) with the following commands to transmit data. See
Section 16.2.6.1 CPM
Command Register
for additional information.
STOP TRANSMIT
—When used with the SCCx Ethernet controller, this command
violates a specific behavior of an Ethernet/IEEE 802.3 station. It must not be used.
DSR
BIT
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD
SYN2 SYN1
RESET
0111111001111110
R/W
R/W R/W
ADDR
(IMMR & 0xFFFF0000) + 0xA2E
Note:
Before issuing a CPM reset (RST bit in the CPCR), configure the TENA pin as
an input.

Table of Contents

Related product manuals