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

Thread: USB Ethernet?

  1. #1

    USB Ethernet?

    Is any of the Teensy 3.x (or LC) family capable of appearing as an Ethernet device over USB? I've used plug-and-play adapters, and wondered if the Teensy is capable of this kind of thing.

    This is for a project that started out sending touch coordinates over serial, but the requirements recently changed and now it's supposed to use TUIO. I'd love to be able to make this change in firmware, and avoid using an Ethernet board adapter. My current program is about 20kB and doesn't use much RAM, if that's relevant.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,576
    It's theoretically possible, but no software exists. I've had CDC-ETH on my long-term wish list, but absolutely no work has been done on it. It's unlikely anything will happen on this in 2016, since so many other things are planned.

  3. #3
    Thank you Paul. I saw the comments in usb_desc.h about adding a new interface, so I'm going to give it a try myself.

  4. #4
    Junior Member
    Join Date
    Nov 2015
    Posts
    9
    Quote Originally Posted by hoosieree View Post
    Thank you Paul. I saw the comments in usb_desc.h about adding a new interface, so I'm going to give it a try myself.
    Hey, just came on to ask about this. Did you get anything working? Thanks!

  5. #5
    Quote Originally Posted by frmdstryr View Post
    Hey, just came on to ask about this. Did you get anything working? Thanks!
    Sorry nope. I ended up using a Wiznet adapter due to time constraints.

  6. #6
    Junior Member
    Join Date
    Nov 2015
    Posts
    9
    Thanks for the quick reply. @PaulStoffregen, from a high level what would be involved in implementing this? Is it simply adding a new usb config and extending the cdc code for handling EEM packets?

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,576
    Quote Originally Posted by frmdstryr View Post
    Is it simply adding a new usb config and extending the cdc code for handling EEM packets?
    Yeah, something like that, and then parsing the frame headers from groups of USB packets, to get the IP packets... and then a TCP/IP stack....

Posting Permissions

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