Application Note 132. Introduction. Voice Video and Data Communications using a 2-Port Switch and Generic Bus Interface KSZ8842-16MQL/MVL



Similar documents
6-BIT UNIVERSAL UP/DOWN COUNTER

Fairchild Solutions for 133MHz Buffered Memory Modules

Figure 1. Example of a Security System

Switch Fabric Implementation Using Shared Memory

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Transport and Network Layer

A Smart Telephone Answering Machine with Voice Message Forwarding Capability

HT1632C 32 8 &24 16 LED Driver

Voice over Internet Protocol (VoIP) systems can be built up in numerous forms and these systems include mobile units, conferencing units and

CSE2102 Digital Design II - Topics CSE Digital Design II

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

June Bridge & Switch. Pietro Nicoletti Piero[at]studioreti.it. Bridge-Switch-Engl - 1 P. Nicoletti: see note pag. 2

MBP_MSTR: Modbus Plus Master 12

A N. O N Output/Input-output connection

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

ENGG*44200 Real Time System Design Lab3 Implement VoIP on ARM Outline

2/4, 4/5/6 CLOCK GENERATION CHIP

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Features. V PP IN V CC3 IN V CC5 IN (opt) EN0 EN1 MIC2562

VOICE OVER IP AND NETWORK CONVERGENCE

TRIPLE D FLIP-FLOP FEATURES DESCRIPTION PIN NAMES BLOCK DIAGRAM

Arbitration and Switching Between Bus Masters

ehealth and VoIP Overview

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Voice over IP Manual

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

Inter-Tel IP Phone Quick Reference Guide

ADM5120 HOME GATEWAY CONTROLLER. Product Notes

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Technical Description. Multifunctional Desk-Top Call Station Digital Version 8, 16 Keys L.No ,

TERMINAL Debug Console Instrument

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

Agilent Technologies Performing Pre-VoIP Network Assessments. Application Note 1402

A DIY Hardware Packet Sniffer

HD61202U. (Dot Matrix Liquid Crystal GraphicDisplay Column Driver)

Open Flow Controller and Switch Datasheet

Computer Systems Structure Input/Output

Serial Communications

8741A UNIVERSAL PERIPHERAL INTERFACE 8-BIT MICROCOMPUTER

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

Region 10 Videoconference Network (R10VN)

IP SAN Best Practices

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Using Altera MAX Series as Microcontroller I/O Expanders

5330 IP Phone Quick Reference User Guide

Network Considerations for IP Video

SSVVP SIP School VVoIP Professional Certification

AP200 VoIP Gateway Series Design Features & Concept AddPac R&D Center

Contents. Connection Guide. What is Dante? Connections Network Set Up System Examples Copyright 2015 ROLAND CORPORATION

Terms VON. VoIP LAN WAN CODEC

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

WANs connect remote sites. Connection requirements vary depending on user requirements, cost, and availability.

Carrier Ethernet: New Game Plan for Media Converters

3.3V, 2.7Gbps SDH/SONET LASER DRIVER WITH AUTOMATIC POWER CONTROL

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Using Cisco UC320W with Windows Small Business Server

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Introduction to Routing and Packet Forwarding. Routing Protocols and Concepts Chapter 1

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

1. Public Switched Telephone Networks vs. Internet Protocol Networks

Data Link Protocols. TCP/IP Suite and OSI Reference Model

M80C86 M80C BIT CHMOS MICROPROCESSOR

Encapsulating Voice in IP Packets

Combining Voice over IP with Policy-Based Quality of Service

Leased Line + Remote Dial-in connectivity

Latency on a Switched Ethernet Network

Networking 4 Voice and Video over IP (VVoIP)

10/100/1000Mbps Ethernet MAC with Protocol Acceleration MAC-NET Core with Avalon Interface

COMPUTERS ARE YOUR FUTURE CHAPTER 7 NETWORKS: COMMUNICATING AND SHARING RESOURCES

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

SOYO G668 VOIP IP PHONE USER MANUAL

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Voice Over Internet Protocol (VoIP) Configuration

Abstract. Avaya Solution & Interoperability Test Lab

Figure 1.Block diagram of inventory management system using Proximity sensors.

Based on Computer Networking, 4 th Edition by Kurose and Ross

Troubleshooting Common Issues in VoIP

ACU-1000 Manual Addendum Replacement of CPM-2 with CPM-4

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

DDR3 DIMM Slot Interposer

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

DL TC72 Communication Protocols: HDLC, SDLC, X.25, Frame Relay, ATM

Acterna DSL Services Tester TPI 350+ Application Highlights

Video Conferencing Unit. by Murat Tasan

ebus Player Quick Start Guide

Understanding IP Faxing (Fax over IP)

MODULE BOUSSOLE ÉLECTRONIQUE CMPS03 Référence :

54191 DM54191 DM74191 Synchronous Up Down 4-Bit Binary Counter with Mode Control

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

Chapter 2 - The TCP/IP and OSI Networking Models

PROFINET Diagnostics Software and Tools

Chapter 11 I/O Management and Disk Scheduling

Transcription:

Application Note 132 Voice Video and Data Communications using a 2-Port Switch and Generic Bus Interface KSZ42-16MQL/MVL Introduction The IP-Telephony market is booming, due to the ease of use of the technology and the low cost it promises consumers for making voice and video calls using the technology. Conveniently, it runs on the ever popular Ethernet LAN technology, which currently supports over 95 percent of all companies networks, and works like computer data on the LAN. Using VoIP (Voice over Internet Protocol), voice signals can be packetized like computer data packets and transmitted worldwide over the Internet. This is why VoIP is a win-win solution for everyone. Packet-switched VoIP converts voice signals into packets and each VoIP packet includes both the sender s/receiver s network addresses. The VoIP packets can traverse any IP network and choose alternate paths because the destination address is included in the packet, so the VoIP is flexible, interoperable and portable. IP telephone has a NID (Network Interface Device) built into it just like a computer must have a NIC (Network Interface Card) inside of it to connect to the LAN. The NID is the single most important component for VoIP applications and LAN connections because it provides its physical address on the LAN. Micrel s KSZ42-16MQL, a network interface device, is the industry s first 2-port Ethernet Layer-2 Managed switch and /16 bit generic host bus interface as well as: A KSZ42-32MQL, 32-bit Generic Bus (synchronous or asynchronous) for different host processor interfaces 1K Dynamic and Static MAC addresses, 16 VLAN entries and 34 MIB Counters per port Supports programmable rate limiting on the ingress/egress ports and 4 priority queues Dynamic Packet Memory scheme which fully utilizes KB buffer memory in 4B increments LinkMD cable diagnostic capabilities. Determines distance to fault and also cable length measurement Prevents congestion in the switch with a MAC filtering function to filter or forward unknown unicast packets (useful for VoIP applications) HP Auto-MDIX crossover with disable and enable option Separate Link and Activity pins on all ports Alternative LQFP packaging available in the KSZ42-16MVL and -32MVL devices Figure 1 below shows a system level block diagram of the KSZ42-16M being used in a VoIP application. December 2005 1 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 To/Fr Switch or Router Home/Office PC KSZ42M Non-PCI Bus /16 Bit Interface Bus I/F IP Phone DSP Processor Telephony I/F Flash/ROM Figure 1: KSZ42-16MQL Embedded Two-port Ethernet Switch for VoIP Applications A detailed VoIP phone block diagram is shown in Figure 2 below. The KSZ42M is designed to handle voice, video and data packets between the LAN connection and Host CPU interface. The following sections focus on how to connect the KSZ42-16MQL 16-bit generic bus interface to a DSP Host processor. Flash/SDRAM ROM KSZ42M Generic /16 Bit Bus I/F DSP Processor Telephony I/F CODEC LCD Display Keypad Scan ETHERNET Video I/F Handset Mic Speaker Video Screen LAN-Port1 To/Fr Router LAN-Port2 To/Fr Home PC Figure 2: VoIP Phone system level Block Diagram December 2005 2 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 General Description the Bus Interface between KSZ42-16M and Processor The KSZ42-16MQL/MVL is 2-Port Ethernet Switch with non-pci interface, and is designed to connect to an or 16-bit bus interface. This application note provides a basic overview of system level signal connections based on or 16-bit bus interfaces, in combination with or without EEPROM. The KSZ42-16MQL/MVL supports two transfer modes in the BIU (Bus Interface Unit): Asynchronous mode Synchronous mode Both asynchronous and synchronous signals are independent of each other. In order to handshake in the different bus interfaces (ISA-like, EISA-like or VLBus-like), the following sections will describe all bus interface signal connections using these two transfer modes. or 16-Bit Bus Interface Signal Connections for the KSZ42-16MQL/MVL or 16-Bit Asynchronous Bus Interface Mode In the asynchronous bus interface mode, the KSZ42-16MQL/MVL host bus read/write operation is as an or 16-bit peripheral. All signals are listed in Table 1 and connections are shown in Figures 3, 4, and 5 respectively for -bit configurations, and in Figures 6, and 7 for 16-bit operations. The timing waveform is shown in Figure. Signal Table 1: KSZ42-16MQL/MVL Bus Interface Signals for or 16-Bit Asynchronous Mode Type = 0 (ISA-like) Asynchronous I Address Address D[15:0] I/O Data ( or 16-bit) Data ( or 16-bit) I Address Enable (active low) Address Enable (active low), I Byte Enable (active low) Byte Enable (active low) Using (EISA-like) I Always enabled Address Strobe (Tied low) Address Strobe is used to latch,,/ O Local Device (asserted low when right address decoded) Local Device (asserted low when right address decoded) O Interrupt (asserted low when interrupt status bit set) Interrupt (asserted low when interrupt status bit set) I Asynchronous Read (active low) Asynchronous Read (active low) I Asynchronous Write (active low) Asynchronous Write (active low) O Asynchronous Ready (active high) Asynchronous Ready (active high) I Tied high for non-vlbus Tied high for non-vlbus I Not used (Tied high) Not used (Tied high) I Not used (Tied high) Not used (Tied high) I Not used (Tied high) Not used (Tied high) I Not used (Tied low) Not used (Tied low) O Not used (No connect) Not used (No connect) Note: These signals BE3N, BE2N, DATACSN are not available (No Connect) in KSZ42-16MQL/MVL device December 2005 3 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 D(0..7) D[7:0] Low Byte D[15:] High Byte P2(0) A0 Low = Lo w B y te, H igh = H igh B y te -Bit uc A1 A2 A3 KSZ42-16MQL A1 A2 A3 A[4:7] A (Sets Base Address to 0x0300) A9 A[10:15] CS2 WR# RD# RDY# 4.7 K 4.7 K SW R Test Point SRDY N * Without EEPROM * Select bit bus mode Figure 3: -Bit Asynchronous ISA-like Bus Connections with A[3:1] D(0..7) D[7:0] Low Byte D[15:] High Byte P2(0) A0 Low = Low Byte, High = High Byte -Bit uc 15 KSZ42-16MQL CS2 WR# RD# RDY# Test Point * W ithout EEPROM * Select bit bus mode Figure 4: -Bit Asynchronous ISA-like Bus Connections with December 2005 4 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 D(0..7) D[7:0] Low Byte D[15:] High Byte P2(0) A0 Low = Low Byte, High = High Byte -Bit uc 15 KSZ42-16MQL CS2 WR# RD# RDY# Test Point CS CLK DI DO EEPROM 93C46 EEPROM Word 6H bit 0 = 0 for -bit bus width Figure 5: -Bit Asynchronous ISA-like Bus Connections with EEPROM P0[7:0] D [7:0] Low B yte P1[7:0] D[15:] High Byte P2[0] A0 BHE 16-Bit uc (M 16C) P2[7:1] P3[7:0] 7 KSZ42-16MQL A[7:1] A[15:] CS2 WR# RD# RDY# SW R Test Point * Without EEPROM * Select 16 bit bus mode Figure 6: 16-Bit Asynchronous ISA-like Bus Connections without EEPROM December 2005 5 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 P0[7:0] D[7:0] Low Byte P1[7:0] D[15:] High Byte P2[0] A 0 BHE 16-Bit uc (M 16C) P2[7:1] P3[7:0] 7 KSZ42-16MQL A[7:1] A[15:] CS2 WR# RD# RDY# Test Point IN TRN SW R CS CLK DI DO EEPROM 93C46 EEPROM Word 6H bit 0 = 1 for 16-bit bus width Figure 7: 16-Bit Asynchronous ISA-like Bus Connections with EEPROM Addr,, BExN t2 Read Data t3 t4, t1 t5 Write Data t6 (Read Cycle) ( Write Cycle) t7 t9 t t10 Figure : Asynchronous Read & Write Cycles Timing Waveform = 0 December 2005 6 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 Symbol Parameter Min Typ Max Unit t1 A1-A15,, BExN[3:0] to, active 2 ns t2 A1-A15,, BExN[3:0] hold after, 1 ns inactive (assume tied Low) t3 Read data to rising 0. ns t4 Read data to hold inactive 4 ns t5 Write data setup to inactive 4 ns t6 Write data hold after inactive 2 ns t7 Read active to Low ns t Write inactive to Low ns t9 low (wait time) in read cycle (Note1) 0 110 ns (It is 0ns to read bank select register) (It is 110ns to read QMU data register) t10 low (wait time) in write cycle (Note1) 0 5 ns (It is 0ns to write bank select register) (It is 5ns to write QMU data register) Note1: When CPU finished current Read or Write operation, it can do next Read or Write operation even the is low. During Read or Write operation if the ADRY is low, the CPU has to keep the / low until the returns to high. 16-Bit Synchronous Bus Interface Mode In the synchronous bus interface mode, the KSZ42-16MQL/MVL host bus read/write operation is as a 16-bit peripheral. All signals are listed in the Table 2 and connections are shown in Figures 9 and 10. The timing waveform is shown in Figures 11 and 12. Table 2: KSZ42-16MQL/MVL Bus Interface Signals for 16-Bit Synchronous Mode Synchronous Signal Type = 0 (VLBus-like) I Address D[15:0] I/O Data ( or 16-bit) I Address Enable (active low), I Byte Enable (active low) I Address Strobe is used to latch,,/ O Local Device (asserted low when right address decoded) O Interrupt (asserted low when interrupt status bit set) I Not used (Tied high) I Not used (Tied high) O Not used I Tied low for VLBus-like cycle I is used to sample when it is asserted I Synchronous write cycles when high and read cycles when low I Ready Return is used by the Host to indicate the end of Read or Write in VLBus-like cycle I Bus Clock is used for Synchronous transfer O Synchronous Ready is used to indicate that data is ready to Read/Write December 2005 7 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 VLBUS KSZ42-16MQL D[15:0] 16 D[15:0] 15 *BE0 *BE1 LCLK M/IO W/R *RDYRTN *ADS *LRDY *LDEV one LCLK delay * W ithout EEPROM * Select 16 bit bus mode Figure 9: 16-Bit Synchronous VLBUS-like Bus Connections without EEPROM VLBUS KSZ42-16MQL D[15:0] 16 D[15:0] 15 *BE0 *BE1 LCLK M/IO W/R *RDYRTN *ADS *LRDY *LDEV one LCLK delay CS CLK DI DO EEPROM 93C46 EEPROM Word 6H bit 0 = 1 for 16-bit bus width Figure 10: 16-Bit Synchronous VLBUS-like Bus Connections with EEPROM December 2005 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 Address,, BExN t1 t2 t5 t6 t4 t3 Write Data t7 t t9 t10 t11 t12 Figure 11: Synchronous Write Cycle Timing Waveform VLBUS = 0 Symbol Parameter Min Typ Max Unit t1 A1-A15,, BExN[3:0] setup to rising 4 ns t2 A1-A15,, BExN[3:0] hold after rising 2 ns t3 setup to rising 4 ns t4 hold after rising (non-burst mode) 2 ns t5 setup to 4 ns t6 hold after rising with active 0 ns t7 Write data setup to rising 5 ns t Write data hold from rising 1 ns t9 setup to ns t10 hold to 1 ns t11 setup to 4 ns t12 hold to 1 ns December 2005 9 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 Address,, BExN t1 t2 t5 t4 t3 Read Data t7 t t6 t9 t10 t11 Figure 12: Synchronous Read Cycle Timing Waveform VLBUS = 0 Symbol Parameter Min Typ Max Unit t1 A1-A15,, BExN[3:0] setup to rising 4 ns t2 A1-A15,, BExN[3:0] hold after rising 2 ns t3 setup to rising 4 ns t4 hold after rising (non-burst mode) 2 ns t5 setup to 4 ns t6 Read data hold from rising 1 ns t7 Read data setup to ns t setup to ns t9 hold to 1 ns t10 setup to rising 4 ns t11 hold after rising 1 ns December 2005 10 Rev. 1.0

Micrel Confidential KS42-16MQL/MVL AN 132 Conclusion By using this Application Note, customers are able to design a VoIP phone system with the KSZ42-16MQL/MVL to easily connect to their FPGAs or processors as well as any other application requiring a two-port switch and generic bus interface for Embedded and Industrial Ethernet applications. In addition, Micrel provides the flexibility of offering a single port KSZ41-16MQL/MVL MAC/PHY plus generic bus interface part that is 100% footprint compatible for single port applications. This provides engineers with the flexibility to design two products using a single print circuit board and software driver, thereby saving time, money and efforts in the development cycle. All of the development collateral including data sheet, schematics, gerber file, IBIS module and software driver can be downloaded from Micrel website. Evaluation boards and user s guide are also available. MICREL, I. 149 FORTUNE DRIVE SAN JOSE, CA 95131 USA TEL +1 (40) 944-000 FAX +1 (40) 474-1000 WEB http:/www.micrel.com The information furnished by Micrel in this data sheet is believed to be accurate and reliable. However, no responsibility is assumed by Micrel for its use. Micrel reserves the right to change circuitry and specifications at any time without notification to the customer. Micrel Products are not designed or authorized for use as components in life support appliances, devices or systems where malfunction of a product can reasonably be expected to result in personal injury. Life support devices or systems are devices or systems that (a) are intended for surgical implant into the body or (b) support or sustain life, and whose failure to perform can be reasonably expected to result in a significant injury to the user. A Purchaser s use or sale of Micrel Products for use in life support appliances, devices or systems is a Purchaser s own risk and Purchaser agrees to fully indemnify Micrel for any damages resulting from such use or sale. 2005 Micrel, Incorporated. December 2005 11 Rev. 1.0