cancel
Showing results for 
Search instead for 
Did you mean: 

How do ILI9806E DSI move?

PKunK.1
Associate III

I am working on a test on the stm32f469i_Discovery board.

On the stm32f469i, the MIPI interface operates with the OT8009A LCD.

Instead of OT8009A LCDs, it is planning to connect the stm32f469 with other LCDs.

The LCD control IC uses the ILI9806E while the KD050FWFIA019.

I got the initialization data from LCD provider, and I found out that it's for I2C communication.

I think it's data. I2C communication data needs to be changed to the MIPI protocol.

I don't know how. If anyone can help me, please give me some advice.

1 ACCEPTED SOLUTION

Accepted Solutions
MM..1
Chief II

Use this commands to construct send command and data

//	HAL_DSI_LongWrite(&hdsi, 0, DSI_DCS_LONG_PKT_WRITE, 1, Par1, lcdRegData);
	HAL_DSI_ShortWrite(&hdsi, 0, DSI_DCS_SHORT_PKT_WRITE_P1, Par1, Par2);
 
for example send comd 08 and data 0x10
 
HAL_DSI_ShortWrite(&hdsi, 0, DSI_DCS_SHORT_PKT_WRITE_P1, 0x08, 0x10);
 
for more data us elong write and array

View solution in original post

7 REPLIES 7
Jazman
Associate III

I had looked at using that discovery board to connect and evaluate my target LCD (parallel 16-bit interface). I ended up deciding not to as it would have been extremely unlikely to get it to work due to signal integrity challenges. In fact, I think I found that the pins I needed weren't even pinned out to the expansion header for the board. I had planned to do a PCB that plugged into the header and went to the flex from there. I just ended up laying out a target board with the actual device placed down.

The code you pasted is pretty standard for LCDs and it's most likely SPI not I2C but it depends on what the LCD maker implemented. There is also a power moding sequence you need to go thru with power, reset, etc before you send that sequence of commands to the LCD.

Good luck!

Keith

MM..1
Chief II

Use this commands to construct send command and data

//	HAL_DSI_LongWrite(&hdsi, 0, DSI_DCS_LONG_PKT_WRITE, 1, Par1, lcdRegData);
	HAL_DSI_ShortWrite(&hdsi, 0, DSI_DCS_SHORT_PKT_WRITE_P1, Par1, Par2);
 
for example send comd 08 and data 0x10
 
HAL_DSI_ShortWrite(&hdsi, 0, DSI_DCS_SHORT_PKT_WRITE_P1, 0x08, 0x10);
 
for more data us elong write and array

PKunK.1
Associate III

ILI9806E is not controlled.

I don't know what went wrong.

Can you tell me what's wrong with my settings file?

Ask LCD Provider for how dsi mode your display need. I read your main and you use adaptive command mode, but pdf ILI defines i mean only video modes

for 16 18 and 24 bit stream.

I PKunK.1

Have you fuond a solution to your ILI init procedure?

Cross linking as retrospective search is worthless..

https://community.st.com/s/question/0D53W00000dzsg3SAA/see-if-the-init-code-conversion-is-correct

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
 
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..