Page 1 of 1

Sdram

Posted: Mon Mar 27, 2023 4:40 pm
by wystewart
I have a stm32h750 discovery board with scram that I would like to make visible to the embedded software. How do I go about modifying the stm32h750 generic variant files to include the scram? And then use in arduino code? I have the board configured in stm32cube, my understanding us that I need to copy and modify some files from there. Some direction would be appreciated. Thanks

Re: Sdram

Posted: Wed Mar 29, 2023 12:09 pm
by fpiSTM
I guess you talk about this example:
https://github.com/STMicroelectronics/S ... /FMC_SDRAM

You can add code at sketch level, enable the HAL SDRAM module and give a try.
All HAL and LL are available at sketch level so I see no reason it could not work.

Here an example how I've ported a Cube example:
viewtopic.php?p=669#p669