cancel
Showing results for 
Search instead for 
Did you mean: 

In-application programming over SPI

Da nad
Associate
Posted on July 23, 2017 at 15:09

Does STM32L151 has that option?

If does, where can I find a document about it? like AN3078 for I2C.

3 REPLIES 3
Posted on July 23, 2017 at 22:45

You can create IAP over any interface, using any protocol you choose.

For SPI you could emulate a FLASH or EEPROM type device.

For that matter you could just use SPI as a bidirectional serial interface, streaming data in X/Y-MODEM form.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on July 24, 2017 at 08:23

Thanks !

Has ST published an example for SPI? I found only for I2C, USART and SD card.

Posted on July 24, 2017 at 14:35

There were examples of using the SPI System Boot Loader.

The presumption would be that your application already uses the SPI, so you'd have some familiarity with using it, and that the transport is a trivial part of the IAP implementation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..