Using CY7C64225 USB to UART Bridge Controller with LINUX - KBA81835

Version: **


Question: Can I use a Cypress USB to UART bridge controller with Linux?



Yes, the USB driver stack in Linux has a built-in driver for CDC-ACM class devices.

CY7C64225 supports the CDC-ACM class devices. The CDC-ACM driver is automatically bound to the device and creates a device node in /dev/ttyACM*(*. The name of the device node varies based on the number of devices connected. With one device, Kernel creates the /dev/ttyACM0 node, which the application uses to communicate with the device.

For example, if the host is running Minicom (terminal emulation software) on Linux, you can use the following procedure to communicate with CY7C64225 and stream data:

  1.   Open Minicom on a terminal.
  2.   Press Ctrl-A and then Z in the menu that opens up.
  3.   Press 'O' to configure Minicom.
  4.   In the Configuration window, select Serial Port Setup.
  5.   Press ‘A’ and then type ‘dev/ttyACM*’ to select the Serial Device.
      * is a wildcard to represent the number of the device node.
  6.   Press ‘E’ to configure the Baud Rate in same window.
  7.   Press Esc to leave the active window and Select ‘save set up as’ in the previous window and exit Minicom.