Author Topic: Microcontroller with 2 USB device controllers  (Read 13061 times)

0 Members and 1 Guest are viewing this topic.

Offline NiHaoMikeTopic starter

  • Super Contributor
  • ***
  • Posts: 9222
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Microcontroller with 2 USB device controllers
« on: April 10, 2013, 02:56:38 am »
Is there a microcontroller out there (preferably a PIC or low end ARM) that has two or more USB device controllers on the same chip? (USB 1.1 is enough.) Or would I be better off with two microcontrollers?

I'm actually making a custom programmable USB-USB bridge. One end (the host) controls the operation of the whole thing and the other end (target) emulates whatever the host wants to emulate. Of particular interest is emulating a keyboard, allowing a tablet with USB host to work like an Alphasmart sort of device.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline C

  • Super Contributor
  • ***
  • Posts: 1346
  • Country: us
 

Offline lgbeno

  • Frequent Contributor
  • **
  • Posts: 349
  • Country: 00
Microcontroller with 2 USB device controllers
« Reply #2 on: April 10, 2013, 03:08:38 am »
Maybe a ftdi Vinculum II.  Always looked like an interesting part...
 

Offline C

  • Super Contributor
  • ***
  • Posts: 1346
  • Country: us
Re: Microcontroller with 2 USB device controllers
« Reply #3 on: April 12, 2013, 12:00:04 am »
Hi
Longer answer
Not so low end but I think the price is right.

http://www.digikey.com/product-detail/en/STM32F4DISCOVERY/497-11455-ND/2711743  $14.90
 
STM32F4DISCOVERY is based on an STM32F407VGT6 and includes an
ST-LINK/V2 embedded debug tool interface, ST MEMS digital accelerometer, ST MEMS digital microphone, audio DAC with integrated class D speaker driver, LEDs, pushbuttons and a USB OTG micro-AB connetor.

It is missing the second USB OTG micro-AB connetor, but these pins are on the Header un-used(PB12-PB15) .
So by adding a connector gives two USB FullSpeed(12mb) ports, one OTG(Host/Device) and one Device or Host. For second port as Host would need to add 5v power management and it too could be OTG.
 
Discover User Manual ww.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdf

STM32F4DISCOVERY http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419

STM32F407VG http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1577/LN11/PF252140
Datasheet http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00037051.pdf
reference_manual http://www.st.com/web/en/resource/technical/document/reference_manual/DM00031020.pdf
reference_manual Page 168 for USB USB Pins


C




 

Offline marshallh

  • Supporter
  • ****
  • Posts: 1462
  • Country: us
    • retroactive
Re: Microcontroller with 2 USB device controllers
« Reply #4 on: April 12, 2013, 08:57:08 pm »
Many MCUs will have provisions for wiring up a second usb PHY via ULPI to work in addition to the internal one. This may be all you need.
Verilog tips
BGA soldering intro

11:37 <@ktemkin> c4757p: marshall has transcended communications media
11:37 <@ktemkin> He speaks protocols directly.
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13971
  • Country: gb
    • Mike's Electric Stuff
Re: Microcontroller with 2 USB device controllers
« Reply #5 on: April 13, 2013, 12:03:46 am »
If data rate is low, two low-end USB MCUs will probably be cheaper than a device with two USB interfaces, and give you a much wider choice of parts.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline notsob

  • Frequent Contributor
  • **
  • Posts: 705
  • Country: au
Re: Microcontroller with 2 USB device controllers
« Reply #6 on: April 13, 2013, 12:54:51 am »
I've seen cypress.com USB chips in some products, you may have already looked at their USB product range, but if not I thought I'd mention them

Cheers

Peter
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4310
  • Country: us
Re: Microcontroller with 2 USB device controllers
« Reply #7 on: April 13, 2013, 01:37:11 am »
FTDI's "Vinculum 2" has dual USB ports.
But it's a weird chip and you pretty much have to use their libraries and OS (because they don't document it well enough to write your own low level code.)
 

Offline VanitarNordic

  • Frequent Contributor
  • **
  • Posts: 277
  • Country: 00
Re: Microcontroller with 2 USB device controllers
« Reply #8 on: April 16, 2013, 08:34:27 pm »
Check STM32 series. They are somehow cheap also in comparison with other models.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf