Skip to main content
mfederici
Associate II
February 14, 2012
Question

multiple STM 32 linked via USB

  • February 14, 2012
  • 3 replies
  • 893 views
Posted on February 14, 2012 at 13:26

Hi all. I did some projects around the STM32F103 managed by a GUI on PC, via USB. Now I would like to address more than one devices (STM32F103) by the same PC and the same USB cable. So the problem is how to give an address on the FW and how to identify any USB slave by the PC. Maybe is there anyone that can help me me? thanks a lot !!!

#stm32-usb #usb-enumeration #usb
This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
February 14, 2012
Posted on February 14, 2012 at 17:09

Make sure you report a unique serial number for each, and Windows with enumerate them uniquely based on that.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
mfederici
mfedericiAuthor
Associate II
March 3, 2012
Posted on March 03, 2012 at 13:11

thanks! :)

Andrew Neil
Super User
March 7, 2012
Posted on March 07, 2012 at 23:21

''address more than one devices (STM32F103) by the same PC and the same (sic?) USB cable''

 

I trust you don't actually mean that literally?

You do realise that you cannot connect multiple Devices to the same USB cable, don't you?

Each Device would need its own, separate, cable connecting to a hub - with a further cable connecting the hub to the PC...
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.