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