The newly created screen driver is as follows. After compiling and downloading using the F:\opensifli\sifli-sdk\example\rt_driver\project project, the system crashes. Experts, please help identify the issue?
The screen initialization is normal.
However, the system freezes when sending display data using interrupt mode. When sending data using MCU mode as shown below, does anyone know how to troubleshoot this issue?
Currently, directly using the st77903 driver may indeed cause issues, which are being fixed. As a temporary workaround, you can modify line 186 in the drv_lcd.c file:
#define IS_DMA_FRIENDLY_SRAM(addr) HCPU_IS_SRAM_ADDR(addr)
Change it to:
#define IS_DMA_FRIENDLY_SRAM(addr) ((((addr) >= HPSYS_RAM0_BASE) && ((addr) < HPSYS_RAM1_BASE)) ? false : HCPU_IS_SRAM_ADDR(addr))
After making these changes, the log printing no longer shows errors. However, the screen display is abnormal.
What exactly is the display issue, and what chip and screen model are being used? You could first capture a waveform to analyze whether the command data is correct.
It’s displaying normally now after making the changes above. The display was abnormal because I just discovered that the screen’s VCl power supply wasn’t connected.






