cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743ZI SDRAM. RAS/CAS pins not working

Evgeny_v
Associate

I checked for signals. all signals ok except PF11 / PG15 pins (RAS/CAS). Pins configured same as others dram-related: AF12, alternate function (gpio registers checked).

I check this signals in GPIO mode, pins and pcb traces working well. But in alternate AF12 mode CAS/RAS pins output only static level without any changes. At same time CLK, address bus,CS signals working. DQM and WE at write attempt signals also working. Look like wrong pin configuration.

2 REPLIES 2
Evgeny_v
Associate

I solve this.

Cube mx generate incorrect code - not fully initialize sdram (refresh period register=0), and enable sram peripheral instead of dram controller. After direct initialization according to the datasheet, sdram work fine.

MEdgerton
Senior

Hi, What SDRAM were you using? I had it working on F767 but it fails on the H743 with the same setup,

Could you post your setup?

Thanks,

Mark