Skip to main content
Associate II
September 25, 2024
Solved

QSPI connection in STM32L412

DEar forum

 

I'm designing a system to use a quad spi memory for log purposes. And I see that the L412R8I only features qspi bank 1 on AF10

Bank 0 is missing

Is it okay? I'd only use it by indirect access, because the memory is to be read and written

 

Are there code examples for this chip?

Cheers

Ignacio

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
September 25, 2024

There should be L4 QSPI examples in CubeL4 and the BSP code.

For writing use Page Write function of QSPI memory used. Flash Id/Bank passed in hqspi structure 

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

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
September 25, 2024

There should be L4 QSPI examples in CubeL4 and the BSP code.

For writing use Page Write function of QSPI memory used. Flash Id/Bank passed in hqspi structure 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
nachus001Author
Associate II
September 25, 2024

Hi Tesla 

I will check that asap. 

Now regarding the qspi electrical connection, is okay to work with the bank 1 instead of zero? Unless that i'm missing something, there is no bank 0 in the L412

Best 

Ignacio