ILI9341 16bit It's not working

Moderator: Benj

Post Reply
User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

ILI9341 16bit It's not working

Post by Osta »

PIC16F1939
Did everything right!
But all shifted !!!
Attachments
DISPLAY.fcfx
Disp
(9.7 KiB) Downloaded 191 times
Prog
Prog
FC8_ILI9341_16b.jpg (27.92 KiB) Viewed 3478 times
File
File
Disp.jpg (111.31 KiB) Viewed 3478 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ILI9341 16bit It's not working

Post by Benj »

Hello,

I have exposed the component macros LCD_Write_Reg and LCD_Write_Data8. These should allow you to play around with the various register on the display to try and remove the offset. I've pushed this new version to the update system now.

I'm guessing it's something like the vertical scrolling or vertical scroll start address that's at fault on your display though there are lots of registers so I could easily be wrong. Look at the ILI9341 datasheet and find the registers I'm talking about and maybe others.

For the vertical scrolling command you would send the command like this.

LCD_Write_Reg (0x33) //Command
LCD_Write_Data8 (0xXX) //Parameter 1
LCD_Write_Data8 (0xXX) //Parameter 2
LCD_Write_Data8 (0xXX) //Parameter 3
LCD_Write_Data8 (0xXX) //Parameter 4
LCD_Write_Data8 (0xXX) //Parameter 5
LCD_Write_Data8 (0xXX) //Parameter 6

Keep playing until you get something different and that's when you may be on the right track.

Hope this helps.

User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

Re: ILI9341 16bit It's not working

Post by Osta »

Hello Benj!!!
Unfortunately, everything remained unchanged......
:(

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ILI9341 16bit It's not working

Post by Benj »

Hi Osta

What registers did you try changing?

If you count how many pixels your off by then I can add a new offset property for you to override the problem via the component.

User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

Re: ILI9341 16bit It's not working

Post by Osta »

Hi Benj!!!
I have to go away on business !
When I get back, I'll check!
Osta.

User avatar
Osta
Posts: 159
Joined: Tue Jul 05, 2016 9:42 am
Been thanked: 13 times
Contact:

Re: ILI9341 16bit It's not working

Post by Osta »

Hi Benj!!!
I'll check and answer this weekend.
With respect Osta.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: ILI9341 16bit It's not working

Post by Benj »


Post Reply