m25q STM32F746-DISCO example project (QSPI-N25Q128)

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
cpu20
Posts: 7
Joined: Fri Apr 28, 2017 4:39 pm
Has thanked: 1 time
Been thanked: 2 times

m25q STM32F746-DISCO example project (QSPI-N25Q128)

Postby cpu20 » Thu Jun 15, 2017 8:11 pm

Hello,

I have taken the QSPI-N25Q128 example project from the STM32L4xx and changed it so it works for the STM32F746-DISCO platform.
For now the pins are set manually in the main file, but I also attached a changed board.h file for the STM32F746-DISCO. If that board file is used then the pin configurations are done automatically and the configuration can be removed from the main file.
I have tested the program and it works perfectly for me.

Note that when using the m25q-driver on the M7-platform the QSPI uses DMA so the cache coherency problem pops up again. (Some minor fixes need to be made to the m25q-driver to work perfectly for the M7-platform, see this thread)

I hope the project is helpful for some people :)
Attachments
ChibiOS_N25Q128_Example_STM32F7.zip
(12.49 KiB) Downloaded 145 times
QSPI_pin_changes.zip
(13.02 KiB) Downloaded 121 times

Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 1 guest