FlashDB/demos/stm32f405rg_spi_flash
armink 9ea4a0e729 [tsdb&kvdb] improve the database control function. 2020-06-28 00:03:31 +08:00
..
.settings [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
RVMDK [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
applications [tsdb&kvdb] improve the database control function. 2020-06-28 00:03:31 +08:00
drivers [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
libraries [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
linkscripts/STM32F405RG [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
sfud [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
.cproject [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
.gitignore [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
.project [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
README.md [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
makefile.targets [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00

README.md

stm32f405rg demo

What

KVDB and TSDB demo on STM32F4X chip

  • MCU: STM32F405RG
  • Flash Driver
    • spi flash (W25Q64) by using SFUD
  • IO
    • UART
      • TXD: PA9
      • RXD: PA10
    • SPI
      • CS: PB12 (software CS)
      • SCK: PB13
      • MISO: PB14
      • MOSI: PB15

How

Step1: connect the serial terminal

Connect the board to PC by serial port and open the PC serial terminal.

Step2: open demo project

support 2 kinds of IDEs

  • Keil MDK: open RVMDK\FlashDB.uvprojx
  • RT-Thread Studio: import this folder by import wizard

Step3: build and download

Download the firmware to your board when build successful.

Step4: check the log

This demo's log will output to PC serial.