2023-11-06 11:59 PM
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?
Solved! Go to Solution.
2024-03-28 12:54 AM
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.
2023-11-07 05:43 AM
Hello @ma-hara ,
I reported this issue internally.
Internal ticket number: 165785 (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.
2023-11-07 09:15 AM
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
2024-03-28 12:54 AM
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.