cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750 change QSPI MT25Q512LABB to MT25Q128LABB is not working

Rajesh Kannan
Associate II

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.

5 REPLIES 5

Would need a driver that's aware of the different expectations of each part.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andreas Bolsch
Lead II

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).

Rajesh Kannan
Associate II

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?

Should be a reasonable basis of a port.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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 ...