Skip to main content
Visitor II
November 7, 2023
Solved

STM32H7B3I-DK SDRAM SIZE

  • November 7, 2023
  • 3 replies
  • 1102 views

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?

 

    This topic has been closed for replies.
    Best answer by KDJEM.1

    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

     

    3 replies

    Technical Moderator
    November 7, 2023

    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

    Graduate II
    November 7, 2023

    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

    KDJEM.1Answer
    Technical Moderator
    March 28, 2024

    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