SSD1963 TFT problem

General discussion on mikroElektronika website & forums.
Post Reply
Author
Message
devrim
Posts: 17
Joined: 17 Oct 2014 12:14

SSD1963 TFT problem

#1 Post by devrim » 09 Apr 2015 08:31

Hi,
I have EasyMx PRO V7 development board and I already made some works on it for graphical visual. But I want to use larger TFT screen. I tried to use WF57BTIBCDAT0 (Winstar) TFT which has 8 bits SSD1963 controller (8080 compatible). I made an adapter board to connect development board and I verified all connections couple of times.
Then I tried couple of ways to init TFT and also checked couple of sample codes. But I got bad result as you can see in the picture.
Would some one please help, what could be the problem ?


My driver code;

module driver

sub procedure Start_TP()

' TFT module connections
dim TFT_DataPort as word at GPIOE_ODR
TFT_RST as sbit at GPIOE_ODR.B8
TFT_RS as sbit at GPIOE_ODR.B12
TFT_CS as sbit at GPIOE_ODR.B15
TFT_RD as sbit at GPIOE_ODR.B10
TFT_WR as sbit at GPIOE_ODR.B11
TFT_BLED as sbit at GPIOE_ODR.B9
' End TFT module connections

dim led as sbit at gpioc_odr.b0
implements


sub procedure InitializeTouchPanel() ' static
ADC_Set_Input_Channel(_ADC_CHANNEL_8 or _ADC_CHANNEL_9)
ADC1_Init()
delay_ms(100)
TFT_init_SSD1963_8bit(320,240)
end sub

sub procedure Init_MCU()
GPIO_Digital_Output(@GPIOD_BASE, _GPIO_PINMASK_ALL)
GPIO_Digital_Output(@GPIOC_BASE, _GPIO_PINMASK_0)
TFT_BLED = 1
TFT_Set_Default_Mode()
tp_tft_set_default_mode()
PWM_TIM8_Init(25000)
PWM_TIM8_Start(_PWM_CHANNEL2, @_GPIO_MODULE_TIM8_CH2_PC7)
PWM_TIM8_Set_Duty(1000, _PWM_NON_INVERTED, _PWM_CHANNEL2)

end sub

sub procedure Start_TP()
Init_MCU()
InitializeTouchPanel()
TFT_Fill_Screen(0)
TFT_Fill_Screen($2575) '

end sub
end.
Attachments
20150409_101920.jpg
20150409_101920.jpg (227.25 KiB) Viewed 2304 times
20150409_101935.jpg
20150409_101935.jpg (273.7 KiB) Viewed 2304 times

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: SSD1963 TFT problem

#2 Post by Aleksandar.Mitrovic » 15 Apr 2015 16:55

Hi,

It seams that you didn't initialize your TFT display properly.
I suggest you to check initialization routine for your display.

Note that you must examine datasheet for WF57BTIBCDAT0 and see what are the required settings for this display.

Also note that custom projects are out of our support scope and we have examples which are tested on SSD1963 display controller and they work.

Best regards,
Aleksandar

Post Reply

Return to “Website & Forums General Discussion”