Go Down

Topic: Second USB cdc (or similar) endpoint  (Read 191 times) previous topic - next topic


I use a variant of arduino zero for a project, and was wondering if it was possible to have a second serial port on the USB port?

That is, having two cdc ports at the same time.

The purpose of the second "serial" was to have one that dumps debug messages, while the main one is used for communication with a host application


I don't think so. You could use a USB-TTL cable to connect a PC to another Serial port on the Arduino.

Two or three hours spent thinking and reading documentation solves most programming problems.


There are pluggable USB classes for a mouse and keyboard, but it seems there is none for cdc serial ports. There must be an implementation out there somewhere =)

I've implemented an example in Simba setting up two cdc serial ports on a Arduino Pro Micro. There is some lag at the startup and as usual the implementation can be improved, but hey, it works!

Simba does not support the Arduino Zero yet, but I plan to do so in the future. I just have to buy one =)

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131