2021-03-15 02:41 AM
It received the initial code for the ILI9806E.
The codes you received are as follows.
write_command(0xFF); // Change to Page 1 CMD
write_data(0xFF);
write_data(0x98);
write_data(0x06);
write_data(0x04);
write_data(0x01);
write_command(0x08); //Output SDA
write_data(0x10);
write_command(0x20);//set DE/VSYNC mode
write_data(0x00);
I changed it as below to use it 469 for STM32.
uint8_t p1PageChange[] = {0xFF, 0x98, 0x06, 0x04, 0x01}; /* page1 */
HAL_DSI_LongWrite(&hdsi, LCM_ID_ILI9806E, DSI_DCS_LONG_PKT_WRITE, 5, 0xFF, p1PageChange);
HAL_DSI_ShortWrite(&hdsi, LCM_ID_ILI9806E, DSI_DCS_SHORT_PKT_WRITE_P1, 0x08, 0x10);
HAL_DSI_ShortWrite(&hdsi, LCM_ID_ILI9806E, DSI_DCS_SHORT_PKT_WRITE_P1, 0x20, 0x01);
It's not working at all to make these changes and initialize them.
I want to ask if the code I changed is wrong.
2022-03-02 03:11 AM
Hi @PKunK.1 (Customer) ,
Can you please share me the ILI9806E code for initializing the ILI9806E module.
I can't change the LCD orientation . Currently set it as 480p width and 800p height. i wanna change it to 800 width and 480 height.
Thanks,
meimurgan
2022-08-05 08:12 AM
Hi MKris.5, have you found a correct init procedure to initialize ILI9806E?
Thanks
Dan
2022-08-05 09:24 AM
So this doesn't turn into a blind leading the blind exercise, perhaps we can cite relevant documents, and where various code was lifted from? Implementation details so it's not a crystal ball analysis of scant information.
The Model of STM32 involved.
The Data Sheet for the ILI9806E
The Data Sheet for the Panel being driven
The timing expectation, etc
The PLL, LTDC and DSI settings.
The DSI on the STM32 side need enough bandwidth to mean and/or exceed the delivery/production rate of the LTDC
The expectations on the ILI9606E vs Display
Perhaps confirm connectivity via changing register(s) that alter how you see the screen/display. Perhaps Invert/Flip type things which might be most obvious.
write_command(0x20);//set DE/VSYNC mode
write_data(0x00);
HAL_DSI_ShortWrite(&hdsi, LCM_ID_ILI9806E, DSI_DCS_SHORT_PKT_WRITE_P1, 0x20, 0x01);
writing different values?
2022-08-10 04:01 AM
2024-05-06 07:15 AM
Hi Dan
Were you able to get this working?
I am having the same issues you had at the time of your post.
My project has this display and a STM32 MCU.
If you got your project working, do you mind sharing your IOC file and display configuration.
Thanks
Gustavo