Skip to main content
Evgeny_v
Associate
November 8, 2019
Question

STM32H743ZI SDRAM. RAS/CAS pins not working

  • November 8, 2019
  • 2 replies
  • 977 views

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.

This topic has been closed for replies.

2 replies

Evgeny_v
Evgeny_vAuthor
Associate
November 8, 2019

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
Associate III
May 8, 2021

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