MPC8313EZQADDC Freescale Semiconductor, MPC8313EZQADDC Datasheet - Page 871
MPC8313EZQADDC
Manufacturer Part Number
MPC8313EZQADDC
Description
Microprocessors - MPU 8313 REV2.2 PB W/ENC
Manufacturer
Freescale Semiconductor
Datasheet
1.MPC8313CZQADDC.pdf
(1214 pages)
Specifications of MPC8313EZQADDC
Processor Series
MPC8313E
Core
e300
Data Bus Width
16 bit
Maximum Clock Frequency
133 MHz
Program Memory Size
16 KB
Data Ram Size
16 KB
Interface Type
I2C
Mounting Style
SMD/SMT
Package / Case
PBGA
Number Of Programmable I/os
32
Number Of Timers
4
- Current page: 871 of 1214
- Download datasheet (8Mb)
If the CRC hash table index selects a bit that is set in the hash table, the frame is accepted. If 32 group
addresses are stored in the hash table and random group addresses are received, the extended hash table
prevents roughly 480/512 (93.8%) of the group address frames from reaching memory. Software must
further filter those that reach memory to determine if they contain the correct addresses. Alternatively,
small multicast groups can be held in the exact match MAC address registers, which guarantees that only
correct frames are admitted.
The effectiveness of the hash table declines as the number of addresses increases. For instance, as the
number of addresses stored in the 512-bin hash table increases, the vast majority of the hash table bits are
set, preventing only a small fraction of frames from reaching memory.
Freescale Semiconductor
/* Wrapper macros for 256-bucket and 512-bucket hash tables:
#define TSEC_HASH256(macaddr) ((crc32(macaddr) >> 24) & 0xff)
#define TSEC_HASH512(macaddr) ((crc32(macaddr) >> 23) & 0x1ff)
/* CRC constants.
#define CRC_POLYNOMIAL 0xedb88320
#define CRC_INITIAL
#define MAC_ADDRLEN
#define BITS_PER_BYTE
/* crc32() Takes the array of bytes, macaddr[], representing an
unsigned long crc32(unsigned char macaddr[MAC_ADDRLEN])
{
}
*/
unsigned long crc, result;
int byte, i;
/* CRC-32 algorithm starts by inverting first 4 bytes */
crc = CRC_INITIAL;
/* add each byte to running CRC accumulator */
for (byte = 0; byte < MAC_ADDRLEN; ++byte) {
}
/* finally, reverse bits of result to get CRC in normal bit order */
for (result = 0, i = 4*BITS_PER_BYTE-1; i >= 0; crc >>= 1, --i)
return result;
Pass 6-byte Ethernet MAC address as parameter. */
Ethernet MAC address and returns the CRC-32 result over these bytes,
where each byte is used in bit-reversed form (Ethernet bit order).
Index 0 of macaddr[] is the first byte of the address on the wire.
Test case: the result of crc32 on {0x00, 0x01, 0x02, 0x03, 0x04, 0x05}
should be 0xad0c28f3.
crc ^= macaddr[byte];
/* shift CRC right to perform but reversal on byte of address */
for (i = 0; i < BITS_PER_BYTE; ++i)
result |= (crc & 1) << i;
crc = (crc >> 1) ^ CRC_POLYNOMIAL;
crc >>= 1;
if (crc & 1)
else
MPC8313E PowerQUICC™ II Pro Integrated Processor Family Reference Manual, Rev. 2
Figure 15-134. Sample C Code for Computing eTSEC Hash Table Indices
Note: CRC-32 polynomial is bit-reversed. */
0xffffffff
6
8
Enhanced Three-Speed Ethernet Controllers
15-153
Related parts for MPC8313EZQADDC
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Mpc8313e Powerquicc Ii Pro Processor
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
BOARD PROCESSOR
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
BOARD CPU 8313E VER 2.1
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
BOARD CPU 8313E VER 2.2
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Microprocessors - MPU 8313 REV2.2 PB ENC EXT
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet:
Part Number:
Description:
Manufacturer:
Freescale Semiconductor, Inc
Datasheet: