2021-03-03 03:29 AM
Hi there,
I am implementing the STSPIN32F0A in an ESC design. I want to know if it is possible to use an on-board Bluetooth chip to do OTA firmware updates on the STSPIN32F0A?
If it is possible, could you give me a guide on how I would go about the connection between the two and what firmware requirements I would need to implement this?
I look forward to any advice anyone can offer me on this topic.
Solved! Go to Solution.
2021-03-26 06:07 AM
Hello @CGibb.1 and welcome to the ST Community.
You can use the STSPIN32F0A bootloader to load a new firmware using a Bluetooth module as an interface.
However there are some key points to consider:
The BlueNRG-2 device might be right for you.
You will need to write the program to manage the OTA update and use the flash of the Bluetooth module as a buffer memo in case something goes wrong.
You can try to ask support in the Interface and Connectivity ICS Community.
I hope this post can help you; if so, consider to mark it as best answer by clicking the label "Select as Best".
2021-03-26 06:07 AM
Hello @CGibb.1 and welcome to the ST Community.
You can use the STSPIN32F0A bootloader to load a new firmware using a Bluetooth module as an interface.
However there are some key points to consider:
The BlueNRG-2 device might be right for you.
You will need to write the program to manage the OTA update and use the flash of the Bluetooth module as a buffer memo in case something goes wrong.
You can try to ask support in the Interface and Connectivity ICS Community.
I hope this post can help you; if so, consider to mark it as best answer by clicking the label "Select as Best".
2021-03-26 06:16 AM
Hi @Cristiana SCARAMEL ,
Thank you for your reply and the part suggestion. In order to use the STSPIN32F0A bootloader do I have to send the new firmware over USART communication from the Bluetooth chip or can I use another communication protocol like I2C to send the new firmware to the devices flash memory?
Thank you, you have been very helpful. I look forward to your response.
2021-03-26 06:29 AM
Hi @CGibb.1 ,
The STSPIN32F0A bootloader is used to reprogram the Flash memory by using the USART on pins PA14/PA15.
For more details refer to application notes AN5123 ;)
2021-03-26 06:32 AM
Hi @Cristiana SCARAMEL ,
Okay, so to use I2C I would have to write my own Bootloader for the STSPIN32F0A.
Thank you for all the helpful information!