cancel
Showing results for 
Search instead for 
Did you mean: 

octospi configuration cubemx

JJuli.1
Associate II

I have octospi hyperram memory to use on stm32h7b0 with nor flash I usually use stm32cubemx because it make the life easier but it's my first time configuring memories with it..can anyone help me with that ?

10 REPLIES 10
FLuba.1
Senior

For my externa flash memory MX25L12833FMI-10G

Chip Select high time--->in datasheet of external flash memory: look for "deselect time after a non READ command"(tSHSL or tCSH): for my memory it's 30 ns. See picture below.
Example:  fclk = 104Mhz = 9.62ns , prescaller = 1, what's the chip select high time?
Chip select high time: 30 ns/1*104Mhz = 3.12-->4.

FLuba1_2-1700178674715.png

For my external ram memory APS6408L-3OBM-BA_PSRAM

Chip select high time is : 2

Look at the parameter "tCPH =CE# HIGH between subsequent burst operations = 18 ns" to calculate this.
Example:  fclk = 104Mhz = 9.62ns , prescaller = 1, what's the chip select high time?
Chip select high time: 18 ns/1*104Mhz = 1.87-->2.

FLuba1_3-1700179078435.png