Hi, I would like to know how to go about creating a driver or software to use the Raspberry Pi to bridge the USB to one of its UARTS.
The g_serial creates a new software serial port when using the PI in device mode. I'd like a way to plug my PI in to my computer (for example) and for it to enumerate as a USB-CDC like the g_serial but instead of a software terminal it is UART2 or UART3 etc.
For instance I might have a GPS module on UART2 of the pi and I'd like it so that when I plug in the PI via USB OTG as a device my computer can read transmit to and receive from the GPS module.
Taking this to the next step I would actually like the PI to enumerate as several UARTs each linked to a separate hardware UART on the PI.
Any ideas would be great as Its really hard to search for USB UART on the internet!
Steven
The g_serial creates a new software serial port when using the PI in device mode. I'd like a way to plug my PI in to my computer (for example) and for it to enumerate as a USB-CDC like the g_serial but instead of a software terminal it is UART2 or UART3 etc.
For instance I might have a GPS module on UART2 of the pi and I'd like it so that when I plug in the PI via USB OTG as a device my computer can read transmit to and receive from the GPS module.
Taking this to the next step I would actually like the PI to enumerate as several UARTs each linked to a separate hardware UART on the PI.
Any ideas would be great as Its really hard to search for USB UART on the internet!
Steven
Statistics: Posted by veryevil — Thu Jun 27, 2024 1:33 pm