Write enable QSPI Macronix MX25L51245G
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-06 2:47 AM
Hi ,
I come to you to ask for help with Macronix MX25L51245G interfaced with STM32L476RG. My QSPI is set to 32MHz.
Here what I do :
- QSPI Reset (0x66 - 0x99)
- SPI Reset (0x66 - 0x99)
- Wait for WIP = 0 (SPI)
- Enter in QPI (0x35) 1 line
- Wait for QUADEN = 1 and WIP = 0 in QSPI
- QSPI Read Status register (0x05)
- Write enable in QSPI (0x06)
- Wait for WEL = 1 and it never appends (register always return 0x64) in QSPI
If this has already happened to someone, I would like your feedback. Thanks in advance Axoul
My code : https://git.axoul.v6.navy/axoul/logger-stm32/src/master/Core/Src/qspi_drv.c
Labels:
- Labels:
-
Flash
-
QSPI
-
STM32L4 series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
