2019-01-30 10:53 PM
The header for this function is very cryptic - what, for example, is 'ParametersTable'.
All I want to do is check that my display if present by reading the ID codes (its a ILI9806E) but I get a timeout error on the read even though the page select write succeeds.
A worked example would provide me (and I'm sure many others) with the documentation required to use this capability.
2019-01-31 05:29 PM
On further examination of the code I see
/* Get the first byte */
*((uint32_t *)Array) = (hdsi->Instance->GPDR);
but the parameter Array is a uint8_t *
HAL_StatusTypeDef HAL_DSI_Read(DSI_HandleTypeDef *hdsi,
uint32_t ChannelNbr,
uint8_t* Array, // <<< byte array, not uint32_t !!
uint32_t Size,
uint32_t Mode,
uint32_t DCSCmd,
uint8_t* ParametersTable)
Somehow this doesn't seem right!!