libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
sdram.h File Reference
#include <stdint.h>
#include "daisy_core.h"

Go to the source code of this file.

Classes

class  SdramHandle
 

Macros

#define RAM_AS4C16M16SA_H
 
#define DSY_SDRAM_DATA   __attribute__((section(".sdram_data")))
 
#define DSY_SDRAM_BSS   __attribute__((section(".sdram_bss")))
 

Macro Definition Documentation

◆ RAM_AS4C16M16SA_H

#define RAM_AS4C16M16SA_H

SDRAM for 32MB AS4C16M16SA (and 64MB equivalent). Thanks to whoever this awesome person is: http://main.lv/writeup/stm32f4_sdram_configuration.md The Init function is basically a copy and paste. He has references to timing, etc. RAM is configured at 100MHz (fastest possible on the MCU). To use these the .sdram_data/_bss sections must be configured correctly in the LINKER SCRIPT. using BSS is advised for most things, since the DATA section must also fit in flash in order to be initialized. Data section init not properly set up, as SDRAM is not initialized until after startup code. &