Tagged: sdram

HAL Library 20- FATFS for STM32Fxxx 124

HAL Library 20- FATFS for STM32Fxxx

FATFS library (HAL LIB 20) is a “generic” library for all FAT related implementations, such as SDCARD, USB FLASH, SPI FLASH and also SDRAM can be used with proper FAT initialization. My FATFS library currently supports only SDCARD communication with SDIO (STM32F4xx) or SDMMC (STM32F7xx) or SPI on both families. There is no big difference between them and you can treat them as the same peripheral with only different name. In case you are interested for FATFS based on STD...

HAL library 11- SDRAM for STM32Fxxx 14

HAL library 11- SDRAM for STM32Fxxx

SDRAM library was designed to be used on STM32F429-Discovery, STM32F439-EVAL and STM32F7-Discovery boards. With single define, library will know which board is used and which settings should use to get proper working for RAM. FMC peripheral is used for driving SDRAM. Library Read more about new HAL libraries Features Use SDRAM on STM32F429-Discovery board Use SDRAM on STM32F439-EVAL board Use SDRAM on STM32F7-Discovery board Supports custom pins initialization in case user has own board with RAM Supports commands for read...

All STM32 HAL libraries 101

All STM32 HAL libraries

In this section, I will write all libraries based on HAL drivers from ST. If you see this first time, make sure you read this post first about how structure of my libs looks like! License All my softwares are published under MIT license. This means that you are allow to modify, share and use my source and other stuff in personal or commercial use. If you modify source code, it has to stay under GNU GPL v3 license too. I...

FatFs library extended for SDRAM 6

FatFs library extended for SDRAM

As mentioned at the beginning of post about FATFS with SDCARD, I’ve updated library to extend support for SDRAM on STM32F429-Discovery or STM324x9-EVAL board. Low level functions have been added in library for write/read data ti SDRAM. SDRAM set up To use SDRAM with my FATFS library, you will need to include my SDRAM library, which implements low level functions for read/write in SDRAM and initialization process.  Next thing, you need to do, is to open defines.h configuration file and...

ILI9341 LCD on STM32F4 107

Library 18- ILI9341 with LTDC on STM32F429 Discovery

It’s been a while when I first got ILI9341 lcd working on discovery, but without LTDC driver. Yesterday I decided to make a new library. With LTDC, you can actually display movies, because it uses parallel communication and support 2 layers simultaneously what gives you a high refresh rate. I used my old ILI9341 library and just add/modify some things to get LTDC to work. LTDC also supports 2 layers, so this means that while one layer is displayed, other layer...

All STM32F4 libraries 123

All STM32F4 libraries

Because there is a lot of libraries I have done, I will make a table with all of my libraries at one place. When new library will be created, it will be posted here. These libraries work on both Discovery boards, if not, it will be specified. Actually, libraries should work on STM32F4xx series of microcontrollers if they have peripherals that are need for library. All STM32F4xx MCUs don’t have everything inside. 🙂 Libraries are tested on my 4 STM32F4...