Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Basic operation and configuration of SDRAM

Shulou Source: shulou.com Published: 2022-06-02 04:00:32 10月03日 Update

This article mainly explains "the basic operation and configuration of SDRAM". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the basic operation and configuration of SDRAM.

Development environment

IDE: IAR 8.3.2

Hardware board: punctual atom STM32H743 development board

Peripheral configuration

SDRAM configuration involves more pins, all pins open pull-up, high-speed mode

Parameter configuration

Address Mapping of FMC

We use the BANK1 address as 0xC0000000, if the actual product design uses BANK2, the address is 0xD0000000. It requires special attention. We test the assumption that 4k of data is written from the 0x800 of BANK1. The first data is 0xA244250F, and each time the written data is added by 1, and then read it to verify whether what is read and written is the same. The same proves that the operation is correct, lights up the LED0, and flashes LED1 if not.

Add code

First of all, you need to add code to the generated project of STM32CubeMX

At this point, I believe you have a deeper understanding of the "basic operation and configuration of SDRAM". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Configuration basic operations address data same code content practical learning development practical deeper products product design interests atoms parameters peripherals practicality engineering Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Shulou Tech Info macOS Shulou Information MySQL