2019-04-01 06:51 AM
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
2019-04-01 07:44 AM
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?