Proceedings of The Intl. Conf. on Information, Engineering, Management and Security 2014 [ICIEMS 2014]
349
VHDL Implementation of USB Transceiver Macro cell Interface with 2.0 Specifications K. Harikrishna
as df .re s. in
Assistant Professor, Electronics & Communication Engineering, Christu Jyothi Institute of Technology & Science, Warangal, AP, India
w w w .e dl ib .
Abstract: The Universal Serial Bus(USB) Transceiver Macro cell Interface (UTMI) is a two wire, bidirectional serial bus interface. The USB2.0 specifications define three types of UTMI implementations depends on data transmission rates, those are Low Speed (1.5MHz) only (LS), Full Speed (12MHz) only (FS) and High Speed (480MHz)/Full speed (12MHz) (HS). UTMI consists of Transmitting and Receiving sections, in which the Transmitter of the UTMI sends data to different USB devices through D+ and D- lines whereas the Receiver gets data on the same lines. This presentation reveals the FPGA implementation of UTMI with HS/FS transmission rate providing with USB 2.0 specifications. Further UTMI has been designed by using VHDL code and simulated, synthesized and programmed to the targeted Spartan2family of FPGA in the Xilinx environment
1. Introduction
fro m
The Universal Serial Bus (USB) Transceiver Macrocell Interface (UTMI) is a two wire, bi- directional serial bus interface between USB devices through D+ and D- lines. This is one of the important functional blocks of USB controller, which can transmit and receive data to or from USB devices. There are three functional blocks present in USB controller; those are Serial Interface Engine (SIE), UTMI and Device Specific Logic (DSL). Figure 1 shows the block diagram of UTMI. The parallel data from SIE is taken into the transmit hold register and this data is sent to transmit shift register from where the data is converted serially. This serial data is bit stuffed to perform data transitions for clock recovery and NRZI (1) encoding. Then the encoded data is sent on to the serial bus. When the data is received on the serial bus, it is decoded, bit unstuffed and is sent to receive shift register. After the shift register is full, the data is sent to receive hold register.
D ow nl oa de d
2. Design Aspects
The present UTMI has been designed according to the following specifications provided by the USB 2.0 protocol. SYNC and End of Packet (EOP) generation by the transmitter. SYNC and EOP detection by the receiver. Receive error reporting. Enabling or disabling the bit stuffer and NRZI encoder depends on the operational mode Suspension of the transceiver by the SIE.Further the UTMI is divided into two important modules which are the Transmitter module and the Receiver module. In this section the design Considerations of these modules have been explained separately and integrated to get top level Transceiver (UTMI) module
2.1 The Transmitter Module
The block diagram of the UTMI transmitter is shown in Figure2. The transmitter module has been implemented by considering the following specifications. The SYNC pattern “01111110” has to be transmitted immediately after the transmitter is initiated by the SIE. After six consecutive ‘1’s occur in the data stream a zero to be inserted. The data should be encoded using Non Return to Zero Invert on 1 (NRZI -1) encoding technique. The EOP pattern two single ended zeroes(D+ and D- lines are carrying zero for two clock cycles) and a bit one have to be transmitted after each packet or after SIE suspends the transmitter This data will be presented on the parallel interfacewhere it is sampled by the SIE. The intent of the UTMI is to accelerate USB 2.0 peripheral development.
ICIEMS 2014
ISBN : 978-81-925233-3-0
www.edlib.asdf.res.in / www.iciems.in