2025-08-15 9:43 AM
DK1 interface a one lane DSI display. DSI display is using SH8601A LCD driver. SH8601A only can be initialized in LP mode, not HS mode. In Mx, DSIHOST configuration,
1. Bus Turn Around Request is enabled
2. Transmission commands in LP mode is configured
3. After start DSI, I try to read the display, it returned TIMEOUT error.
HAL_StatusTypeDef status;
uint8_t ID_info[1] = {255};
if(HAL_DSI_Start(&hdsi) != HAL_OK) return 1;
uint8_t InitParam0[1] = {0x00};
status = HAL_DSI_Read(&hdsi,0,ID_info,1,DSI_DCS_SHORT_PKT_READ,0xDA,InitParam0);
TIMEOUT error. The reason it is time out is that the following condition in
HAL_DSI_Read function is always false. The GPSR value is : 262229
if ((hdsi->Instance->GPSR & DSI_GPSR_PRDFE) == 0U)
May I know what could cause read failure?
In PHY timing,
The HS and LP means which status, HS means HS 0 or HS 1? LP means LP11, LP01 or LP00? The read failure might relate to wrong timing configure.
Thank you.
Kelly