本設計是一個USB轉換板,采用合泰的USB轉換UART芯片HT42B564,一邊是usb接口作為HID設備實現與PC機免驅動連接;
為了方便調試,另一邊也是
USB接口,采用CH340芯片轉換為
串口,在PC端
虛擬串口,從而實現USB與uart雙向
通信功能;
使用這個小板子,可以讓普通沒有USB接口的
單片機,通過串口轉換的方式,作為HID設備連接PC機,即插即用,用途廣泛。
The HT42B564-x device is a high performance USB
to UART bridge controller with fully integrated
USB and UART interface functions, designed for
applications that communicate with various types
of UART. The device includes a USB 2.0 full
speed compatible interface which is used for PC
communication. The device also includes a fully
integrated high speed oscillator which is used as clock
source for the USB and UART baud rate generator.
The baud rate generator can support up to 115200bps
of baud rate for the UART interface.
![1590850058(1).png]