ZLAN-026 ZL50400/02/04/05/07/08/09/10/11 Processor Interface

Size: px
Start display at page:

Download "ZLAN-026 ZL50400/02/04/05/07/08/09/10/11 Processor Interface"

Transcription

1 ZL50400/02/04/05/07/08/09/10/11 Processor Interface Contents 1.0 Introduction Processor Interface Bootstraps Configuration Registers Direct Access Registers Write Indirect Register In 16-Bit Mode In 8-Bit Mode In Serial Only or Serial+MII Modes Read Indirect Register In 16-Bit Mode In 8-Bit Mode In Serial Only or Serial+MII Modes Device Control & Status Registers Enabling Switching of Packets Device ID Control of Ethernet Frames to CPU Device Interrupts Device Time-out Detection EEPROM Usage Processor Ethernet Frame Frame Tag Frame Transmitted by the CPU Transmitting Frame Status Definitions Steps To Transmit Ethernet Frame In 8/16-Bit and SSI-Only Modes In Serial+MII or MII Only Modes Ethernet Frame Received by the CPU Receiving Frame Status Definitions Steps To Receive Ethernet Frame In 8/16-Bit and Serial Only Mode In Serial+MII or MII Only Modes Processor Control Command Frame Command Engine Steps To Transmit Control Command Steps To Receive Command Response Control Frame Reference Structure Formats of Control Commands Requests From CPU to ZL5040x Responses From ZL5040x to CPU Responses Via Control Frame Buffer Responses Via Control Frame Buffer Sample of Software Introduction June 2006 The purpose of this application note is to describe the ZL5040x processor interface and to provide simple examples that demonstrate how the processor interface operates. The ZL5040x processor interface was designed with simplicity in mind and therefore natively supports Little Endian mode only. This gives the software greater flexibility to restructure data blocks. The ZL5040x processor interface supports four modes: 1. 8-bit data bus bit data bus 3. 1-bit serial (managed/unmanaged) 4. 1-bit serial + MII mode. The unmanaged 1-bit serial interface supports an optional I 2 C EEPROM for register configuration during bootup. The processor interface provides three basic operations: 1. Configuration register access 2. Ethernet frame access 3. Control command frame access Figure 1 ZL5040x Processor Interface 8/16 Bit Interface, Figure 2 ZL5040x Processor Interface - Serial and Figure 3 ZL5040x Processor Interface - Serial + MII below show how the internal blocks accessing the different processor interface of the ZL5040x. 1 Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Copyright All Rights Reserved.

2 Processor W R 3-bit Address Bus 8/16-bit Data Bus ZL5040x Address I/O Data MUX Index Reg 1 (Addr = 1) Index Reg 0 (Addr = 0) Config Data Reg (Addr = 2) CPU Frame Reg (Addr = 3) Command/ Status Reg (Addr = 4) Interrupt Reg (Addr = 5) Control Command 1 Reg (Addr = 6) Control Command 2 Reg (Addr = 7) 16-bit Address 8-bit Data Bus 8/16-bit Data Bus 8/16-bit Data Bus Internal Registers Inderect Access CPU frame CPU frametransmit Receive FIFO FIFO Control Control Command 1 Command 1Transmit Receive FIFO FIFO Control Command 2 Transmit FIFO Interrupt Figure 1 - ZL5040x Processor Interface 8/16 Bit Interface 2

3 Processor Serial Out Serial In Strobe Synchronous Serial Interface 3-bit Address Bus 16-bit Data Bus CS W R ZL5040x Address I/O Data MUX Index Reg 1 (Addr = 1) Index Reg 0 (Addr = 0) Config Data Reg (Addr = 2) CPU Frame Reg (Addr = 3) Command/ Status Reg (Addr = 4) Interrupt Reg (Addr = 5) Control Command 1 Reg (Addr = 6) Control Command 2 Reg (Addr = 7) 16-bit Address 8-bit Data Bus 8/16-bit Data Bus 8/16-bit Data Bus Internal Registers Inderect Access CPU frame CPU frametransmit Receive FIFO FIFO Control Control Command 1 Command 1Transmit Receive FIFO FIFO Control Command 2 Transmit FIFO Interrupt Figure 2 - ZL5040x Processor Interface - Serial 3

4 Tclk Txd Txen Rxd Rxdv Rclk Processor Serial Out Serial In Strobe MII Interface Synchronous Serial Interface 3-bit Address Bus 16-bit Data Bus CS W R ZL5040x Address I/O Data MUX Index Reg 1 (Addr = 1) Index Reg 0 (Addr = 0) Config Data Reg (Addr = 2) Command/ Status Reg (Addr = 4) Interrupt Reg (Addr = 5) Control Command 1 Reg (Addr = 6) Control Command 2 Reg (Addr = 7) 8/16-bit Data Bus 16-bit Address 8-bit Data Bus 8/16-bit Data Bus CPU frame CPU frametransmit Receive FIFO FIFO Internal Registers Inderect Access Control Control Command 1 Command 1Transmit Receive FIFO FIFO Control Command 2 Transmit FIFO Interrupt 2.0 Processor Interface Bootstraps Figure 3 - ZL5040x Processor Interface - Serial + MII The processor interface mode is selected using bootstrap options. External pull-up/down resistors are used to select a configuration. Zarlink recommends the use of 1 KΩ for pull-downs and 10 KΩ for pull-ups. Note: Bootstrap pins cannot share the same external pull-up/down bit data bus TSTOUT[3:1] = bit data bus TSTOUT[11:9] = 001 4

5 3. 1-bit serial + MII TSTOUT[11:9] = 010 The Chip ID for the 1-bit serial interface is selected via TSTOUT[6:4] The debounce feature on the 1-bit serial interface is controlled via TSTOUT[0] - If debounce is enabled, DATAOUT is an open-drain driver, thus, requires an external pull-up resistor - If debounce is disabled, DATAOUT is a totem-pole driver 4. 1-bit serial only TSTOUT[11:9] = 011 The Chip ID for the 1-bit serial interface is selected via TSTOUT[6:4] The debounce feature on the 1-bit serial interface is controlled via TSTOUT[0] - If debounce is enabled, DATAOUT is an open-drain driver, thus, requires an external pull-up resistor - If debounce is disabled, DATAOUT is a totem-pole driver 5. Unmanaged 1-bit serial only TSTOUT[11:9] = 111 An optional EEPROM can be used, and is enabled via TSTOUT[7] The Chip ID for the 1-bit serial interface is selected via TSTOUT[6:4] The debounce feature on the 1-bit serial interface is controlled via TSTOUT[0] - If debounce is enabled, DATAOUT is an open-drain driver, thus, requires an external pull-up resistor - If debounce is disabled, DATAOUT is a totem-pole driver 3.0 Configuration Registers The ZL5040x has many programmable parameters contained in 8-bit configuration registers (also referred to as indirect access registers). The ZL5040x uses direct access registers to read and write to the configuration registers, as follows: 5

6 register write addr=0, data[15:0]=reg_addr[15:0] addr=2, data[15:0]={0,reg_data[7:0]} 16-bit CPU ZL5040x register read addr=0, data[15:0]=reg_addr[15:0] addr=2 {0, reg_data[7:0]}=data[15:0] register write addr=0, data[7:0]=reg_addr[7:0] addr=1, data[7:0]=reg_addr[15:8] addr=2, data[7:0]=reg_data[7:0] 8-bit CPU register read addr=0, data[7:0]=reg_addr[7:0] addr=1, data[7:0]=reg_addr[15:8] addr=2 reg_data[7:0]=data[7:0] ZL5040x register write 1-bit CPU register read Dev ID, addr=0, data[15:0]=reg_addr[15:0] Dev ID, addr=2, data[15:0]=16-bit serial data Dev ID, addr=0, data[15:0]=reg_addr[15:0] Dev ID, addr=2 16-bit serial data=data[15:0] ZL5040x 3.1 Direct Access Registers Figure 4 - Configuration (Indirect) Register Access INDEX_REG0 Width Access Address Used to write the address of the indirect register to be accessed. 8/16-bit W 0 Default: 00 Bit # Name Type Description 16-bit or serial CPU Interface [15:0] INDEX W 16-bit address of the indirect register 8-bit CPU Interface [7:0] INDEX_L W LSB [7:0] of the 16-bit address of the indirect register Register Table 1-0, INDEX_REG0 6

7 INDEX_REG1 Width Access Address Used to write the address of the indirect register to be accessed. 8-bit CPU Interface Only 8-bit W 1 Default: 00 Bit # Name Type Description [7:0] INDEX_H W MSB [15:8] of the 16-bit address of the indirect register Register Table 2-1, INDEX_REG1 DATA_REG Width Access Address Reflects the value of the indirect access register set by INDEX_REG 8/16-bit R/W 2 Default: 00 Bit # Name Type Description 8/16-bit or serial CPU Interface [7:0] DATA R/W 8-bit indirect register data 16-bit CPU Interface Only [15:8] RSVD R/W Reserved Register Table 3-2, DATA_REG CPU_FRAME_REG Width Access Address Used to transmit/receive Ethernet frames via an 8-byte FIFO to/from the CPU MAC. This register (FIFO) is disabled in SSI+MII CPU interface mode. 8/16-bit R/W 3 Default: 00 Bit # Name Type Description 16-bit or serial CPU Interface [15:0] CPU_FRAME W Send Ethernet frame to CPU MAC. Bits [7:0] is even byte, [15:8] is odd byte. R Data sequence specified in Processor Interface application note, ZLAN-26. Receive Ethernet frame from CPU MAC. Bits [7:0] is even byte, [15:8] is odd byte. Data sequence specified in Processor Interface application note, ZLAN-26. Register Table 4-3, CPU_FRAME_REG 7

8 8-bit CPU Interface [7:0] CPU_FRAME W Send Ethernet frame to CPU MAC R Data sequence specified in Processor Interface application note, ZLAN-26. Receive Ethernet frame from CPU MAC Data sequence specified in Processor Interface application note, ZLAN-26. Register Table 4-3, CPU_FRAME_REG (continued) CMD_STATUS_REG Width Access Address CPU interface command status This register is not applicable in SSI+MII, MII-only and Remote/No CPU interface modes. 8/16-bit R/W 4 Default: 00 Bit # Name Type Description 8/16-bit CPU Interface [0] RXBUF_DONE W Set Control Frame Receive buffer ready, after CPU writes a complete frame into the buffer. This bit is self-cleared. RXBUF_RDY R Control Frame receive buffer ready, CPU can write a new frame 1 CPU can write a new control command 0 CPU has to wait until this bit is 1 to write a new control command [1] TXBUF1_DONE W Set Control Frame Transmit buffer1 ready, after CPU reads out a complete frame from the buffer. This bit is self-cleared. TXBUF1_RDY R Control Frame transmit buffer1 ready for CPU to read 1 CPU can read a new control command 1 0 CPU has to wait until this bit is 1 to read a new control command [2] TXBUF2_DONE W Set Control Frame Transmit buffer2 ready, after CPU reads out a complete frame from the buffer. This bit is self-cleared. TXBUF2_RDY R Control Frame transmit buffer2 ready for CPU to read 1 CPU can read a new control command 1 0 CPU has to wait until this bit is 1 to read a new control command [3] TXFIFO_RXDONE W Set this bit to indicate CPU received a whole frame (transmit FIFO frame receive done), and flushed the rest of frame fragment, If occurs. This bit will be self-cleared. TXFIFO_RDY R Transmit FIFO has data for CPU to read [4] RXFIFO_EOF W Set this bit to indicate that the following Write to the Receive FIFO is the last one. This bit will be self-cleared. RXFIFO_SPOK R Receive FIFO has space for incoming CPU frame Register Table 5-4, CMD_STATUS_REG 8

9 [5] RXFIFO_REALIGN W Set this bit to re-start the data that is sent from the CPU to Receive FIFO (re-align). This feature can be used for software debug. For normal operation must be '0'. TXFIFO_EOF R Transmit FIFO End Of Frame This bit will be deasserted during packet reception and will be asserted at the EOF time. Afterwards, this bit will remain asserted until receiving next packet. This means bit [5] is only meaningful when bit [3] (TXFIFO_RDY) is asserted. Bit [3] Bit [5] Result 0 0 Invalid 0 1 No frame 1 0 Frame 1 1 EOF [7:6] RSVD R/W Reserved 16-bit CPU Interface Only [15:8] RSVD R/W Reserved Register Table 5-4, CMD_STATUS_REG (continued) INT_REG Width Access Address Interrupt sources 8/16-bit R 5 Default: N/A Bit # Name Type Description 8/16-bit CPU Interface [0] INT_CPU_FRAME R Ethernet frame interrupt. Ethernet Frame receive buffer has data for processor to read [1] INT_CTL_BUF1 R Control frame 1 interrupt. Control Frame receive buffer 1 has data for processor to read [2] INT_CTL_BUF2 R Control frame 2 interrupt. Control Frame receive buffer 2 has data for processor to read [6:3] RSVD R Reserved [7] INT_CHIP_RESET R Device Timeout Detected interrupt Note: This bit is not self-cleared. After reading, the CPU has to clear the bit writing 0 to it. 16-bit CPU Interface Only [15:8] RSVD R/W Reserved Register Table 6-5, INT_REG 9

10 CTL_FRAME_BUF1 Width Access Address Used to transmit/receive control frames 8/16-bit R/W 6 Default: 00 Bit # Name Type Description 16-bit or serial CPU Interface [15:0] CTL_BUF1 W Send control frame to command engine. Bits [7:0] is even byte, [15:8] is odd byte. R Control frame format specified in Processor Interface application note, ZLAN-26. Receive control frame from command engine. Bits [7:0] is even byte, [15:8] is odd byte. Control frame format specified in Processor Interface application note, ZLAN bit CPU Interface [7:0] CTL_BUF2 W Send control frame to command engine R Control frame format specified in Processor Interface application note, ZLAN-26. Receive control frame from command engine Control frame format specified in Processor Interface application note, ZLAN-26. Register Table 7-6, CTL_FRAME_BUF1 CTL_FRAME_BUF2 Width Access Address Used to receive control frames 8/16-bit R 7 Default: 00 Bit # Name Type Description 16-bit or serial CPU Interface [15:0] CTL_BUF2 R Receive control frame from command engine. Bits [7:0] is even byte, [15:8] is odd byte. Control frame format specified in Processor Interface application note, ZLAN-26. Register Table 8-7, CTL_FRAME_BUF2 10

11 8-bit CPU Interface [7:0] CTL_BUF2 R Receive control frame from command engine 3.2 Write Indirect Register The following sections outline the steps required to write to the configuration registers In 16-Bit Mode Control frame format specified in Processor Interface application note, ZLAN-26. Register Table 8-7, CTL_FRAME_BUF2 (continued) 1. Write the desired register address (16 bit) to INDEX_REG0 (address 0), where the MSb of register address (bit 15) maps to bit 15 of INDEX_REG0 and the LSb of register address (bit 0) maps to bit 0 of INDEX_REG0. 2. Write the desired register data (8 bit) to DATA_REG (address 2), where the MSb of register data (bit 7) maps to bit 7 of DATA_REG, and the LSb of register data (bit 0) maps to bit 0 of DATA_REG. Write 0 s to bit 15 through bit 8 of DATA_REG. NOTE: A special register-write is supported. This allows CPU to write to two consecutive configuration registers in a single write operation. By writing to bit[14] of INDEX_REG0, the CPU can write 16 bits of data to DATA_REG. LSB of DATA_REG is for the 12-bit address specified in INDEX_REG0 and MSB of DATA_REG is for the (address + 1). As well, an incremental write is supported. This allows the CPU to write to the configuration registers incrementally. By writing to bit[15] of INDEX_REG0, the CPU only has to set the start address of the 12-bit configuration register address set and then CPU can continuously write to DATA_REG INC R/W SP W Reserved In 8-Bit Mode Figure 5 - INDEX_REG0 Special Read/Write Access Support 1. Write the LSB (bit 7 to bit 0) of desired register address (16 bit) to INDEX_REG0 (address 0), where bit 7 of register address maps to bit 7 of INDEX_REG0 and bit 0 of register address maps to bit 0 of INDEX_REG0. 2. Write the MSB (bit 15 to bit 8) of desired register address (16 bit) to INDEX_REG1 (address 1), where bit 15 of register address maps to bit 7 of INDEX_REG1 and bit 8 of register address maps to bit 0 of INDEX_REG1. 3. Write the desired register data (8 bit) to DATA_REG (address 2), where the MSb of register data (bit 7) maps to bit 7 of DATA_REG, the LSb of register data (bit 0) maps to bit 0 of DATA_REG In Serial Only or Serial+MII Modes 12 Bit Register Address 1. Issue the Write Command with 3-bit Device_ID 1, 3-bit Addr = 0 (INDEX_REG0), and 16-bit Data = the desired register address. The LSb of Data (bit 0) maps to bit 0 of INDEX_REG0 and the MSb of Data (bit 15) maps to bit 15 of INDEX_REG0 1. The use of Device_ID in serial mode serves as an in-band "chip select". In other modes, this chip select function is achieved using a separate pin (P_CS#). 11

12 2. Issue the Write Command with 3-bit Device ID, 3-bit Addr = 2 (DATA_REG), and 16-bit Data = the desired register data. The bit 0 of Data maps to bit 0 of DATA_REG and the bit 7 of Data maps to bit 7 of DATA_REG. Write 0 s to bit 8 through bit 15 of DATA_REG. NOTE: A special register-write is supported. This allows CPU to write to two consecutive configuration registers in a single write operation. By writing to bit[14] of INDEX_REG0, the CPU can write 16 bits of data to DATA_REG. LSB of DATA_REG is for the 12-bit address specified in INDEX_REG0 and MSB of DATA_REG is for the (address + 1). As well, an incremental write is supported. This allows the CPU to write to the configuration registers incrementally. By writing to bit[15] of INDEX_REG0, the CPU only has to set the start address of the 12-bit configuration register address set and then CPU can continuously write to DATA_REG. 3.3 Read Indirect Register In 16-Bit Mode 1. Write the desired register address (16 bit) to INDEX_REG0 (address 0), where the MSb of register address (bit 15) maps to bit 15 of INDEX_REG0 and the LSb of register address (bit 0) maps to bit 0 of INDEX_REG0. 2. Read the register data (8 bit) from DATA_REG (address 2), where the MSb of register data (bit 7) maps to bit 7 of DATA_REG, and the LSb of register data (bit 0) maps to bit 0 of DATA_REG; bit 15 to bit 8 of DATA_REG are unused. NOTE: An incremental read is supported. This allows the CPU to read from the configuration registers incrementally. By writing to bit[15] of INDEX_REG0, the CPU only has to set the start address of the 12-bit configuration register address set and then CPU can continuously read from DATA_REG In 8-Bit Mode 1. Write the LSB (bit 7 to bit 0) of desired register address (16 bit) to INDEX_REG0 (address 0), where bit 7 of register address maps to bit 7 of INDEX_REG0 and bit 0 of register address maps to bit 0 of INDEX_REG0. 2. Write the MSB (bit 15 to bit 8) of desired register address (16 bit) to INDEX_REG1 (address 1), where bit 15 of register address maps to bit 7 of INDEX_REG1 and bit 8 of register address maps to bit 0 of INDEX_REG1. 3. Read the register data (8 bit) from DATA_REG (address 2), where the MSb of register data (bit 7) maps to bit 7 of DATA_REG, the LSb of register data (bit 0) maps to bit 0 of DATA_REG In Serial Only or Serial+MII Modes 1. Issue the Write Command with 3-bit Device_ID, 3-bit Addr = 0 (INDEX_REG0), and 16-bit Data = the desired register address. The LSb of Data (bit 0) maps to bit 0 of INDEX_REG0 and the MSb of Data (bit 15) maps to bit 15 of INDEX_REG0 2. Issue the Read Command with 3-bit Device ID, 3-bit Addr = 2 (DATA_REG). 3. Read back from Serial Out pin 16-bit Data. The upper 8 bit of Data are 0 s, the bit 7 of Data is the MSb of DATA_REG and the bit 0 is the LSb of DATA_REG The bit 0 of Data maps to bit 0 of DATA_REG and the bit 7 of Data maps to bit 7 of DATA_REG. Bit 8 to bit 15 of DATA_REG are unused. NOTE: An incremental read is supported. This allows the CPU to read from the configuration registers incrementally. By writing to bit[15] of INDEX_REG0, the CPU only has to set the start address of the 12-bit configuration register address set and then CPU can continuously read from DATA_REG. 12

13 4.0 Device Control & Status Registers Validation of CPU interface access to the configuration registers can be done by reading register DA (address 0xFFF) and comparing to expected value of 0xDA. DA Bits [7:0] Always return DA The bootstrap settings sampled by the ZL5040x after reset can be read via registers BOOTSTRAP0~3 (address 0x0E80~3) BT3 BT2 BT1 BT0 BOOTSTRAP0~3 Bits [15:0]: Bits [23:16]: Bits [25:24]: Bits [31:26]: Bootstrap value from TSTOUT[15:0]: Bit [6:0]: TSTOUT[6:0] Bit [8:7]: Invert of TSTOUT[8:7] Bit [9]: TSTOUT[11] Bit [10]: TSTOUT[9] Bit [11]: TSTOUT[10] Bit [14:12]: TSTOUT[14:12] Bit [15]: Always 0 Bootstrap value from M[7:0]_TXEN Bit [16]: M0_TXEN Bit [17]: M1_TXEN... Bit [23]: M7_TXEN Bootstrap value from M9_TXEN, M9_TXER Reserved During reset, a BIST is executed with the results shown in register DCR (address 0x0F01). The BIST test can also be manually invoked or a soft reset issued via register GCR (address 0x0F00). The only difference between a soft reset (via GCR[3]) and a hard reset (via RESIN#) is that the bootstrap pins are not sampled on a soft reset. Other information is available in DCR to validate the Chipset Revision and Product ID. GCR Bit [2]: Start BIST (Default = 0) Write 1 followed by 0 to start the device s built-in self-test. The result is found in the DCR register. Bit [3]: Soft Reset (Default = 0) Write 1 to reset chip 13

14 DCR Bit [2]: Bit [3]: Bits [5:4]: Bits [7:6]: 1: BIST in progress 0: BIST not running 1: RAM Error 0: RAM OK Device Signature (see Data Sheet) Revision (see Data Sheet) 4.1 Enabling Switching of Packets On bootup in managed mode, the ZL5040x will be in an idle state with all configuration registers set to their default values. In order to start switching of packets, the switch must be told when initialization is complete. This is done via register GCR (address 0x0F00), bit [4]. On bootup in unmanaged mode, the ZL5040x will immediately begin switching packets based on the default settings of the configuration registers, or if using the optional EEPROM, based on the EEPROM values. GCR Bit [4]: Initialization Completed (Default = 0) This bit is reserved in unmanaged mode. In managed mode, the CPU writes this bit with 1 to indicate initialization is completed and ready to forward packets. The 0' to '1' transition will toggle TSTOUT[2] from low to high. 4.2 Device ID The device ID is used to uniquely identify the ZL5040x device, and is configured via register DEVICE (address 0x060A), bits [7:5]. DEVICE Bits [7:5]: Device ID (Default 0x0) 4.3 Control of Ethernet Frames to CPU By default in managed mode, the ZL5040x allows Ethernet data frame to the CPU. To disable Ethernet frames from going to the CPU, the following must be done: 1. Remove the CPU from all VLANs if in port-based VLAN mode, remove the CPU port from all the port's bitmaps - set PVMAPn_1[0] = '0' for all ports if in tagged-based VLAN mode, don't include the CPU port in any VLAN ID port bitmap 2. Force BPDU packet as multicast packet set PVMODE[5] = '1' 3. Disable IP Multicast set FEN[4] = '1' (default setting) 14

15 4.4 Device Interrupts Interrupts notification from the ZL5040x to the CPU is via pin P_INT, which is the OR d result of register INT_REG. There are four sources of interrupt: 1. Ethernet frame interrupt (INT_REG, bit [0]) 2. Control command frame buffer 1 interrupt (INT_REG, bit [1]) 3. Control command frame buffer 2 interrupt (INT_REG, bit [2]) 4. Device time-out detected interrupt (INT_REG, bit [7]) Each of the above interrupts can be masked via register INT_MASK0 (address 0x0306). As well, the polarity of P_INT is controlled via register DEVICE (address 0x060A), bit [1]. INT_MASK0 Bit [0]: Bit [1]: Bit [2]: Bits [6:3]: Bit [7]: CPU frame interrupt. CPU frame buffer has data for CPU to read Control Command 1 interrupt. Control Command Frame buffer1 has data for CPU to read Control Command 2 interrupt. Control command Frame buffer2 has data for CPU to read Reserved Device Timeout Detected interrupt DEVICE Bit [1]: CPU Interrupt Polarity 0: Negative Polarity 1: Positive Polarity (Default) 4.5 Device Time-out Detection The Zl5040x has the capability to detect device operation error and to either report the error to the CPU or to reset the device. The cause of the operation error can be caused by alpha particle, power noise, glitch and other misc. environmental effects. The ZL5040x supports a state machine monitoring block which can trigger a reset or interrupt if any state machine is determined to be stuck in a non-idle state for more than 5 seconds. The automatic time-out reset feature can be either enabled or disabled. This is controlled via a bootstrap pin, TSTOUT[12]. When enabled, a reset will be generated when a time-out is detected. If disabled, an interrupt is generated to the CPU, if the interrupt is unmasked, to indicate an error has been detected. Refer to the Programming Timeout Reset, ZLAN-041, for more details. 4.6 EEPROM Usage If in unmanaged mode, an option EEPROM can be used to load up some of the configuration registers (indirect registers) with initial values at reset. The EEPROM can be programmed by the switch using register GCR (address 0x0F00). Setting bit [0] or [1] will initiate an I 2 C access to write the contents of some select configuration registers to the EEPROM. The only difference between these two bits is that bit [1] will invoke a reset after the write. 15

16 GCR Bit [0]: Store configuration (Default = 0) Write 1 followed by 0 to store configuration into external EEPROM Bit [1]: Store configuration and reset (Default = 0) Write 1 to store configuration into external EEPROM and reset chip The EEPROM must also be loaded with a checksum value to allow the switch to confirm the contents when reading. This checksum is stored in register CHECKSUM (address 0x060B). CHECKSUM Bits [7:0]: Checksum content (Default 0) Status of the read/write access to the EEPROM can be monitored via register DCR (address 0x0F01). DCR Bit [0]: Bit [1]: 1: Busy writing configuration to I²C 0: Not busy (not writing configuration to I²C) 1: Busy reading configuration from I²C 0: Not busy (not reading configuration from I²C) Details of general EEPROM usage can be found in application note Ethernet Switch EEPROM Operation, ZLAN Processor Ethernet Frame The CPU interface is also responsible for receiving and transmitting standard Ethernet frames to and from the processor. If FTAG_MODE is enabled for the CPU port (default), the 8-byte FTAG header is also part of the Ethernet frame. In serial+mii mode, receiving and transmitting Ethernet frames to and from the processor is the same as regular frame reception and transmission on any other 10/100M port. The ZL5040x will act as PHY to provide both RXCLK and TXCLK to the CPU. The CPU will use these two clocks to receive and transmit Ethernet frames. In 8/16-bit and serial-only modes, receiving and transmitting Ethernet frames to and from the processor is done using direct access registers. Register CPU_FRAME_REG is used as a FIFO between the CPU and the MAC, with CPU_STATUS_REG indicating the state of the FIFO (See Direct Access Registers on page 6). 5.1 Frame Tag In serial+mii mode, the ZL5040x CPU port supports 3 different modes, as set by ECR4P9 (address 0x0091), bits [4:3]. 1. Normal Mode ( 00 ): In this mode, the packet sent on the CPU MII interface is a standard Ethernet packet. 2. Frame Tag Insertion ( 01 ): A 2-byte frame tag is inserted before the start of the standard Ethernet packet. 3. Frame Tag + Padding Insertion ( 11 ): A 2-byte frame tag plus 6-byte padding is inserted before the start of the standard Ethernet packet. 16

17 ECR4P9 Bits [4:3]: Enable insertion of 2-byte CPU information in CPU frame packet in Serial + MII mode 00: No information is inserted 01: Insert 2-byte of CPU information 10: Reserved 11: Insert 6-byte of padding + 2-byte of CPU information (Default) In port-based VLAN mode, the CPU MII interface must be in No information is inserted mode (ECR4P8[4:3]='00'). In tagged-based VLAN mode, the CPU MII interface supports all three modes (0,2,8 bytes insertion). 5.2 Frame Transmitted by the CPU The frame is transmitted in little endian mode. 4th Byte Transmitted 1st Byte Transmitted Transmitting Frame Status Ethernet Header 0 0 [13:0] Frame Length b 1 [63:48] Destination Info 0 Destination MAC Address Source MAC address Destination MAC Address Source MAC Address VLAN Tag Length/ Type Ethernet Data A) DATA Any Bytes FCS Last Byte Transmitted FCS Figure 6 - Frame Transmitted by the CPU Optional. In 8/16-bit or serial only mode, the ZL5040x will NOT check the FCS of the incoming frame, it will assume that the frame coming in is good all the time (the CPU can send in this field). In MII mode, the ZL5040x will check the FCS of the incoming frame. 17

18 5.2.1 Transmitting Frame Status Definitions [13:0] Frame Length: the number of bytes including Ethernet header, data, padding, and FCS [14] Frame OK: Always write 1. [47:15] Not used (pad with any data) [63:48] Destination Port Info: Used to allow the CPU to override the search engine and specify the destination port info. BIT[63] Substitute frame source address when the frame depart from the device. 0: Use source MAC address in frame 1: Replace source MAC address with CPU address of destination port BIT[62:59] Priority and drop precedence assigned to this frame (Bit[62] is drop precedence). Enter 0x0 to have the switch determine priority and drop precedence. BIT[58] Destination mode. Determine how to decode BIT[57:48]. 0: destination port id specified by BIT [57:48]. BIT[57:55] Shall be all zero. BIT[54:52] Destination device ID. Should be equal to local device ID (register 0x60A[7:5]) and the device ID should be a non-0x0 value. BIT[51:48] Destination port ID. Combined with the device ID (BIT[54:52]) information, the device can pass the frame to the specified device and forward to the specified port. Enter 0x1F to have the switch determine the destination port(s). 1: destination port map specified by BIT [57:48]. BIT[57:48] Destination port map. CPU can send a frame to multiple port at the same time. The map is only local significant Steps To Transmit Ethernet Frame In 8/16-Bit and SSI-Only Modes P_DATA0 A H G F E D C B A MSB byte 0 LSB B C D byte 1 A B C D E F G H byte 2 I J K L M O P Q PHY P O N M L K J I byte 1 P_DATA7 E F G H SWITCH P_DATA8 I J CPU K L M N O P_DATA15 P Figure 7 - Transmitting Byte 16-Bit CPU Bus Little Endian 18

19 P_DATA0 A byte 1 A B C D E F G H PHY H G F E D C B A MSB byte 0 SWITCH LSB B C D E F CPU G P_DATA7 H Figure 8 - Transmitting Byte 8-Bit CPU Bus Little Endian H G F E D C B A MSB byte 0 LSB byte 1 A B C D E F G H byte 2 I J K L M O P Q PHY P O N M L K J I byte 1 Serial Data (A...P) SWITCH CPU Figure 9 - Transmitting Byte Single-Bit Serial CPU Bus Little Endian 1. Poll COMMAND&STATUS[4] until it is asserted. 2. Write Transmit Frame Status (8 bytes) (described in Section 5.2.1, Transmitting Frame Status Definitions on page 18) to CPU_ FRAME_REG. 3. Poll COMMAND&STATUS[4] again (to verify that FIFO has space for incoming data) until it is asserted. 4. Once COMMAND&STATUS[4] is asserted, one can write up to 16 bytes of data at a time. In 8-bit mode, write each byte in increasing order to CPU_ FRAME_REG [7:0]. (See CPU Frame General Structure for Memory Request section in Section 6.5, Formats of Control Commands on page 25 for further details on writing in increasing order). In 16-bit mode, write 2 bytes in increasing order; write even bytes in CPU_FRAME_REG [7:0] and odd bytes in CPU_FRAME_ REG [15:8]. After the 16 bytes are written to the FIFO, the frame engine transfers the data from the FIFO to the external frame data buffer. 19

20 5. Repeat step 3 and 4 until the whole Ethernet frame is complete. Pad the frame with 0 s so the frame aligns to an 8-byte boundary. 6. Poll COMMAND&STATUS[4] until it is asserted. 7. Write h0010 (16-bit mode) or h10 (8-bit mode) to COMMAND&STATUS to indicate the end of the frame In Serial+MII or MII Only Modes Same as transmitting standard Ethernet frame on any other port, except that the 2-byte Frame Tag header is required if mode is enabled for the CPU port. 5.3 Ethernet Frame Received by the CPU The frame is read in little endian mode. 4th Byte Transmitted 1st Byte Transmitted Receiving Frame Status Ethernet Header [31] TAG out [30] TAG in [29:14] VLAN ID [13:0] Frame Length [63:48] Source Info 0 Destination MAC Address Source MAC address Destination MAC Address Source MAC Address VLAN Tag Length/ Type Ethernet Data DATA Any Bytes FCS FCS Last Byte Transmitted Figure 10 - Frame Read by the CPU When frame has a VLANTAG. 20

21 5.3.1 Receiving Frame Status Definitions [13:0] Frame Length: the number of bytes including Ethernet header, data, padding, and FCS [29:14] VLAN ID: 16 LSB of the VLAN tag (tag control information) [30] Tag In = 0: the frame has no tag; Tag In = 1: the frame has a tag [31] Tag Out = 0: not used by the CPU (ignore data) [63:48] Source Info: Bit[63:62]: No use. Bit[61:58]: Classified priority result by search engine. Bit[57:55]: Source device ID. Bit[54:52]: No use. Bit[51:48]: Source port ID Steps To Receive Ethernet Frame In 8/16-Bit and Serial Only Mode P_DATA0 A H G F E D C B A MSB byte 0 LSB B C D byte 2 byte 1 P O N M L K J i H G F E D C B A PHY P O N M L K J I byte 1 P_DATA7 E F G H SWITCH P_DATA8 I J CPU K L M N O P_DATA15 P Figure 11 - Receiving Byte 16-Bit CPU Bus Little Endian 21

22 P_DATA0 A byte 1 H G F E D C B A PHY H G F E D C B A MSB byte 0 LSB B C D E F CPU SWITCH P_DATA7 G H Figure 12 - Receiving Byte: 8-Bit CPU Bus Little Endian H G F E D C B A MSB byte 0 LSB byte 2 byte 1 P O N M L K J i H G F E D C B A PHY P O N M L K J I byte 1 Serial Data (P...A) SWITCH CPU Figure 13 - Receiving Byte Single-Bit Serial CPU Bus Little Endian 1. Wait for a hardware interrupt. Read interrupt register (direct register 5). When bit 0 is set, it indicates an Ethernet frame waiting is asserted. Interrupt is de-asserted when first byte of frame is read out. The interrupt can be dynamically masked when the CPU is busy and does not want to be interrupted. The register INT_MASK0 programs the mask. 2. Read 8 bytes of Receive Frame Status/ Ethernet frame (see Section 5.3.1, Receiving Frame Status Definitions on page 21). In 8-bit mode, each byte is read out in increasing order from CPU_FRAME_REG [7:0]. In 16-bit mode, every 2 bytes are read out in increasing order; even bytes are read out from CPU_FRAME_REG[7:0] and odd bytes from CPU_FRAME_REG [15:8]. 3. Poll COMMAND&STATUS[3] until asserted. 4. Read COMMAND&STATUS[5]; if asserted, the last 8 bytes needs to be read out (step 5), otherwise, repeat steps 2 and 3. 22

23 5. Read last 8 byte of Ethernet frame. 6. Write h0008 (16-bit mode) or h08 (8-bit mode) to COMMAND&STATUS to indicate the end of the frame In Serial+MII or MII Only Modes Same as receiving standard Ethernet frame on any other port, except that the 2-byte Frame Tag header is present if mode is enabled for the CPU port. 6.0 Processor Control Command Frame Control commands can be sent between the CPU and the ZL5040x device using a proprietary Control Command frame format. These proprietary commands are related to such tasks as statistics collection, MAC address learning, aging, etc. All Control Commands have a 40-byte long block reference model; this does not imply, however, that they must contain 40 bytes. If there is no data to be transmitted or read, the operation can be terminated. An 8-byte boundary must be respected. Please refer to Section 6.5, Formats of Control Commands on page 25 or the format of Control Commands. 6.1 Command Engine The command engine acts as a proxy of the CPU. It receives a command from the CPU via a control command frame, decodes it, and executes the command. There are several types of control commands that are used to send and receive information to and from the ZL5040x. The types of control frames from the CPU to the ZL5040x are: 1. Memory Read/Write Request 2. Learn/Delete/Search Unicast MAC Address Request 3. Learn/Delete/Search Multicast MAC Address Request 4. Learn/Delete/Search IP Multicast Address Request There are two types of control frames from the ZL5040x to the CPU: interrupt frames and response frames. The types of interrupt frames from the ZL5040x to the CPU are: 1. Statistic Counter Roll-over Interrupt 2. Learn Unicast MAC Address Interrupt 3. Delete Unicast MAC Address Interrupt The types of response frames from the ZL5040x to the CPU are: 1. Read completed with data 2. Delete Unicast MAC Address (Response from SE when CPU issued Learn Multicast MAC request and no RAM space is available for storage) 3. Delete Multicast MAC Address (Response from SE when CPU issued Learn Multicast MAC request and no RAM space is available for storage) 4. Delete IP Multicast Address (Response from SE when CPU issued Learn IP Multicast request and no RAM space is available for storage) 5. Response to Search Unicast MAC Address 6. Response to Search Multicast MAC Address 7. Response to Search IP Multicast Address 23

24 6.2 Steps To Transmit Control Command 1. Poll COMMAND&STATUS[0] until asserted. 2. Write 40 bytes of Control Command. In 8-bit mode, write each byte in increasing order to CONTROL FRAME BUFFER1 ACCESS REGISTER [7:0]. In 16-bit mode, write 2 bytes in increasing order; write even bytes in CONTROL FRAME BUFFER1 ACCESS REGISTER [7:0], and odd bytes in CONTROL FRAME BUFFER1 ACCESS REGISTER [15:8]. Note: It is not necessary to finish writing the complete 40 bytes of Control Command. As long as the data portion of the Control Command is written, transmission can stop because writing h0001 (16-bit mode) or h01 (8-bit mode) to COMMAND&STATUS indicate end of the Command. 3. To transmit another control command start from step Steps To Receive Command Response 1. Wait a hardware interrupt. Read interrupt register (direct register 5). When bit 1 is set, it indicates a command frame 1 waiting is asserted. When bit 2 is set it indicates a command frame 2 is asserted. Interrupt is deasserted when first byte of frame is read out. The interrupt can be dynamically masked when the CPU doesn t want to be interrupted. The register INT_MASK0 programs the mask. 2. Poll COMMAND & STATUS [1] / COMMAND & STATUS [2] until asserted. 3. Read 40 bytes of Control Command. In 8-bit mode, each byte is read out in increasing order form CONTROL FRAME BUFFER1 ACCESS REGISTER[7:0]/CONTROL FRAME BUFFER2 ACCESS REGISTER[7:0]. In 16- bit mode, every 2 bytes are read out in increasing order; even bytes are read out from CONTROL FRAME BUFFER1 ACCESS REGISTER[7:0]/ CONTROL FRAME BUFFER2 ACCESS REGISTER[7:0], and odd bytes are read out from CONTROL FRAME BUFFER1 ACCESS REGISTER[15:8]/ CONTROL FRAME BUFFER2 ACCESS REGISTER[15:8]. Note: It is not necessary to finish reading out the complete 40 bytes of Control Command, as long as the data portion of the Control Command is read out, because writing h0002/ h0004 (16- bit mode) or h02/ h04 (8-bit mode) to COMMAND&STATUS indicates end of the Command. 6.4 Control Frame Reference Structure 8 th byte 7 th byte 6 th byte 5 th byte 4 th byte 3 rd byte CMD1 CMD0 16 th byte 15 th byte 14 th byte 13 th byte 12 th byte 11 th byte 10 th byte 9 th byte 24 th byte 23 rd byte 22 nd byte 21 st byte 20 th byte 19 th byte 18 th byte 17 th byte 32 nd byte 31 st byte 30 th byte 29 th byte 28 th byte 27 th byte 26 th byte 25 th byte 40 th byte 39 th byte 38 th byte 37 th byte 36 th byte 35 th byte 34 th byte 33 rd byte An empty box represents inconsequential data in the frame. If the empty box is in the middle of the data, the data must be read or sent whether the data is relevant or not. If only empty boxes follow the data, then the transmission of the frame (block) may be suspended, as far as the 8-byte boundary is respected. 24

25 6.5 Formats of Control Commands Requests From CPU to ZL5040x (1,2) CPU Frame General Structure For Memory Request FRAME SIZE ADDR CMD1 CMD0 Data7 Data6 Data5 Data4 Data3 Data2 Data1 Data0 Data15 Data14 Data13 Data12 Data11 Data10 Data9 Data8 Data23 Data22 Data21 Data20 Data19 Data18 Data17 Data16 Data 31 Data30 Data29 Data28 Data27 Data26 Data25 Data24 CMD0 [7:4] Command Code 0001 Memory Read Request 0010 Memory Write Request CMD0 [3:0] and CMD1 [7:0] Select the memory to be read/ written. See Memory Type Select. ADDR SIZE 24-bit memory address for read/write operation. The memory will be read or written in incremental mode from this address (See Internal Memory Addresses and 256 KB Buffer Memory Address for memory start and end address) The memory has a 64-bit bus, so each address represents a 8-byte entry. Memory burst size in 8 byte increments Read/Write 8 bytes Read/Write 16 bytes Read/Write 24 bytes Read/Write 32 bytes FRAME [6:0] The response frame will carry the same frame number. In this way the CPU can track the response. This number can be any from 00h to 7Fh. When writing data to the memory, it is not mandatory to identify the frame, as there is no response from the switch. DATA0~31 Note: Up to 32 bytes of data for write operation When writing a memory read request, the command can be finished before data 0. To indicate end of the command, COMMAND & STATUS[0] must be set. 25

26 Memory Type CMD0 [3:0] CMD1 [7:0] Memory Type Statistic Counter Memory Multicast Queue Allocation Table KB Internal Memory Buffer Manager Memory Rate Control Table Table 1 - Memory Type Select Memory Map Memory Type Start Address End Address Notes Statistic Counter Memory 0x x00004F See Statistic Counter Memory on page 27 Multicast Queue Allocation Table 0x x00001F See Multicast Queue Allocation Table on page KB Internal Memory 0x x007FFF See 256 KB Internal Memory on page 28 Buffer Manager Memory 0x x0000FF See Buffer Manager Memory on page 28 Rate Control Table 0x x00000F See Rate Control Table on page 28 Table 2 - Internal Memory Addresses 26

27 Statistic Counter Memory Statistic Counter Memory See Table Below Address 0x00 to 0x07 Address 0x08 to 0x0F 10/100 Port 0 10/100 Port 1 Address 0x38 to 0x3F Address 0x40 to 0x47 Address 0x48 to 0x4F 10/100 Port 7 RSVD Uplink port bit 63 bit 0 Figure 14 - Statistic Counter Memory Each port has 30 statistic counters. The CPU can read the counters content reading the statistic memory. Following are the counters for each port and the format when read out through the processor interface. Byte 7 Byte 6 Byte 5 Byte 4 Byte 3 Byte 2 Byte 1 Byte 0 0 C[2] C[1] C[0] 1 C[5] C[4] C[3] 2 C[7] C[6] 3 C[11] C[10] C[9] C[8] 4 C[15] C[14] C[13] C[12] 5 C[19] C[18] C[17] C[16] 6 C[24] C[23] C[22] C[21] C[20] 7 C[29] C[28] C[27] C[26] C[25] Table 3 - Statistic Counter Memory Format for Each Port C[0] Byte sent C[15] Oversize frames (frames > max. frame size, or frames >1522B but <= BUF_LIMIT with CRC error) C[1] Unicast frame sent C[16] Frames with length between 128 to 255 bytes C[2] Frame transmission failure C[17] Frames with length between 256 to 511 bytes C[3] Flow control frames sent C[18] Frames with length between 512 to 1023 bytes 27

28 C[4] Non-unicast frame sent C[19] Frames with length between 1024 to max. frame size bytes C[5] Bytes received (good or bad) C[20] Fragment C[6] Frame received (good or bad) C[21] Alignment error (also increments "CRC errors" counter) C[7] Total bytes received C[22] Undersize frames (frames < 64B) C[8] Total frames received C[23] CRC errors (note: frames >1522B but <= BUF_LIMIT with CRC error will be counted as "Oversize frames") C[9] Flow Control Frames Received C[24] Short event C[10] Multicast frames received C[25] Collision C[11] Broadcast frame received C[26] Frames dropped because of Tx (egress) queue congestion C[12] Frames with length of 64 bytes C[27] Frames filtered by the search engine C[13] Jabber frames (frames > 6400B size) C[28] Reserved C[14] Frames with length between 65 to 127 bytes C[29] Late Collision Multicast Queue Allocation Table See Programming QoS Registers, ZLAN-42, for details. 256 KB Internal Memory 256KB Internal Memory Start Address End Address Notes 192KB Frame Data Buffer (FDB) 0x x005FFF See Buffer Allocation Frame Control Block (FCB) 0x x0065FF, ZLAN-47, for details. Multicast Queues 0x x006BFF See Programming QoS Registers, ZLAN-42, for details. VLAN Table 0x006C00 0x006FFF See IEEE 802.1Q VLAN Setup, ZLAN-51, for details. MAC Control Table (MCT) 0x x007FFF Internal Use Only Buffer Manager Memory Internal use only. Rate Control Table See Rate Control, ZLAN-33, for details. Table KB Buffer Memory Address 28

29 (3) Unicast MAC Address Learn Structure The CPU can program a new MAC address in the switch MAC address database and define the port or ports associated with the new MAC address. The CPU can also define the status of the new MAC address. If there is no space in the MAC address database, the switch will send back a Delete MAC Address frame with the same frame number. FRAME VLANID1 VLANID0 CMD1 CMD0 PORT STAT MAC5 MAC4 MAC3 MAC2 MAC1 MAC0 CMD0 [7:4] Command Code CMD0 [3:0] and CMD1 [7:0] 0100 Learn MAC address All 0 s VLANID1 [3:0] VLANID0 [7:0] FRAME [6:0] MAC5 MAC0 4 most significant bits of a 12-bit VLAN ID 8 least significant bits of a 12-bit VLAN ID The response frame will carry the same frame number. In this way the CPU can track the response. This number can be any from 00h to 7Fh. MAC address to be learned. The search engine writes the MAC address to the memory. STAT [7:4] All 0 s Static MAC Address (STAT[2:0]=0x3) If MAC address is being learned as a static MAC address, bit [0] in MAC0 (known as MAC multicast bit, thus, always 0 for unicast addresses) is used to secure the port/trunk number to this MAC address. If set to 1, the port number is static, otherwise, if set to 0, the port number can change. STAT [3] STAT [2:0] Mirror this MAC address. Sometimes referred to the "M" bit. MAC status. See Definition for STAT[2:0]. PORT [7:5] All 0 s PORT [4:0] Port/Trunk number. If [4] = '0', [3:0] indicates port number (0-9) If [4] = '1', [2:0] indicates trunk number (0-7) If the learn request is for a static MAC address, bit [0] in MAC0 is used to secure this port/trunk number to the MAC address. 29

30 Invalid entry 000 Dynamic MAC Address 001 ReservedIP Multicast (Not used by the software) 010 Static MAC Address 011 Reserved 100 Static MAC Address with source and destination filter 101 Static MAC Address with source filter 110 Static MAC Address with destination filter 111 Table 5 - Definition for STAT[2:0] Dynamic MAC Address Mac address subject to aging Static MAC Address MAC address not subject to aging. Use bit [0] in MAC0 to secure this address to the port/trunk number. Static MAC Address with source and destination filter All incoming packets to the port associated to this MAC address will be blocked, if the source or destination MAC addresses are equal to this MAC address. Static MAC Address with source filter - All incoming packets to the port associated to this MAC address will be blocked, if the source MAC address is equal to this MAC address. Static MAC Address with destination filter - All incoming packets to the port associated to this MAC address will be blocked, if the destination MAC address is equal to this MAC address. 30

31 (4,5) Unicast MAC Address Search and Delete Structure The CPU can ask to the search engine to perform a MAC address search in the MAC address database or to delete a MAC address from the MAC address database. FRAME VLANID1 VLANID0 CMD1 CMD0 MAC5 MAC4 MAC3 MAC2 MAC1 MAC0 CMD0 [7:4] Command Code 0000 Delete MAC address 0011 Search MAC address CMD0 [3:0] and CMD1 [7:0] All 0 s VLANID1 [3:0] VLANID0 [7:0] MAC5 MAC0 FRAME [6:0] 4 most significant bits of a 12-bit VLAN ID 8 least significant bits of a 12-bit VLAN ID MAC address to be deleted or searched For MAC address delete structure: It is not mandatory to use the frame number, as there is no response from the ZL5040x. For MAC address search structure: enter a number between 0x00 and 0x7F. The response frame will have the same frame number. (6) IP Multicast Address Learn Structure The CPU can program a new IP multicast address. If there is no space in the IP database, the switch will send back a Delete IP Address frame with the same frame number identity. FRAME CMD1 CMD0 PRTMAP1 PRTMAP0 VLANID1 VLANID0 IP3 IP2 IP1 IP0 CMD0 [7:4] Command Code CMD0 [3:0] and CMD1 [7:0] 1100 Learn IP Multicast address All 0 s 31

32 FRAME [6:0] IP3 IP0 VLANID1 [3:0] VLANID0 [7:0] PRTMAP1 & 0 The response frame will carry the same frame number. In this way the CPU can track the response. This number can be any from 00h to 7Fh. 32-bit IP address 4 most significant bits of a 12-bit VLAN ID 8 least significant bits of a 12-bit VLAN ID 9-bit IP Multicast Port Map PRTMAP1 [7:0] - Port 7 to Port 0 PRTMAP0 [7] - Port 9 PRTMAP0 [6:0] - Reserved (7,8) IP Multicast Address Search and Delete Structure The CPU can ask to the search engine to perform a search in the IP multicast address database or to delete an IP multicast address from the IP multicast database. FRAME CMD1 CMD0 VLANID1 VLANID0 IP3 IP2 IP1 IP0 CMD0 [7:4] Command Code 1000 Delete IP address 1011 Search IP address CMD0 [3:0] and CMD1 [7:0] All 0 s IP3 IP0 VLANID1 [3:0] VLANID0 [7:0] FRAME [6:0] 32-bit IP address 4 most significant bits of a 12-bit VLAN ID 8 least significant bits of a 12-bit VLAN ID Delete IP address structure: It is not mandatory to use the frame number, as there is no response from the ZL5040x. Search IP address structure: enter a number between 0x00 and 0x7F to identify the frame. The response frame will have the same number. 32

33 (9) Multicast MAC Address Learn Structure The CPU can program a new multicast MAC address in the switch MAC address database and define the port or ports associated with the new multicast MAC address. If there is no space in the MAC address database, the switch will send back a Delete Multicast MAC Address frame with the same frame number. FRAME VLANID1 VLANID0 CMD1 CMD0 PRTMAP1 PRTMAP0 MAC5 MAC4 MAC3 MAC2 MAC1 MAC0 CMD0 [7:4] Command Code CMD0 [3:0] and CMD1 [7:0] 0101 Learn Multicast MAC Address All 0 s VLANID1 [3:0] VLANID0 [7:0] FRAME [6:0] MAC5 MAC0 PRTMAP1 & 0 4 most significant bits of a 12-bit VLAN ID 8 least significant bits of a 12-bit VLAN ID The response frame will carry the same frame number. In this way the CPU can track the response. This number can be any from 00h to 7Fh. MAC address to be learned. The search engine writes the MAC address to the memory. 9-bit Multicast Port Map PRTMAP1 [7:0] - Port 7 to Port 0 PRTMAP0 [7] - Port 9 PRTMAP0 [6:0] - Reserved 33

ZL50407 Lightly Managed/Unmanaged 8FE + 1GE Layer-2 Ethernet Switch

ZL50407 Lightly Managed/Unmanaged 8FE + 1GE Layer-2 Ethernet Switch Lightly Managed/Unmanaged 8FE + 1GE Layer-2 Ethernet Switch Zarlink Features Integrated Single-Chip 10/100/1000 Mbps Ethernet Switch Eight 10/100 Mbps auto-negotiating Fast Ethernet (FE) ports with RMII,

More information

Monitoring Ports. Port State

Monitoring Ports. Port State The Ports feature available on the ME 1200 Web GUI allows you to monitor the various port parameters on the ME 1200 switch. Port State, page 1 Port Statistics Overview, page 2 QoS Statistics, page 2 QCL

More information

78Q8430 Software Driver Development Guidelines

78Q8430 Software Driver Development Guidelines 78Q8430 Software Driver Development Guidelines February, 2008 Rev. 1.0 78Q8430 Software Driver Development Guidelines UG_8430_004 2008 Teridian Semiconductor Corporation. All rights reserved. Teridian

More information

8 PORT LOW COST 10/100 SWITCH

8 PORT LOW COST 10/100 SWITCH 8 PORT LOW COST 10/100 SWITCH AL103 Revision 1.0 Supports 8 10/100 Mbit/s MII ports Capable of trunking up to 800 Mbit/s link Trunk fail-over feature Full- and half-duplex mode operation Speed auto-negotiation

More information

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015

ETH. Ethernet MAC with Timestamp Extension. TCD30xx User Guide. Revision July 17, 2015 TCD30xx User Guide ETH Ethernet MAC with Timestamp Extension Revision 1.0.0-41582 July 17, 2015 Copyright 2015, TC Applied Technologies. All rights reserved. LIST OF TABLES... 16-3 LIST OF FIGURES... 16-4

More information

Micrel KSZ8852HL Step-by-Step Programmer s Guide

Micrel KSZ8852HL Step-by-Step Programmer s Guide Micrel KSZ8852HL Step-by-Step Version 1.1 October 31, 2013 - Page 1 - Revision History Revision Date Summary of Changes 1.0 10/14/2013 First release. 1.1 10/31/2013 Correct section 2, step 9; section 4.1,

More information

AN4 QCA7000 SPI / UART Protocol

AN4 QCA7000 SPI / UART Protocol AN4 QCA7000 SPI / UART Protocol I2SE GmbH: Christian Aurich, Stefan Wahren June 14, 2018 1/11 CONTENTS CONTENTS Contents 1 Revisions 3 2 Introduction 3 3 SPI Physical Layer 3 4 UART Physical Layer 3 5

More information

80C300. Full Duplex CMOS Ethernet 10/100 Mega Bit/Sec Data Link Controller 98012

80C300. Full Duplex CMOS Ethernet 10/100 Mega Bit/Sec Data Link Controller 98012 Full Duplex HURRICANE TM 80C300 Full Duplex CMOS Ethernet 10/100 Mega Bit/Sec Data Link Controller 98012 Features Low Power CMOS Technology 10/100 MBit Ethernet Controller Optimized for Switching Hub,

More information

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX

Read section 8 of this document for detailed instructions on how to use this interface spec with LibUSB For OSX CP2130 INTERFACE SPECIFICATION 1. Introduction The Silicon Labs CP2130 USB-to-SPI bridge is a device that communicates over the Universal Serial Bus (USB) using vendor-specific control and bulk transfers

More information

Table 1: Cross Reference of Applicable Products

Table 1: Cross Reference of Applicable Products Standard Product Enable the Ethernet MAC Controller Module Application Note September 29, 2017 The most important thing we build is trust Table 1: Cross Reference of Applicable Products PRODUCT NAME MANUFACTURER

More information

5 MEMORY. Figure 5-0. Table 5-0. Listing 5-0.

5 MEMORY. Figure 5-0. Table 5-0. Listing 5-0. 5 MEMORY Figure 5-0 Table 5-0 Listing 5-0 The processor s dual-ported SRAM provides 544K bits of on-chip storage for program instructions and data The processor s internal bus architecture provides a total

More information

ZLAN-42 Applications of the ZL50400/4/5/7/8/9/10/11 Programming QoS Registers

ZLAN-42 Applications of the ZL50400/4/5/7/8/9/10/11 Programming QoS Registers Applications of the ZL50400/4/5/7/8/9/10/11 Programming QoS Registers Contents 1.0 Introduction............................. 1 2.0 Internal Priority Set up.................... 1 2.1 Using Fixed Priority.....................

More information

Digital UART Product Specification

Digital UART Product Specification Copyright 2016 Zilog, Inc. All rights reserved. www.zilog.com DIgital UART ii Warning: DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS. LIFE SUPPORT POLICY ZILOG'S PRODUCTS ARE NOT AUTHORIZED FOR USE AS

More information

Introduction to Ethernet and lab3.3

Introduction to Ethernet and lab3.3 Introduction to Ethernet and lab3.3 maglun@sm.luth.se Nov 200 Computation structures Agenda Introduction History Components (MAC, PHY) Packet format CRC Bit order Hubs, Switches and Routers Questions Computation

More information

TPMC Channel Isolated Serial Interface RS232. Version 1.0. User Manual. Issue August 2017

TPMC Channel Isolated Serial Interface RS232. Version 1.0. User Manual. Issue August 2017 The Embedded I/O Company TPMC860 4 Channel Isolated Serial Interface RS232 Version 1.0 User Manual Issue 1.0.4 August 2017 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany Phone: +49 (0) 4101

More information

DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface (RMII ) Mode

DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface (RMII ) Mode DP83848 Single 10/100 Mb/s Ethernet Transceiver Reduced Media Independent Interface (RMII ) Mode 1.0 Introduction National s DP83848 10/100 Mb/s single port Physical Layer device incorporates the low pin

More information

Version 1.5 8/10/2010

Version 1.5 8/10/2010 Version 1.5 8/10/2010 - Page 1 - Revision History Revision Date Summary of Changes 1.5 8/10/2010 Change section 2, step 7, 11. Disable ICMP checksum because it is only for non-fragment frame). Added section

More information

I 2 C Application Note in Protocol B

I 2 C Application Note in Protocol B I 2 C Application Note in Protocol B Description This document is a reference for a possible coding method to achieve pressure, temperature, and status for SMI part readings using I 2 C. This SMI Protocol

More information

Integrated Device Technology, Inc Stender Way, Santa Clara, CA Phone #: (408) Fax #: (408) Errata Notification

Integrated Device Technology, Inc Stender Way, Santa Clara, CA Phone #: (408) Fax #: (408) Errata Notification Integrated Device Technology, Inc. 2975 Stender Way, Santa Clara, CA - 95054 Phone #: (408) 727-6116 Fax #: (408) 727-2328 Errata Notification EN #: IEN01-02 Errata Revision #: 11/5/01 Issue Date: December

More information

FEATURES AACK 1 ARXBIT6 2 AINT 3 ARXBIT7 4 SCANSHIFT 5 ARX2N 6 ARX3P 7 VDD 8 GND 9 ARX3N 10 ARX4P 11 ARX4N 12 ARX5P 13 ARX5N 14 ARX6P 15 ARX6N 16

FEATURES AACK 1 ARXBIT6 2 AINT 3 ARXBIT7 4 SCANSHIFT 5 ARX2N 6 ARX3P 7 VDD 8 GND 9 ARX3N 10 ARX4P 11 ARX4N 12 ARX5P 13 ARX5N 14 ARX6P 15 ARX6N 16 April 2018 HI-3210 ARINC 429 DATA MANAGEMENT ENGINE / Octal Receiver / Quad Transmitter GENERAL DESCRIPTION The HI-3210 from Holt Integrated Circuits is a single chip CMOS data management IC capable of

More information

Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V2.0 / Firmware V1.0

Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V2.0 / Firmware V1.0 Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V2.0 / Firmware V1.0 2006 06 18 / Michael Bäuerle Preamble The goal of this project

More information

Application Note 126. QoS Priority Support KS8993M / KS8995MA / XA. Introduction. Egress Port Priority Mechanism. Strict Priority Queuing

Application Note 126. QoS Priority Support KS8993M / KS8995MA / XA. Introduction. Egress Port Priority Mechanism. Strict Priority Queuing Application Note 126 QoS Priority Support KS8993M / KS8995MA / XA Introduction Latency critical applications such as Voice over IP (VoIP) and video typically need to guarantee a minimum quality of service

More information

TPMC810. Isolated 2x CAN Bus. Version 1.1. User Manual. Issue June 2009

TPMC810. Isolated 2x CAN Bus. Version 1.1. User Manual. Issue June 2009 The Embedded I/O Company TPMC810 Isolated 2x CAN Bus Version 1.1 User Manual Issue 1.1.6 June 2009 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek / Germany Phone: +49-(0)4101-4058-0 Fax: +49-(0)4101-4058-19

More information

AN-799 APPLICATION NOTE

AN-799 APPLICATION NOTE APPLICATION NOTE One Technology Way P.O. Box 9106 Norwood, MA 02062-9106 Tel: 781/329-4700 Fax: 781/461-3113 www.analog.com ADV202 Test Modes by Christine Bako INTRODUCTION This application note applies

More information

System Design Guide for Slave

System Design Guide for Slave System Design Guide for Slave Motor Business Unit Appliances Company 2012/2/15 Rev. 2 Page 1 Revision History Revision Date Change Description 1 2010/3/3 Initial Release 2 2012/2/15 P1 Changed title from

More information

Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide Updated for Intel Quartus Prime Design Suite: 18.0 Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents

More information

Tri-Speed Ethernet MAC IP User Guide

Tri-Speed Ethernet MAC IP User Guide Tri-Speed Ethernet MAC IP User Guide April 2015 IPUG51_3.3 Table of Contents Chapter 1. Introduction... 5 Quick Facts... 5 Features... 6 Chapter 2. Functional Description... 7 Configuration Options...

More information

Pretty Good Protocol - Design Specification

Pretty Good Protocol - Design Specification Document # Date effective October 23, 2006 Author(s) Ryan Herbst Supersedes Draft Revision 0.02 January 12, 2007 Document Title Pretty Good Protocol - Design Specification CHANGE HISTORY LOG Revision Effective

More information

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14 The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14 Using MSI Logic To Build An Output Port Many designs use standard MSI logic for microprocessor expansion This provides an inexpensive

More information

Section 13. Parallel Master Port (PMP)

Section 13. Parallel Master Port (PMP) Section 13. Parallel Master Port (PMP) HIGHLIGHTS This section of the manual contains the following major topics: 13.1 Introduction... 13-2 13.2 Control Registers...13-3 13.3 Master Modes of Operation...13-12

More information

UltraScale Architecture Integrated Block for 100G Ethernet v1.4

UltraScale Architecture Integrated Block for 100G Ethernet v1.4 UltraScale Architecture Integrated Block for 100G Ethernet v1.4 LogiCORE IP Product Guide Vivado Design Suite Table of Contents IP Facts Chapter 1: Overview Feature Summary..................................................................

More information

AN434: CP2110/4 Interface Specification

AN434: CP2110/4 Interface Specification The Silicon Laboratories CP2110 and CP2114 are USB devices that comply with the USB-defined HID (Human Interface Device) class specification. The USB host communicates with HID devices through the use

More information

10Mb/s-/100Mb/s Ethernet Controller

10Mb/s-/100Mb/s Ethernet Controller PAUSE FLOW CONTROL 10Mb/s-/100Mb/s Ethernet Controller MB86974 Package 144-pin, plastic QFP FPT-144P-M08 Description The Fujitsu MB86974 is a high-quality Ethernet controller that offers many benefits

More information

AL125 Revision Port 10/100 Mbit/s Dual Speed Fast Ethernet Switch. Product Description

AL125 Revision Port 10/100 Mbit/s Dual Speed Fast Ethernet Switch. Product Description AL125 Revision 1.0 8 Port 10/100 Mbit/s Dual Speed Fast Ethernet Switch Supports seven 10/100 Mbit/s Ethernet ports with RMII and one 10/100 Mbit/s Ethernet port with MII/RMII interface Capable of trunking

More information

Application Note 2871 Step-by-Step Configuration for Configuration Mode (DS31256)

Application Note 2871 Step-by-Step Configuration for Configuration Mode (DS31256) www.maxim-ic.com INTRODUCTION This application note describes an example of how to configure a single T1 port on the DS31256 while operating in configuration mode. Additionally, this example describes

More information

TPMC Channel Isolated Serial Interface RS422/RS485. Version 1.0. User Manual. Issue July 2009

TPMC Channel Isolated Serial Interface RS422/RS485. Version 1.0. User Manual. Issue July 2009 The Embedded I/O Company TPMC861 4 Channel Isolated Serial Interface RS422/RS485 Version 1.0 User Manual Issue 1.0.3 July 2009 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany Phone: +49 (0)

More information

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers Application Note, V1.0, Jul. 2006 AP16095 XC16x Interfacing the XC16x Microcontroller to a Serial SPI EEPROM Microcontrollers Edition 2006-07-10 Published by Infineon Technologies AG 81726 München, Germany

More information

24+1-port Management Switch Controller with 24 PHYs inside (SOC_90nm, Green & Management)

24+1-port Management Switch Controller with 24 PHYs inside (SOC_90nm, Green & Management) 24+1-port Management Switch Controller with 24 PHYs inside (SOC_90nm, Green & Management) Features 25 Ports 10/100Mb Ethernet Layer 2 Smart Switch - Built-in 24 PHYs - One MII interface Store & Forward,

More information

TPMC Channel Motion Control. User Manual. The Embedded I/O Company. Version 1.0. Issue 1.3 March 2003 D

TPMC Channel Motion Control. User Manual. The Embedded I/O Company. Version 1.0. Issue 1.3 March 2003 D The Embedded I/O Company TPMC118 6 Channel Motion Control Version 1.0 User Manual Issue 1.3 March 2003 D76118800 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek / Germany Phone: +49-(0)4101-4058-0

More information

KSZ8864 Evaluation Board User s Guide

KSZ8864 Evaluation Board User s Guide KSZ8864 Evaluation Board User s Guide KSZ8864 Integrated 4-port 10/100 Ethernet Managed Switch Rev 1.1 May 2014 Micrel Inc. Page 1 5/9/2014 Table of contents 1.0 Introduction... 4 2.0 Features... 4 3.0

More information

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features

CAN / RS485. Product Description. Technical Reference Note. Interface Adapter. Special Features CAN / Interface Adapter For SHP Series Total Power: < 1 Watts Input Voltage: 5V Internal Outputs: CAN,, USB, I 2 C Special Features Input Protocols: 1) using Modbus 2) CAN using modified Modbus Output

More information

LAN9303/LAN9303i. Small Form Factor Three Port 10/100 Managed Ethernet Switch with Single MII/RMII/Turbo MII PRODUCT FEATURES.

LAN9303/LAN9303i. Small Form Factor Three Port 10/100 Managed Ethernet Switch with Single MII/RMII/Turbo MII PRODUCT FEATURES. LAN9303/LAN9303i Small Form Factor Three Port Managed Ethernet Switch with Single /R/Turbo PRODUCT FEATURES Highlights Up to 200Mbps via Turbo Interface High performance, full featured 3 port switch with

More information

CSIX-L1: Common Switch Interface Specification-L1

CSIX-L1: Common Switch Interface Specification-L1 Page i Issue: Public Distribution Date: //000 CSIX-L: Common Switch Interface Specification-L 0 Summary: This specification defines CSIX-L a Common Switch Interface (CSIX) between a Traffic Manager and

More information

Clock Synchronous Control Module for Serial Flash Memory Access Firmware Integration Technology

Clock Synchronous Control Module for Serial Flash Memory Access Firmware Integration Technology APPLICATION NOTE RX Family R01AN2662EJ0234 Rev.2.34 Introduction This application note explains how to control and use serial flash memory with microcontrollers manufactured by Renesas Electronics. Refer

More information

KSZ8895FMQ Evaluation Board User s Guide

KSZ8895FMQ Evaluation Board User s Guide KSZ8895FMQ Evaluation Board User s Guide KSZ8895FMQ Integrated 5-port 10/100 Ethernet Managed Switch Rev 1.0 January 2013 Micrel Inc. Page 1 1/8/2013 Table of contents 1.0 Introduction... 5 2.0 Features...

More information

H1PROT.PDF 14 Pages Last Revised 02/11/06. Micro RWD H1/S Protocol

H1PROT.PDF 14 Pages Last Revised 02/11/06. Micro RWD H1/S Protocol Data Sheet H1PROT.PDF 14 Pages Last Revised 02/11/06 Micro RWD H1/S Protocol The MicroRWD H1/S version is a complete reader and tag acceptance solution for Hitag 1 RF transponders (including Hitag S256

More information

TPMC815 ARCNET PMC. User Manual. The Embedded I/O Company. Version 2.0. Issue 1.2 November 2002 D

TPMC815 ARCNET PMC. User Manual. The Embedded I/O Company. Version 2.0. Issue 1.2 November 2002 D The Embedded I/O Company TPMC815 ARCNET PMC Version 2.0 User Manual Issue 1.2 November 2002 D76815804 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek / Germany Phone: +49-(0)4101-4058-0 Fax: +49-(0)4101-4058-19

More information

Configuring Interfaces

Configuring Interfaces CHAPTER 6 The chapter applies to the ML-Series (ML100T-2, ML100X-8, ML1000-2 cards. This chapter describes basic interface configuration for the ML-Series card to help you get your ML-Series card up and

More information

QBridge. I2C, SPI, CAN Control Software User s Manual. Date: Rev 1.3

QBridge. I2C, SPI, CAN Control Software User s Manual. Date: Rev 1.3 QBridge I2C, SPI, CAN Control Software User s Manual Date: 9-10-2005 Rev 1.3 1. Introduction...1 1.1. What QBridge can do?... 1 1.2. Disclaimer... 1 1.3. Operational Format... 1 1.4. QBridge-V2... 1 2.

More information

HI Fully Integrated MIL-STD-1553 BC/RT/MT. HI-6200, HI-6202 Families. December HI-6200 Rev. C

HI Fully Integrated MIL-STD-1553 BC/RT/MT. HI-6200, HI-6202 Families. December HI-6200 Rev. C HI-6200 Fully Integrated MIL-STD-1553 BC/RT/MT HI-6200, HI-6202 Families December 2018 HI-6200 Rev C 2 Overview 1 Overview The HI-6200 family is a fully integrated and dual redundant MIL-STD-1553 BC/RT/MT

More information

The RS-485 user manual for B800 series communication

The RS-485 user manual for B800 series communication The user manual of B800 Series Rs-485 The RS-485 user manual for B800 series RS-232 inbuilt inside the main board of B800 series frequency inverter, we can effect RS-485 through fitting board externally.

More information

ATM-DB Firmware Specification E. Hazen Updated January 4, 2007

ATM-DB Firmware Specification E. Hazen Updated January 4, 2007 ATM-DB Firmware Specification E. Hazen Updated January 4, 2007 This document describes the firmware operation of the Ethernet Daughterboard for the ATM for Super- K (ATM-DB). The daughterboard is controlled

More information

128K Bit Dual-Port SRAM with PCI Bus Controller

128K Bit Dual-Port SRAM with PCI Bus Controller 9449PV PRELIMINARY Features 128K bits of dual-ported shared memory Master and Target PCI Specification 2.2 compliant interface Embedded host bridge capability Direct interface to many microprocessors I

More information

Each I2C master has 8-deep transmit and receive FIFOs for efficient data handling. SPI to Dual I2C Masters. Registers

Each I2C master has 8-deep transmit and receive FIFOs for efficient data handling. SPI to Dual I2C Masters. Registers February 205 Introduction Reference Design RD73 I2C and SPI are the two widely used bus protocols in today s embedded systems. The I2C bus has a minimum pin count requirement and therefore a smaller footprint

More information

TOE10G-IP Core. Core Facts

TOE10G-IP Core. Core Facts May 18, 2016 Product Specification Rev1.0 Design Gateway Co.,Ltd 54 BB Building 14 th Fl., Room No.1402 Sukhumvit 21 Rd. (Asoke), Klongtoey-Nua, Wattana, Bangkok 10110 Phone: (+66) 02-261-2277 Fax: (+66)

More information

Specification E2 Interface

Specification E2 Interface Specification E2 Interface Version 4.1 Name Date Created: Robert Mayr. 15.04.2011 Checked: Haider A. 15.04.2011 Approved: Reason for change: Text corrections TABLE OF CONTENTS 1 INTRODUCTION... 3 1.1 Overview..................................................................................................................

More information

Data Link Protocols. High Level Data. Control Protocol. HDLC Framing ~~~~~~~~ Functions of a Data Link Protocol. Framing PDUs. Addressing Destination

Data Link Protocols. High Level Data. Control Protocol. HDLC Framing ~~~~~~~~ Functions of a Data Link Protocol. Framing PDUs. Addressing Destination Data Link Protocols Data Link Services Connection-less services Functions of a Data Link Protocol Framing PDUs ing Destination Error Detection / Error Recovery Link Management Ethernet (covered elsewhere)

More information

128 Kb Dual-Port SRAM with PCI Bus Controller (PCI-DP)

128 Kb Dual-Port SRAM with PCI Bus Controller (PCI-DP) 128 Kb Dual-Port SRAM with PCI Bus Controller (PCI-DP) Features 128 Kb of dual-ported shared memory Master and target PCI Specification 2.2 compliant interface Embedded host bridge capability Direct interface

More information

LAN bit Non-PCI Small Form Factor 10/100 Ethernet Controller with Variable Voltage I/O & HP Auto-MDIX Support PRODUCT FEATURES.

LAN bit Non-PCI Small Form Factor 10/100 Ethernet Controller with Variable Voltage I/O & HP Auto-MDIX Support PRODUCT FEATURES. LAN9220 16-bit Non-PCI Small Form Factor 10/100 Ethernet Controller with Variable Voltage I/O & HP Auto-MDIX Support PRODUCT FEATURES Highlights Efficient architecture with low CPU overhead Easily interfaces

More information

CODA Online Data Formats

CODA Online Data Formats CODA Online Data Formats Evio Header Formats Bank : 32 bits MSB (31) LSB (0) Length (32 bit words, exclusive) Tag (16 bits) (2) Type (6) Num (8) Segment : Padding Tag (8 bits) (2) Type (6) Length (16)

More information

The local bus can operate in two modes in DS31256:

The local bus can operate in two modes in DS31256: Maxim > App Notes > TELECOM Keywords: DS31256, HDLC controller, bridge mode, Nov 21, 2003 APPLICATION NOTE 2872 DS31256 HDLC Controller Step-by-Step Configuration Bridge Mode Abstract: This application

More information

Low Latency 100G Ethernet Design Example User Guide

Low Latency 100G Ethernet Design Example User Guide Low Latency 100G Ethernet Design Example User Guide Updated for Intel Quartus Prime Design Suite: 16.1 Subscribe Send Feedback Latest document on the web: PDF HTML Contents Contents 1 Quick Start Guide...

More information

Discontinued IP. OPB Ethernet Lite Media Access Controller (v1.01b) Introduction. Features. LogiCORE Facts

Discontinued IP. OPB Ethernet Lite Media Access Controller (v1.01b) Introduction. Features. LogiCORE Facts 0 OPB Ethernet Lite Media Access Controller (v1.01b) DS441 March 3, 2006 0 0 Introduction The Ethernet Lite MAC (Media Access Controller) is designed to incorporate the applicable features described in

More information

ADI-SPI. Technical Specification. Serial Control Interface Standard (Rev 1.0)

ADI-SPI. Technical Specification. Serial Control Interface Standard (Rev 1.0) Technical Specification Serial Control Interface Standard (Rev 1.0) 2 Keywords SPI, SIF, Interface 3 Contents 1 Scope... 5 1.1 Compliance... 5 2 References... 5 3 Definitions, symbols and abbreviations...

More information

DYNAMIC ENGINEERING 150 DuBois St. Suite C, Santa Cruz, Ca Fax Est.

DYNAMIC ENGINEERING 150 DuBois St. Suite C, Santa Cruz, Ca Fax Est. DYNAMIC ENGINEERING 150 DuBois St. Suite C, Santa Cruz, Ca 95060 831-457-8891 Fax 831-457-4793 http://www.dyneng.com sales@dyneng.com Est. 1988 User Manual PMC-PARALLEL-TTL-BA16 Digital Parallel Interface

More information

UDP1G-IP Core. Core Facts

UDP1G-IP Core. Core Facts August 10, 2018 Product Specification Rev1.2 Design Gateway Co.,Ltd 54 BB Building 14 th Fl., Room No.1402 Sukhumvit 21 Rd. (Asoke), Klongtoey-Nua, Wattana, Bangkok 10110 Phone: 66(0)2-261-2277 Fax: 66(0)2-261-2290

More information

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014 The Embedded I/O Company TPMC461 8 Channel Serial Interface RS232/RS422 Version 1.0 User Manual Issue 1.0.6 August 2014 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany www.tews.com Phone:

More information

Section 16. Basic Sychronous Serial Port (BSSP)

Section 16. Basic Sychronous Serial Port (BSSP) M 16 Section 16. Basic Sychronous Serial Port (BSSP) BSSP HIGHLIGHTS This section of the manual contains the following major topics: 16.1 Introduction...16-2 16.2 Control Registers...16-3 16.3 SPI Mode...16-6

More information

Software user manual for SJA1105TEL

Software user manual for SJA1105TEL Software user manual for SJA1105TEL Rev. 1 25 January 2017 User manual Document information Info Keywords Abstract Content SJA1105TEL, Ethernet, software registers This user manual describes the configuration

More information

KSZ8895MQ/RQ Evaluation Board User s Guide

KSZ8895MQ/RQ Evaluation Board User s Guide KSZ8895MQ/RQ Evaluation Board User s Guide KSZ8895 Family Integrated 5-port 10/100 Ethernet Managed Switch Rev 1.2 January 2013 Micrel Inc. Page 1 1/8/2013 Table of contents 1.0 Introduction... 5 2.0 Features...

More information

Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V1.0.1 / Firmware V0.0

Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V1.0.1 / Firmware V0.0 Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V1.0.1 / Firmware V0.0 Final 2005 07 16 / Michael Bäuerle Preamble The goal of this

More information

Introduction to Ethernet. Guy Hutchison 8/30/2006

Introduction to Ethernet. Guy Hutchison 8/30/2006 Introduction to Ethernet Guy Hutchison 8/30/2006 What is Ethernet? Local area transport protocol Layer 2 of the OSI stack Zero/minimal configuration Low-cost, high performance Best-effort delivery Original

More information

JMY505G User's Manual

JMY505G User's Manual JMY505G User's Manual (Revision 3.42) Jinmuyu Electronics Co. LTD 2011/6/28 Please read this manual carefully before using. If any problem, please mail to: jinmuyu@vip.sina.com Contents 1 Product introduction...

More information

EMBED2000+ Data Sheet

EMBED2000+ Data Sheet EMBED2000+ Data Sheet Description The Ocean Optics EMBED2000+ Spectrometer includes the linear CCD-array optical bench, plus all the circuits necessary to operate the array and convert to a digital signal.

More information

Low Latency 40G Ethernet Example Design User Guide

Low Latency 40G Ethernet Example Design User Guide Low Latency 40G Ethernet Example Design User Guide Subscribe UG-20025 101 Innovation Drive San Jose, CA 95134 www.altera.com TOC-2 Contents Quick Start Guide...1-1 Directory Structure... 1-2 Design Components...

More information

Addressing scheme to address a specific devices on a multi device bus Enable unaddressed devices to automatically ignore all frames

Addressing scheme to address a specific devices on a multi device bus Enable unaddressed devices to automatically ignore all frames 23. USART 23.1 Features Full-duplex operation Asynchronous or synchronous operation Synchronous clock rates up to 1/2 of the device clock frequency Asynchronous clock rates up to 1/8 of the device clock

More information

UDP10G-IP reference design manual

UDP10G-IP reference design manual UDP10G-IP reference design manual Rev1.2 22-Mar-18 1 Introduction Comparing to TCP, UDP provides a procedure to send messages with a minimum of protocol mechanism, but the data cannot guarantee to arrive

More information

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014

TPMC Channel Serial Interface RS232/RS422. Version 1.0. User Manual. Issue August 2014 The Embedded I/O Company TPMC460 16 Channel Serial Interface RS232/RS422 Version 1.0 User Manual Issue 1.0.6 August 2014 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany www.tews.com Phone:

More information

DS1676 Total Elapsed Time Recorder, Erasable

DS1676 Total Elapsed Time Recorder, Erasable www.dalsemi.com Preliminary DS1676 Total Elapsed Time Recorder, Erasable FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed

More information

SwitchLinc 2-Wire Dimmer (RF Only) (2474DWH - Dev 0x01 / Sub 0x24)

SwitchLinc 2-Wire Dimmer (RF Only) (2474DWH - Dev 0x01 / Sub 0x24) Developer Notes SwitchLinc 2-Wire Dimmer v004 Developer Notes SwitchLinc 2-Wire Dimmer (RF Only) (2474DWH - Dev 0x01 / Sub 0x24) Version 003 April 23, 2012 Revision History Rev Date Comments 001 1/27/12

More information

Draft AVBTP over IEEE 802.3

Draft AVBTP over IEEE 802.3 Draft AVBTP over IEEE 802.3 AVB stream data format Version 0.02, 2007-03-27 Alan K. Bartky alan@bartky.net Send comments to AVBTP@listserv.ieee.org March 27, 2007 AVB transport SG working paper 1 Revision

More information

DALLAS SEMICONDUCTOR. DS3134 CHATEAU CHAnnelized T1 and E1 And Universal HDLC CONTROLLER

DALLAS SEMICONDUCTOR. DS3134 CHATEAU CHAnnelized T1 and E1 And Universal HDLC CONTROLLER DALLAS SEMICONDUCTOR DS3134 CHATEAU CHAnnelized T1 and E1 And Universal HDLC CONTROLLER 256 Channel HDLC Controller that Supports up to 56 T1 or E1 Lines or Two T3 Lines Preliminary Data Sheet Version

More information

White Paper Using the MAX II altufm Megafunction I 2 C Interface

White Paper Using the MAX II altufm Megafunction I 2 C Interface White Paper Using the MAX II altufm Megafunction I 2 C Interface Introduction Inter-Integrated Circuit (I 2 C) is a bidirectional two-wire interface protocol, requiring only two bus lines; a serial data/address

More information

Using the FADC250 Module (V1C - 5/5/14)

Using the FADC250 Module (V1C - 5/5/14) Using the FADC250 Module (V1C - 5/5/14) 1.1 Controlling the Module Communication with the module is by standard VME bus protocols. All registers and memory locations are defined to be 4-byte entities.

More information

RX Family, RL78 Family

RX Family, RL78 Family Introduction APPLICATION NOTE This application note explains the method of controlling R1EV24xxx, R1EX24xxx, and HN58X24xxx series I 2 C serial EEPROM, manufactured by Renesas Electronics, by using a Renesas

More information

Concepts of Serial Communication

Concepts of Serial Communication Section 6. Serial Communication Communication Using Serial Interfaces: UART and SPI Concepts of Serial Communication Limitations of Parallel Bus Clock skew becomes a serious issue for high speed and long

More information

LogiCORE IP AXI Ethernet v6.0

LogiCORE IP AXI Ethernet v6.0 LogiCORE IP AXI Ethernet v6.0 Product Guide for Vivado Design Suite Table of Contents IP Facts Chapter 1: Overview How To Use This Document......................................................... 5 Feature

More information

VORAGO VA108x0 I 2 C programming application note

VORAGO VA108x0 I 2 C programming application note AN1208 VORAGO VA108x0 I 2 C programming application note MARCH 14, 2017 Version 1.1 VA10800/VA10820 Abstract There are hundreds of peripheral devices utilizing the I 2 C protocol. Most of these require

More information

Application Guide. VLANs for improved Q-SYS performance

Application Guide. VLANs for improved Q-SYS performance Application Guide Rev. A, 6 June 2018 OPTIMIZE Q-SYS PERFORMANCE: CREATE DEDICATED VLANS. One way to greatly ensure the reliability and performance of a Q-SYS network is putting Q-SYS traffic on one or

More information

TMS320C672x DSP Serial Peripheral Interface (SPI) Reference Guide

TMS320C672x DSP Serial Peripheral Interface (SPI) Reference Guide TMS320C672x DSP Serial Peripheral Interface (SPI) Reference Guide Literature Number: SPRU718B October 2005 Revised July 2007 2 SPRU718B October 2005 Revised July 2007 Contents Preface... 6 1 Overview...

More information

PCI-4IPM Revision C. Second Generation Intelligent IP Carrier for PCI Systems Up to Four IndustryPack Modules Dual Ported SRAM, Bus Master DMA

PCI-4IPM Revision C. Second Generation Intelligent IP Carrier for PCI Systems Up to Four IndustryPack Modules Dual Ported SRAM, Bus Master DMA PCI-4IPM Revision C Second Generation Intelligent IP Carrier for PCI Systems Up to Four IndustryPack Modules Dual Ported SRAM, Bus Master DMA REFERENCE MANUAL 781-21-000-4000 Version 2.1 April 2003 ALPHI

More information

VPGate Manual PROFIBUS to serial

VPGate Manual PROFIBUS to serial VPGate Manual PROFIBUS to serial Important information Purpose of the Manual This user manual provides information how to work with the VPGate PROFIBUS to serial. Document Updates You can obtain constantly

More information

TSS463C. VAN Data Link Controller with Serial Interface. Features. Description

TSS463C. VAN Data Link Controller with Serial Interface. Features. Description Features Fully Compliant to VAN Specification ISO/11519-3 Handles All Specified Module Types Handles All Specified Message Types Handles Retransmission of Frames on Contention and Errors 3 Separate Line

More information

10/100M Ethernet-FIFO convertor

10/100M Ethernet-FIFO convertor 10/100M Ethernet-FIFO convertor Author: Gurenliang gurenliang@gmail.com Rev 1.0 September 23, 2009 List of Contents List of Contents... II List of Tables... III List of Figures... IV 1 Introduction...

More information

TCP Channel Serial Interface RS232 / RS422 cpci Module. User Manual. The Embedded I/O Company. Version 1.0. Issue 1.

TCP Channel Serial Interface RS232 / RS422 cpci Module. User Manual. The Embedded I/O Company. Version 1.0. Issue 1. The Embedded I/O Company TCP866 8 Channel Serial Interface RS232 / RS422 cpci Module Version 1.0 User Manual Issue 1.3 September 2006 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 Phone: +49-(0)4101-4058-0 25469

More information

Arista EOS Central Drop Counters

Arista EOS Central Drop Counters Arista EOS Central Drop Counters eos.arista.com /eos-4-15-3f/drop-counters/ With this feature, user can fetch various internal hardware info from each switch and isolate the switch or fabric card or SerDes

More information

MAMBA TM : HI V MIL-STD-1553 / MIL-STD-1760 Compact Remote Terminal with SPI Host Interface GENERAL DESCRIPTION PIN CONFIGURATION (TOP)

MAMBA TM : HI V MIL-STD-1553 / MIL-STD-1760 Compact Remote Terminal with SPI Host Interface GENERAL DESCRIPTION PIN CONFIGURATION (TOP) RTAP - 13 RTA0-14 48 - TESTA 47 - BENDI 46 - TEST 45 - BUSA 44 - VCCP 48 - TESTA 47 - BENDI 46 - TEST 45 - BUSA 44 - VCCP RTAP - 13 RTA0-14 CE - 15 VCC - 16 SCK - 17 SO - 18 CE - 15 VCC - 16 SCK - 17 SO

More information

A NEW GENERATION OF TAG SRAMS THE IDT71215 AND IDT71216

A NEW GENERATION OF TAG SRAMS THE IDT71215 AND IDT71216 A NEW GENERATION OF TAG SRAMS THE IDT71215 AND IDT71216 APPLICATION NOTE AN-16 Integrated Device Technology, Inc. By Kelly Maas INTRODUCTION The 71215 and 71216 represent a new generation of integrated

More information

JMY504M User's Manual

JMY504M User's Manual JMY504M User's Manual (Revision 3.42) Jinmuyu Electronics Co. LTD 2011/6/28 Please read this manual carefully before using. If any problem, please mail to: Jinmuyu@vip.sina.com Contents 1 Product introduction...

More information

The task of writing device drivers to facilitate booting of the DSP via these interfaces is with the user.

The task of writing device drivers to facilitate booting of the DSP via these interfaces is with the user. a Engineer To Engineer Note EE-124 Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp Booting on the ADSP-2192 The ADSP-2192 currently

More information