plz do help to sort this problem
I am working on SSD1963 with 480*272 display ..I use different image displaying on the screen,bt when there is a sudden switching on power supply the color changes.for example, if its blue it changes to pink. my data line 24bit and its RGB format.I observed that during this problem the RGB changes to BGR .
what shal i do to avoid this.
Colour change in TFT 4'3" display SSD1963 is the driver Ic
-
- Posts: 2
- Joined: 17 Mar 2017 05:11
- danilo.milovic
- mikroElektronika team
- Posts: 501
- Joined: 05 Dec 2016 14:59
Re: Colour change in TFT 4'3" display SSD1963 is the driver
Hi,
can you explain a little bit more the problem, how do you mean "when there is a sudden switching on power supply"? When and why is this power switching occurs?
Perhaps you need some cap in order to stabilize your power supply?
Regards,
Danilo
can you explain a little bit more the problem, how do you mean "when there is a sudden switching on power supply"? When and why is this power switching occurs?
Perhaps you need some cap in order to stabilize your power supply?
Regards,
Danilo
Re: Colour change in TFT 4'3" display SSD1963 is the driver
hi,Anna Maria wrote:plz do help to sort this problem
I am working on SSD1963 with 480*272 display ..I use different image displaying on the screen,bt when there is a sudden switching on power supply the color changes.for example, if its blue it changes to pink. my data line 24bit and its RGB format.I observed that during this problem the RGB changes to BGR .
what should i do to avoid this.
this is interesting! i have the exact problem, except i have it always ! i have a ssd1963 and 7" tft. i used 3 different tfts, but always have it. i am going to explain it simply, my green color is fine. but red and blue are toggled ! it should be rgb but it work in bgr - i couldn't make it work in 16bit with pmp or normal port (portd). pic32. it works with 8bit but wrong colors .
how can i change color blue with red ? i am using mikroc pic32 and visual tft ?
i would appreciate any help.
thanks.
before you say check my connections, i will say : it is completely fine. i have don it 5 times. change the pins - ports- mods - all of that. it is the same in compiler without visual tft too.
best regards, Josef.
- Attachments
-
- should be this.jpg (59.92 KiB) Viewed 4537 times
-
- WP_20170709_14_45_54_Pro.jpg (424.5 KiB) Viewed 4537 times
Last edited by josef2600 on 09 Jul 2017 12:06, edited 1 time in total.
Re: Colour change in TFT 4'3" display SSD1963 is the driver
and if you need the schematic of the board, here it is. remember it is designed for both 50pin and 40pin lcd.
it works with development arm boards here.
it works with development arm boards here.
- Attachments
-
- schematic_SSD1963-v3.0.pdf
- (89.6 KiB) Downloaded 157 times
Re: Colour change in TFT 4'3" display SSD1963 is the driver
and i found some say it can solve this problem:
changed color conversion table from GUICC_M565 to GUICC_565.
but i have no idea how to do that ?
anyone ?
changed color conversion table from GUICC_M565 to GUICC_565.
but i have no idea how to do that ?
anyone ?
Re: Colour change in TFT 4'3" display SSD1963 is the driver
i have found this on the internet - avr forum :
TFT_SSD1963YT_8bit_Write_Command(0x36);
TFT_SSD1963_8bit_Write_Data(0x18);
or
TFT_SSD1963YT_8bit_Write_Command(0x63);
TFT_SSD1963_8bit_Write_Data(0x18);
i did it and no change ??!!! why ?
in the datasheet it say it should work. !?!!
page 38 tells me (very graphically!) that it's bit 3 of the set_address_mode (0x36) command that toggles BGR/RGB
but when i send 0x63 command manually and set bit A3 for BGR color and A1 for mirror problem , every things OK and correct.
TFT_SSD1963YT_8bit_Write_Command(0x36);
TFT_SSD1963_8bit_Write_Data(0x18);
or
TFT_SSD1963YT_8bit_Write_Command(0x63);
TFT_SSD1963_8bit_Write_Data(0x18);
i did it and no change ??!!! why ?
in the datasheet it say it should work. !?!!
Re: Colour change in TFT 4'3" display SSD1963 is the driver
i don this too, not working yet.
TFT_SSD1963YT_8bit_Write_Command(0xb0);
TFT_SSD1963_8bit_Write_Data(0b000000); // A0
TFT_SSD1963_8bit_Write_Data(0b10000000); // B5
TFT_SSD1963_8bit_Write_Data(0b010); // HPS10
TFT_SSD1963_8bit_Write_Data(0b01111111); // HPS2
TFT_SSD1963_8bit_Write_Data(0b001); //VPS10
TFT_SSD1963_8bit_Write_Data(0b11011111); // VPS2
TFT_SSD1963_8bit_Write_Data(0b101101); // G2
TFT_SSD1963YT_8bit_Write_Command(0xb0);
TFT_SSD1963_8bit_Write_Data(0b000000); // A0
TFT_SSD1963_8bit_Write_Data(0b10000000); // B5
TFT_SSD1963_8bit_Write_Data(0b010); // HPS10
TFT_SSD1963_8bit_Write_Data(0b01111111); // HPS2
TFT_SSD1963_8bit_Write_Data(0b001); //VPS10
TFT_SSD1963_8bit_Write_Data(0b11011111); // VPS2
TFT_SSD1963_8bit_Write_Data(0b101101); // G2
Re: Colour change in TFT 4'3" display SSD1963 is the driver
f... me !
finally i fixed it.
in "__Lib_TFT_Defs.c" file located in my installation directory "C:\Program Files\Mikroelektronika\mikroC PRO for PIC32\Uses"
i changed color red and blue :
find this one "void TFT_SSD1963_8bit_Write_Data(unsigned int color)" and change it to this routine :
or use my modified file and replace your file were it is:
best regards and happy project.
finally i fixed it.
in "__Lib_TFT_Defs.c" file located in my installation directory "C:\Program Files\Mikroelektronika\mikroC PRO for PIC32\Uses"
i changed color red and blue :
find this one "void TFT_SSD1963_8bit_Write_Data(unsigned int color)" and change it to this routine :
Code: Select all
void TFT_SSD1963_8bit_Write_Data(unsigned int color) {
volatile unsigned short temp;
temp = (color<<3);
if ((temp>>7) == 1) {
temp += 7;
}
TFT_SSD1963YT_8bit_Write_Command(temp);
temp = (color>>5);
temp = (temp<<2);
if ((temp>>7) == 1) {
temp += 3;
}
TFT_SSD1963YT_8bit_Write_Command(temp);
temp = (color>>11);
temp = (temp<<3);
if ((temp>>7) == 1) {
temp += 7;
}
TFT_SSD1963YT_8bit_Write_Command(temp);
}
best regards and happy project.
- Attachments
-
- __Lib_TFT_Defs.rar
- site does not allow me to upload .c file
- (9.24 KiB) Downloaded 158 times