Uploading firmware through SPI interface (STM32L031)
Hello,
I am working on a project. One of the requirement is to be able to upload firmware and communicate with the microcontroller is via SPI interface. The layout of the project is as follows:
1) There are 10 microcontrollers in total. Each running separately and each of them connected to their own sensor. Say for example: temperature sensor.
2) The microcontroller (Stm32L0) is supposed to get firmware update from the computer. In other words, the computer will control if the microcontroller in in DFU mode (to update firmware) or in application/run mode (this is when the computer will read the sensor values from the microcontroller).
3) The communication between microcontroller and computer can happen via only SPI interface. Since, the computer does not have SPI interface breakout, I was thinking of using USB-SPI converter to perform the task as stated in point 2.
4) Now, for one microcontroller, one USB-SPI converter could work. What happens if there is 10 microcontroller? I was thinking of using multiplexer for this.
Do you have any suggestions on USB-SPI converter or multiplexer for this? Also, do you see any problem with this setup?
P.S. I don't have any other option except to use SPI in this project.
