Sending infos from computer via SPI or USB
Hello everyone,
I am currently working on a STM32F103RBT6 MCU on the OLIMEXINO-STM32 board :
https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/open-source-hardware
.So far, I am sending and receiving CAN messages, but I would like to parametrize a little bit more without changing the code (I want to be able to change the number of messages I want to send without recompiling everything, while the code is running on my board).
I first thought about reading those parameters in a file. Problem is that I can't find a way to access it from my MCU (while the file is still on my computer).
I then thought about directly sending the required informations from my computer via USB or a serial port, the issue here is that I have no idea on how to proceed... On the MCU side, I know how to look at data coming from an SP port (not with the USB yet, but I don't think it will be too hard to find), but on the computer side, I have absolutely no idea on how to send these informations ...
Do you know the way to proceed ? Or do you have an idea that would work better ?
