cancel
Showing results for 
Search instead for 
Did you mean: 

Problem of SPI initialization after waking up from stop mode for STM32L031K6T6

RPate
Associate

Hello all,

In my Project i m using stm32l031k6t6 microcontroller interfaced with GSM and GPS module and external FLASH memory.

For that , first controller read coordinates information from GSM and GPS module and store it into flash memory for record. and after that , microcontroller will go in stop mode. and before that i disabled GPIO ports , Deinit UART and SPI. and init again after waking up from stop mode. GPIO and UART works fine. BUT SPI does not initialize. so where is the probelm ?

wake up process i have done through LPTIMER. Do i need to do any thing specially for SPI. ?

Please let me know as soon as possible .

Thanks & regards,

Reena Patel

1 REPLY 1
S.Ma
Principal

Well it depends how to configure the SPI especially 4 wires? NSS by Soft? Full duplex/Half duplex/One way only. Do you use DMA on SPI? Are you using HAL or LL?