Font Size: a A A

Based On The Arm-usb Otg Ip Core Host-side-driven Design And Realization

Posted on:2011-12-22Degree:MasterType:Thesis
Country:ChinaCandidate:Y SunFull Text:PDF
GTID:2208360308466776Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
USB has become a popular interface for exchanging data between PC's and peripherals. The USB interface is used to communicate with the PC by an increasing number of portable peripherals. However, USB communication can only take place between a host and a peripheral. In order to enable these limited-requirement, portable, USB applications, this supplement to the USB2.0 specification was developed that allows a portable device to take on the role of a limited USB host.USB OTG IP's driver development includes OTG driver, host driver, peripheral driver. IP system's automatic switching between a host and a peripheral is mainly implemented by OTG driver. Perform a host/peripheral discovering from host/peripheral driver. After the OTG device is connected, USB OTG IP core switches to the host/device mode according to the OTG interrupt request. In the host mode, the USB OTG IP core is used as a USB host. The main results are as follows:Firstly,in this paper, the whole framework of USB OTG driver is presented, the principle of OTG is elaborated. Secondly, host driver refers to USB2.0 protocol, EHCI and OHCI protocol. The kernel of USB bus is USB host, which is responsible for managing all information from USB bus and launching all transactions. Thirdly, because of its open source, excellent transportability, free software, Linux OS becomes the best in the open source and the first OS in the embedded system development. The framework of Host Controller Driver is presented by researching USB host Stack and it is written by referring to USB2.0 protocol, EHCI and OHCI protocol. Finally, the dissertation briefly introduces embedded development platform, debugging ways, as well as test course, and gives the result of the test.The feasibility of this USB OTG IP has been validated on the Real view EB. The result demonstrates that IP system can operate as a host or a peripheral. It has a good prospect of application.
Keywords/Search Tags:OTG, USB2.0, Host Controller Driver, ARM, Linux
PDF Full Text Request
Related items