stm32f4xx-hal
stm32f4xx-hal copied to clipboard
Use of the stm32-fmc crate
I want to control the screen on the stm32f469i-discovery board. For this i need to configure the external sdram with the FMC. I have copied with minor changes the implementation of the fmc in stm32h7xx-hal which uses the crate stm32-fmc.
It seems to work on my board, see my branch. I haven't tested it on any other devices. It should work as long as the pins assignment are adapted.
Now this implementation is different from what is currently under src/fsmc_lcd and I don't know if it is possible make both work together.
If this implementation of the FMC is interesting I would like to make a pull-request.
FMC is a superset of FSMC. The fscm_lcd driver communiates via a data/command interfac. Your description sounds like on your board it would write directly to a SDRAM chip which acts as a framebuffer for the display. It would certainly be interesting to see how this works; in case it's indeed different then we'd be certainly happy to take it in.