Question
DSI Host Error Handler
Hi,
I`m new to MIPI DSI, and still learn how to use it.
Recently, I develop with my custom board and start with MIPI interface display. Then config with CUBEMX, but after compile program, it always stuck in HAL_DSI_Iinit while loop below
/* Get tick */
tickstart = HAL_GetTick();
if ((hdsi->Instance->PCONFR & DSI_PCONFR_NL) == DSI_ONE_DATA_LANE)
{
while ((hdsi->Instance->PSR & (DSI_PSR_PSS0 | DSI_PSR_PSSC)) != (DSI_PSR_PSS0 | DSI_PSR_PSSC))
{
if ((HAL_GetTick() - tickstart) > DSI_TIMEOUT_VALUE)
{
/* Process Unlocked */
__HAL_UNLOCK(hdsi);
return HAL_TIMEOUT;
}
}
}

I follow the AN4860 to setting the same method with my MIPI display.
Is any suggestion to solve this problem?
Thanks for any help!
