Skip to main content
Visitor II
September 25, 2024
Solved

QSPI connection in STM32L412

  • September 25, 2024
  • 1 reply
  • 904 views

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.
    Best answer by Tesla DeLorean

    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 

    1 reply

    Graduate II
    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 

    nachus001Author
    Visitor 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