2020-07-29 12:07 AM
Hi all,
I am working with STM32L476RG and using ST32cubeIDE for developing project. I am trying to enable Quad SPI in my project . I am using MX25R8035FM1IL0 as flash memory. I followed the code in the software package of ST, but it is not working.
When i am reading from reception buffer i am receiving nothing.
my Quad SPI configurations;
i am using instruction , address and data on a single line. when i tried address and data modes with 4 lines, in the reception buffer i am getting value 136 in decimal
Rx and Tx callback are coming when i checked with break points.
I am unable to find the issue in my code .
can anybody help me?
This is the Reference code i used from ST: STM32Cube_FW_L4_V1.15.0\Projects\STM32L476G-EVAL\Examples\QSPI\QSPI_ReadWrite_IT
2020-07-29 12:34 AM
Reading 0x88 suggests it is not in quad mode.
I'd bring the interface up in 1 and 2 bit modes, and in polled rather than interrupt.
2020-07-29 12:36 AM
I'm afraid your description is far away from being useful. What does "i am receiving nothing" actually mean? Did you check signals with a scope?
4-line mode is sort of advanced topic. Try to get 1-line mode working first, and only if reading and programming etc. works in 1-line mode, attempt using 4-line mode. 136 = 0x88 probably indicates the flash doesn't drive the data lines.
2020-07-29 01:04 AM
Thank you for your reply.
i am receiving nothing means i am receving 0s in reception buffer . i didn't check signals with scope.
i will try your suggestions and come back to you