Scc Ethernet Address Recognition - Motorola MPC8260 PowerQUICC II User Manual

Motorola processor users manual
Table of Contents

Advertisement

Table 24-3 describes receive commands.
Command
After hardware or software is reset and the channel is enabled in GSMR_L, the channel is in receive
ENTER HUNT
enable mode and uses the Þrst BD in the table. The receiver then enters hunt mode, waiting for an
MODE
incoming frame. The
stop receiving the current frame and enter hunt mode, in which the Ethernet controller continually
scans the input data stream for a transition of carrier sense from inactive to active and then a preamble
sequence followed by the start frame delimiter. After receiving the command, the buffer is closed and
the CRC calculation is reset. The next RxBD is used to receive more frames.
Should not be used with the Ethernet controller.
CLOSE RXBD
Initializes receive parameters in this serial channel parameter RAM to their reset state. Issue it only
INIT RX
when the receiver is disabled.
PARAMETERS
Used to set one of the 64 bits of the four individual/group address hash Þlter registers. The address to
SET GROUP
be added to the hash table should be written to TADDR_L, TADDR_M, and TADDR_H in the parameter
ADDRESS
RAM before executing this command. The CP uses an individual address if the I/G bit in the address
stored in TADDR is 0; otherwise, it uses a group address. This command can be executed at any time,
regardless of whether the Ethernet channel is enabled.
To delete an address from the hash table, disable the Ethernet channel, clear the hash table registers,
and execute this command for the remaining addresses. Do not simply clear the channelÕs associated
hash table bit because the hash table may have multiple addresses mapped to the same hash table bit.
Note that after a CPM reset via CPCR[RST], the Ethernet transmit enable (TENA) signal
defaults to its RTS, active-low functionality. To prevent false TENA assertions to an
external transceiver, conÞgure TENA as an input before issuing a CPM reset. See step 3 in
Section 24.21, ÒSCC Ethernet Programming Example.Ó

24.10 SCC Ethernet Address Recognition

The Ethernet controller can Þlter received frames based on different addressing typesÑ
physical (individual), group (multicast), broadcast (all-ones group address), and
promiscuous. The difference between an individual address and a group address is
determined by the I/G bit in the destination address Þeld. A ßowchart for address
recognition on received frames is shown in Figure 24-4.
In the physical type of address recognition, the Ethernet controller compares the destination
address Þeld of the received frame with the user-programmed physical address in PADDR1.
Address recognition can be performed on multiple individual addresses using the
IADDR1Ð4 hash table.
MOTOROLA
Table 24-3. Receive Commands
Description
command is generally used to force the Ethernet receiver to
ENTER HUNT MODE
and
INIT TX
RX PARAMETERS
Chapter 24. SCC Ethernet Mode
Part IV. Communications Processor Module
resets receive and transmit parameters.
24-11

Advertisement

Table of Contents
loading

Table of Contents