The CH341 is a USB bus adapter that provides asynchronous UART, parallel port, and common 2-wire and 4-wire synchronous serial interfaces via the USB bus. In the parallel port mode, an EPP/MEM 8-bit parallel interface is provided, and the commonly used synchronous serial interface mainly includes a 2-wire IIC, a 4-wire SPI, and the like.
This document mainly introduces the Java Driver Library of CH341USB to EPP, MEM, IIC, SPI mode (hereinafter referred to as CH341PAR), and how to use the APK to operate CH341PAR for data communication under Android. The driver is based on the Android USB Host protocol, and the user can call the provided interface API to communicate with the Android USB Host.