cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the SDRAM in stm32f7 series

Yugenthar
Senior

Hello everyone ,

I am Yugenthar

Right now i am working in embedded development platform . So i have one doubt guys.I have using stm32f746-disco board.

I am displaying one image in LCD screen (800x760)so pixel size is incresing.

my code is runing in flash memory

my compiler is show one error "your flash is overflow"

then I have decided move to SDRAM and store my code

But I have not perfect in SDRAM so any one give the sollution any material or tutorial link


_legacyfs_online_stmicro_images_0693W00000bj0UiQAI.png 

13 REPLIES 13
LCE
Principal

EDIT: sorry, you want to know how to use the external RAM on the disco board...

What about starting with calculating how many bytes you need, and then compare to the controller's spec?

If your data is too big, you might need external RAM or flash.

From your screenshot: definitely you need some external memory...

Isn't there anything on that discovery board?

Yugenthar
Senior

BRO i need one doubt .

how to Calculate byte and how to add the external ram.

so i am not clear in microcontroller byte calculation

then one doubt how to find the internal sdram in controller then how to store the my code in sdram give the solution and any reference material or tutorial link

Please remove the "select as best" from my 1st reply, because I'm not ansering your question at all.

Dude, basics, back to school!

8 bits = 1 byte, then something like uint32_t = 4 bytes, so an array of uint32_t u32example[500] has a size of 500 x 4 = 2000 bytes.

Memory sizes are usually given in bytes.

... and maybe I'm a SIS? ;)

Yugenthar
Senior

Thank for your Help LCE (SIS)

I really enjoy your byte calculation concept and tech.

Then I calculate my code array byte is to long

I have refer in stm32 programing manual is give flash memory concept .but my doubt how to find the Full flash memory in microcontroller So I am not fit in memory concept

Before i write the code basic level my compiler is working good.

Now I'm moving image processing high level code not work so my senior is suggest understand memory concept and utilize the memory

If I need your help in memory concept.

How to read the datasheet in memory concept

> Thank for your Help LCE (SIS)

Not really, I was just making fun of your "BRO", which we usually don't use here.

This is a technical and rather humorless forum!

Yugenthar
Senior

Okay sister

.

your Good name .

When running out of Internal Flash the External QSPI Flash would be where to park large graphic resources. Would need to select an External Loader to download data to it, and then App side code to bring up the pins and memory interface.​

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

Okay bro...

Thank you for you information.

first of all I don't know the QSPI concept. I have study the QSPI Concept because one doubt So QSPI is internal memory or external memory.......

It is a low-pin-count external memory. Often an 8-pin device, with 6 pins on the STM32 side for communication.

The STM32F746G-DISCO has a 128-Mbit (16MB) Quad-SPI Flash memory.

I don't recall if it's a Micron or Macronix device, but it should be supported via the BSP code available for the board.

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