Skip to main content
GanZ
Associate
August 12, 2024
Solved

stm32h747I-disco sdram cas

  • August 12, 2024
  • 5 replies
  • 2553 views

 I'm using STM32H747i-DISCO board. In Stm32Cube_FW_H7_V1.11.2 STM32H747I-DISCO example project -- stm32h747i_discovery_sdram.c, cas is 3. SDRAM worked fine with this setting. It didn't work when I changed cas to 2. Datasheet of Is42s32800G-6BLI shows cas is 2 at 100MHz clock.

GanZ_0-1723473648491.png

In How to set up the FMC peripheral to interface with the SDRAM...CAS is also set to 2 for FMC clock 100MHz.  Why cas need to be 3 in Stm32Cube_FW_H7_V1.11.2 STM32H747I-DISCO example project?

 

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
August 12, 2024

>>Why cas need to be 3 in Stm32Cube_FW_H7_V1.11.2 STM32H747I-DISCO example project?

Probably doesn't, but causes no harm, and provides more margin in the access timings, and perhaps others.

IS42S32800J-6BLI, perhaps check/confirm what's actually placed.   https://www.issi.com/WW/pdf/42-45S32800J.pdf

Are you running at 400 or 480 MHz?

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

The SDRAM chip actually placed is IS42S32800g-6BLI.

I'm running at 400MHz. The clock to FMC peripheral is 200MHz, the clock feed to SDRAM is 100MHz.

Billy OWEN
ST Employee
August 16, 2024

Hi @GanZ 

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Billy

Tesla DeLorean
Guru
August 16, 2024

@STTwo-32 can we please add action items to these tickets to come back and report findings so this stuff doesn't disappear down a black hole, or into the opaqueness of internal systems? Thanks

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