TI E2E Community
Stellaris® ARM® Microcontrollers
Stellaris® ARM® LM3S Microcontrollers Forum
Two usb msc with FatFS in one device?
I was wondering if it's possible to have one device(Stellaris) that have two USB port, and then implement two MassStorageClass with two independent FatFS.
I'm planning two use two different external flash.
In order to achieve this, you will need two different Stellaris devices as they can only communicate with one port; the Stellaris MCU cannot act as a hub. Alternatively, you can use an external hub and have the Stellaris device act as a host to communicate to each device. Depends on your preference.
Thanks for your answer. I would like to add a precision and see if your answer is still valid.
My goal is to use a device that actually as 2 usb port. So there will be two connector. I think that this is not a hub situation. each port will have its own handler and its own stack.
Maybe im wrong and it's impossible to have two usb stack and two file system in the same device.
Stellaris MCUs can only communicate with one USB port. In order to have 2 USB ports, you will need 2 Stellaris devices or a hub. If the Stellaris MCU is acting as a Host, and you want to communicate to two devices, this would require one USB type-A port connected to the Stellaris MCU USB pins connected to a hub which would then be connected to the two devices. Alternatively, you can have two Stellaris MCUs each acting as a Host to communicate to one device connected to each.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.