Font Size: a A A

Research On USB Unified Interface Protocol Based On Bluetooth Communication

Posted on:2022-08-16Degree:MasterType:Thesis
Country:ChinaCandidate:Y Y WangFull Text:PDF
GTID:2518306557965209Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
In modern society,whether in daily life or in work or study,various electronic devices such as mobile phones and laptops are playing an increasingly indispensable role.Whether it is a smart phone or a notebook computer,USB or Bluetooth communication can be used,and the need for protocol conversion of the communication protocol between USB and Bluetooth has become more and more urgent.At present,there are few chips that integrate Bluetooth function and USB OTG interface on the market,and it is difficult to find products that realize the protocol conversion between USB and Bluetooth.Therefore,the research on the USB unified interface protocol based on Bluetooth communication has profound practical significance..Based on the above reasons,this paper proposes and realizes the data transparent transmission between USB protocol data and BLE low energy Bluetooth.The main control MCU selects the 32-bit microcontroller chip CH573 based on the RISC-V instruction architecture.This chip integrates a BLE wireless communication module and integrates a full-speed USB host and device controller on the chip.This design mainly uses the USB host interface to realize the operation of HUB equipment,AUDIO equipment,HID equipment,printer equipment,mass storage equipment and manufacturer-defined equipment.When the device access host detects the connection,it will parse the device configuration descriptor to determine the device type,communication interface,and communication endpoint.Then analyze the report descriptor reported by the device,and analyze the communication data format and data length.After obtaining the complete data uploaded by the data,it is transparently transmitted through BLE to realize the data protocol conversion between the wired interface and the wireless interface.This system proposes a way to convert USB protocol data to Bluetooth protocol data.Through the in-depth analysis of the inserted device by the USB host,the flexibility and compatibility of operating USB devices and interface data protocol conversion are improved.The USB host will deeply analyze different USB access devices,analyze their uploaded descriptors,and process different reports on different interfaces of the same device to achieve the best compatibility and flexibility.The USB host side mainly has the following basic functions: detecting the action of plugging and unplugging the USB device,managing the control flow between the communication between the master and the slave,managing the data flow between the communication between the master and the slave,and recording the status of the host and the actions of each device Information,control various electrical interfaces between host controllers and USB devices.The Bluetooth software part uses the Bluetooth protocol stack that comes with the CH573,and calls the application layer API to be compatible with most mobile phone Bluetooth on the market;the hardware part uses an inverted F antenna,and different antenna packages are designed for different board thicknesses,and at the same time for the impedance of the ANT line Matching,line width,and the distance between the ground lines on both sides have been dealt with accordingly to ensure the stability and versatility of the system.
Keywords/Search Tags:USB, BLE, RISC-V, CH573
PDF Full Text Request
Related items