Microcontroller with 2 USB device controllers - Page 1
Forum section: electronics / general

author: NiHaoMike
author_rank: Super Contributor
timestamp: April 10, 2013, 02:56:38 am
content: 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.

author: C
author_rank: Super Contributor
timestamp: April 10, 2013, 03:03:19 am
content: STM32F407/417http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1577/LN11

author: lgbeno
author_rank: Frequent Contributor
timestamp: April 10, 2013, 03:08:38 am
content: Maybe a ftdi Vinculum II. Always looked like an interesting part...

author: C
author_rank: Super Contributor
timestamp: April 12, 2013, 12:00:04 am
content: HiLonger answerNot so low end but I think the price is right.http://www.digikey.com/product-detail/en/STM32F4DISCOVERY/497-11455-ND/2711743$14.90STM32F4DISCOVERY is based on an STM32F407VGT6 and includes anST-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 aUSB OTG micro-AB connetor.It is missing the secondUSB 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 Manualww.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfSTM32F4DISCOVERYhttp://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419STM32F407VGhttp://www.st.com/web/catalog/mmc/FM141/SC1169/SS1577/LN11/PF252140Datasheethttp://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00037051.pdfreference_manualhttp://www.st.com/web/en/resource/technical/document/reference_manual/DM00031020.pdfreference_manual Page 168 for USB USB PinsC

author: marshallh
author_rank: Unknown
timestamp: April 12, 2013, 08:57:08 pm
content: 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.

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: April 13, 2013, 12:03:46 am
content: 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.

author: notsob
author_rank: Frequent Contributor
timestamp: April 13, 2013, 12:54:51 am
content: 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 themCheersPeter

author: westfw
author_rank: Super Contributor
timestamp: April 13, 2013, 01:37:11 am
content: 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.)

author: VanitarNordic
author_rank: Frequent Contributor
timestamp: April 16, 2013, 08:34:27 pm
content: Check STM32 series. They are somehow cheap also in comparison with other models.