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

Thread: Second USB device on T3.6: how to configure the software?

  1. #1

    Second USB device on T3.6: how to configure the software?

    Hi everyone!

    I want to use the second USB port on a 3.6 as a device (MIDI) instead of a host. I am not sure how to do the software bit. Please help.

    I think the hardware bit is simple enough with the jumper that looks like:

    H--[] D

    which I will change to:

    H []--D

    But totally clueless about the software.

    Thanks for your help

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,153
    Sorry, there is only software support for USB host mode on that port. So far there simply isn't any support for device mode on the 2nd port.

  3. #3
    Thanks for the reply. Did you have a plan for how you were going to support it by reusing the existing USB device code? Or shall I just not bother and use a separate chip?

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,153
    The 2nd USB port's hardware is completely different. The existing code is written for the main port. Pretty much everything in usb_dev.c can not be used for the 2nd port, and needs to be re-written from scratch.

  5. #5
    Ok, thanks.

Posting Permissions

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