2022-05-10 01:40 AM
I have an LCD screen (ortustech COM20H2P74ULX) connected via FMC to the STM32L4 MCU and I have some communication problems as some of the data I write on the screen gets corrupted. I suspect a bad communication timing setup with the screen memory, but I'm new to this so it could be something else.
This is a CubeMX setup that I got from hardware designers for FMC
To initialize the screen, it should receive some poweron sequence data, this data at some points get corrupted. This is visible when using logic analyzer:
In point A I'm sending 0x01 but on the output there is 0x89 and in point B I'm sending 0x02 but output shows 0x03. For the whole poweron sequence more data gets corrupted as shown in this table:
This is timing diagram for the screen:
Thanks in advance for any help