2025-08-14 10:31 PM
Hello,
I'm using STM32L471 and Micron MT25QL NOR Flash with single SPI interface. MT25 is also connected with other MCU (NRF52) using the same lines. I'm trying to write STM firmware in BOOT0 serial bootloader controlled by NRF using STM's USART3. The firmware is stored in MT25, NRF reads it using SPI, and transfers it to STM using UART.
The problem is that when STM booted in bootloader mode, it seems that STM initializes SPI interface with Push-Pull configuration on MISO line. This behavior causes a collision between MISO signal of STM and MT25, the signal level goes intermediate level about 2.0V, and the result is NRF reads FFh.
So my questions are:
Best regards,
Chris
2025-08-15 2:10 AM
Hello @ChrisFujii
Welcome to the community. It seems that this issue has already been addressed in this application note: Introduction to system memory boot mode on STM32 MCUs at the section 68 STM32L412xx/422xx devices.
Also, the STM32L471xx errata sheet states that SPI interface is not supported in bootloader mode for this device:
Therefore, I suggest that you use another interface for this device.
With regards