Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: USB combination with Serial1

  1. #1
    Junior Member
    Join Date
    Jun 2018
    Posts
    3

    USB combination with Serial1

    New on this forum but already a happy teensy user.
    I'm looking for a solution to use usb and serial1 communication with only the usb cable. This is to switch easily between devices, other teensy with xbee, Android or pc. I've came to a solution to use a usb3 cable and connect tx/rx to the high-speed wiring from the usb3 and use the rest as standard (D+ D-). On the second teensy same connection, so no problem. I'm wondering if connecting to, let say, a pc usb3 port would be harmful for either teensy or pc (for this device the communication goes through D+ D-)? Thanks in advance for the support.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,857
    Connecting non-USB signals to those pins is asking for trouble. At the very least, maybe put some resistors in series to limit the current.

  3. #3
    Junior Member
    Join Date
    Jun 2018
    Posts
    3
    Quote Originally Posted by PaulStoffregen View Post
    Connecting non-USB signals to those pins is asking for trouble. At the very least, maybe put some resistors in series to limit the current.
    Paul, thanks for the reply. Although it had some benefits for me, I guess that it isn't a really good solution. I've decided to go for a UTP cable from my device to the other teensy. Or plug it in a computer with a adapter plug.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •