AnsweredAssumed Answered

MKL25 SPI de-initialize

Question asked by Kevin Zee on Apr 27, 2015
Latest reply on Apr 29, 2015 by Kevin Zee

My bootloader uses a SPI-Flash chip. If I have read from or written to the SPI bus in the bootloader, when I jump to my application code it does not run correctly. When it tries to wake from sleep (VLLS0), it either does not wake up or it gets stuck in the bootloader initialization - I am not sure which.


However, if I run the bootloader and I do NOT read/write to the SPI bus, the application code runs correctly. Even though the SPI bus is still being initialized in the PE code.


Anyone have any ideas on what to check next? I have tried SPI_Deinit() and that has no effect. The SPI module is running in polling mode.