Posted on April 20, 2018 at 11:55
Hello,
I'm interfacingSTM32H743II with 8080 parallel bus LCD. I configured FMC in CubeMX as LCD Interface with 16bit bus and A11 as R/S pin. However I've run into problem with writing commands/data into LCD. A...
Posted on April 20, 2018 at 17:45I solved this problem by remapping fmc SRAM to 0xC0000000;HAL_SetFMCMemorySwappingConfig(FMC_SWAPBMAP_SDRAM_SRAM);Why this works? Memory under 0xC0000000 is accessed as Device memory, as opposed to memory under 0x600...
Posted on April 20, 2018 at 17:41I believe i have a solution. Put following line at the end of your FMC init function:HAL_SetFMCMemorySwappingConfig(FMC_SWAPBMAP_SDRAM_SRAM);Swap your 0x60000000 address with 0xC0000000. Should work fine.Why this wor...
Posted on April 20, 2018 at 16:32 What a coincidence, i posted exactly the same problem today. https://community.st.com/0D50X00009XkWQESA3 . It looks like fmc tries to write entire 64bit block of memory. Regarding 2nd question: I took a look ...