2021-06-29 03:39 AM
I have tested read /Write MT25Q512ABB QSPI using STM32H750 - discovery kit. It is workig properly.
In our customized board is using the MT25Q128ABB in STM32H750xx version..It success write-in function . I can able to read the memory,but it shows always -1
I compared MT25Q512ABB and MT25Q128ABB datasheet.It looks different few register in datasheet.
I am using mt25tl01g driver for MT25Q128ABB.
Can i use same driver for MT25Q512ABB and MT25Q128ABB?
I couldn't find driver MT25Q128ABB in STM32.
2021-06-29 04:16 AM
Would need a driver that's aware of the different expectations of each part.
2021-06-29 12:42 PM
Obviously a driver for the Q*L*512 can't work for a Q*L*128: The QL512 needs 4-byte addresses, either via the special 4-byte command set (all command codes incremented by 1) or after switching to 4-byte address mode the standard command set, and the QSPI interface has to be initialized accordingly. The QL128 needs/supports only 3-byte addresses. These changes should be rather trivial, though.
The same applies to the TL01G vs. QL128 as the TL01G is just two separate QL512 dice in a single package (but wired more or less independent of each other).
2021-06-29 06:54 PM
Thanks for explaining the details and differentiate chip.
It looks to match the below sample.
Drivers\BSP\Components\n25q128a\n25q128a.h
Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_qspi.c
Can I refer above sample code and port to Mt25Q128ABB in STM32H750?
2021-06-29 08:10 PM
Should be a reasonable basis of a port.
2021-06-30 01:23 AM
Although the electrical specs of N25Q128 and MT25QL128 differ slightly, the MT25QL128 is a 1:1 replacement of the discontinued N25Q128 (Numonyx was bought by Micron), they even have the very same ID ...