2024-05-29 08:18 AM
The QSPI is working fine, I can write and read using the standard library.
But when using external loader, it can never write the data correctly, though I can read using Cube programmer.
this is the data I am getting
instead of
I am using the loader files for H7 devices and I followed the examples by STM and other. Theirs seems to be working but not mine. Like the data is twisted upside down. Must be something simple somewhere in the code but I cannot find.
2024-05-29 10:45 AM
Double check the mode the device is in and the read template for Memory Mapped mode, STR, DTR, DUMMY CYCLES
2024-05-30 01:37 PM
It was wrong driver/library, it only partially worked on
MT25QL128
STM32H743BIT6
I could read and write but with some errors.
I followed the STM video how to make the loader, it seems very simple.
I could never get this one to work
I couldn't read or write
So I tried my own. After getting the right library it works fine now, it is writing and reading errors free now.
I am not sure if it was STR, DTR, DUMMY CYCLES I did not check.
2024-05-30 02:20 PM
The latter screen shot shows a MX25LM51245G OCTOSPI device on an STM32H7A/B device.
So you're post's about a MT25QL128 QUADSPI device on a STM32H743BIT6 ?
2024-05-30 04:00 PM
correct I tested
this one works fine.
MX25LM51245G
STM32H7A3IIT6Q
I showed how the data should look like once written to QSPI using OSPI. I did not have other working example.
The first shows how the data is misaligned.
this is how it looks today, it is working