Our product needs usb host and usb device to be run at the same time. Is there any Kinetis MCU that has 2 USB ports?
I know that some variants of the K60 support a second (and high speed) USB port. Only one (full speed) is connected to pins on the processor, the other is via an external component connected to the ULPI pins.
I haven't tried this yet though....
In k61 and K70, the USB OTG and USBHS are handled by independent controllers which allow to have 2 different USB connections, one of them using the USB HS pins and the other one using the ULPI pins, the pinout can be found in chapter 53.2 of the device's reference manual.
So, USBOTG module is only full-speed controller, am I right?
Is there any sample code for USBHS module, preferably bare metal sample code? Any application notes for USBHS?
Freescale has two different USB HS example codes. One is inside the USB baremetal stack (www.freescale.com/medicalusb) and the other one is using MQX (www.freescale.com/MQX)
hope this help
The Freedom board has two physical USB ports. I don't know if you can use the board itself instead of a discrete MCU, but that is what I am doing. For $13 a unit, it is saving a lot of design and development time to simply use a KL25Z board as the MCU for our new system.
However, I do not know if the SDA port can be used as a 2nd host or device USB port, though I suspect it can.
The Freedom board has two usb ports, but they are connected to two different MCU's.
As far as I know the SDA MCU can not be reprogrammed.
Don't count on the Freedom board staying available for the current price forever, as someone (presumably Freescale) is losing money on it.
Oops. Both are good points. I forgot about the second MCU, and we probably ought not to plan on using the Freedom board for more than a year or so. Thanks for the advice.
Retrieving data ...