cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7B3I-DK SDRAM SIZE

ma-hara
Associate II

Hello.

I am developing a system using STM32H7A3LIH6Q with CubeIDE.
I use the SDRAM with IS42S16800J-6BLI,
I am trying to use the BSP in the firmware package STM32Cude FW_H7 V1.10.0 as it is the same as STM32H7B3I-DK.

I have a question here.

In stm32h7b3i_discovery_sdram.h of Driver-BSP-STM32H7B3I-DK in STM32Cude FW_H7 V1.10.0, it is defined with SDRAM_DEVICE_SIZE 0x800000.
Is there a reason why it should be 0x1000000 since the "IS42S16800J-6BLI" is 128Mbits?

 

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hi @ma-hara ,

The correct STM32H7B3I-DK SDRAM Size is 0x1000000U.

This issue is solved in STM32CubeH7 1.11.2

#define SDRAM_DEVICE_SIZE         0x01000000U   /* IS42S16800F (128Mb) = 2M x16 bit x4 Banks */

Thank you for your contribution in STCommunity.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
KDJEM.1
ST Employee

Hello @ma-hara ,

 

I reported this issue internally.

Internal ticket number165785  (This is an internal tracking number and is not accessible or usable by customers).

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Does seem amiss. Looks like you could just change it, and then test that it all works.

Some of the DISCO / DK devices have historically used 32-bit wide devices, and only used the first 16-bit, resulting in half the memory being thrown away, but a cheaper / higher volume part that might have long term availability, or already in the stock-room

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KDJEM.1
ST Employee

Hi @ma-hara ,

The correct STM32H7B3I-DK SDRAM Size is 0x1000000U.

This issue is solved in STM32CubeH7 1.11.2

#define SDRAM_DEVICE_SIZE         0x01000000U   /* IS42S16800F (128Mb) = 2M x16 bit x4 Banks */

Thank you for your contribution in STCommunity.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.