Lead

Dec 8 12 9:40 AM

Tags : :

Hi
 I bought INT035TFT for test and study. I try to control INT035TFT by PIC32MX795F512L. I need below data of INT035TFT. 

1. DCLK [MHz] ?
2. Hsync and Vsync Period [Hz] ?
3. Hsync and Vsync Pulse Width [DCLK] ?
4. Hsync and Vsync Buck Porch [DCLK] ?
5. Hsync and Vsync Display Period [DCLK] ?
6. Hsync and Vsync Front Porch [DCLK] ?
7. VIDEO BUFFER MEMORY CLOCK [MHz] ?

Any advice make me pleased.

ysaito
from Tokyo,Japan
 

Quote    Reply   

#1 [url]

Dec 8 12 1:15 PM

ysaito-

If you are using the INT035TFT, you will not need any of those signals.  The only signals running to the INT board are 16-bit parallel signals.

Are you referring to the DT035TFT module instead?

-Allan

Quote    Reply   

#2 [url]

Dec 8 12 8:22 PM

Mr.Allan

Hi
 Thank you very much for your quick response. I am referring to Only INT035TFT of SSD1963. I show the picture of my test board and circuit attached.I bought INT035TFT from  on line of RS Components Ltd(Japan),below.
http://jp.rs-online.com/web/p/lcd-colour-displays/7502572/


 I have been trying to control INT035TFT by PIC32MX795F512L of MicrochipTechnology.Ltd.by using the Graphic Library of Microchip a and the Driver of Techtoy Ltd.,below.  Microhip offers only SSD1926 Driver. Techtoy,third party,offer SSD1963 Driver.They need DCLK ,Hsync and Vsync Period and Vsync Buck Porch etc ,below.
http://www.techtoys.com.hk/Displays/Solomon%20SSD1963%20EVK%20R4_1/SSD1963%20EVK%20Ultima%20R4_1.htm



 I have been trying to control INT035TFT by using 8080 16bit parallel interface ,namely DATA00-DATA15 and CS,RS,RD,WR,RESET. Could you show me the sample code ?   So I think I can control INT035TFT well.


ysaito
from Tokyo,Japan




//-------------------------------------------------------------------------------------------------
........
........

// -----------------------------------
// For RGB GLASS
// -----------------------------------
#if defined (USE_TY430TFT480272)
    /*
    *********************************************************************
    * TIMING PARAMETERS FOR 4.3" TFT PANEL (480x272):
    * PART# TY430TFT480272
    *********************************************************************
    */
    /*********************************************************************
    * Overview: Horizontal and vertical display resolution
    *                  (from the glass datasheet).
    *********************************************************************/
    #define DISP_HOR_RESOLUTION                480
    #define DISP_VER_RESOLUTION                272
    /*********************************************************************
    * Overview: Image orientation (can be 0, 90, 180, 270 degrees).
    *********************************************************************/
    #define DISP_ORIENTATION                0
    /*********************************************************************
    * Overview: Panel Data Width
    *********************************************************************/
    #define DISP_DATA_WIDTH                 24
    /*********************************************************************
    * Overview: LSHIFT Polarity Swap
    * If defined LSHIFT is a falling trigger
    *********************************************************************/
    //#define DISP_INV_LSHIFT
    /*********************************************************************
    * Overview: Horizontal synchronization timing in pixels
    *                  (from the glass datasheet).
    *********************************************************************/
    #define DISP_HOR_PULSE_WIDTH        41  
    #define DISP_HOR_BACK_PORCH            2
    #define DISP_HOR_FRONT_PORCH        2    
    /*********************************************************************
    * Overview: Vertical synchronization timing in lines
    *                  (from the glass datasheet).
    *********************************************************************/
    #define DISP_VER_PULSE_WIDTH        10
    #define DISP_VER_BACK_PORCH            2    
    #define DISP_VER_FRONT_PORCH        2


    
    /*********************************************************************
    * Definition for SPI interface for SSD1963
    * Hardware dependent!
    *********************************************************************/
    #define GPIO3 3
    #define GPIO2 2
    #define GPIO1 1
    #define GPIO0 0
    #define LCD_RESET (1<<GPIO0)        //LCD Reset signal (Reset for display panel, NOT ssd1963)
    #define LCD_SPENA    0
    #define LCD_SPCLK    0
    #define LCD_SPDAT    0
    /* End of definition for TY430TFT480272 */



#elif defined (USE_TY500TFT800480)
    /*
    *********************************************************************
    * TIMING PARAMETERS FOR 5" TFT PANEL (800x480):
    * PART# TY500TFT800480
    *********************************************************************
    */


........
........






Click here to view the attachment
Click here to view the attachment
Click here to view the attachment

Quote    Reply   

#3 [url]

Dec 10 12 10:18 AM


ysaito-

The INT035TFT uses an on-board ATMEL chip to automatically initialize both the TFT's chip-on-glass driver as well as the SSD1963 at power-up, so there is no need to set any of the VSYNC, HSYNC, etc values.  I've attached a driver file for the SSD1963 that I use with the Microchip Graphics Library.  This should fit easily with the graphics library, you will only need to replace your current driver file.  Notice that the ResetDevice() does minimal initialization as the SSD1963 will already have been initialized for the 3.5" TFT by the ATMEL chip.  You will want to set various macros in your HardwareProfile.h to define DisplaySetData(), DisplaySetCommand(), DisplayEnable() and DisplayDisable() to set your RS and CS lines.

Your schematic looks great and should work perfectly.

I hope that is helpful!

-Allan



Click here to view the attachment
Click here to view the attachment

Quote    Reply   

#4 [url]

Dec 11 12 5:22 AM

 Mr.Allan

Hi
 Thank you very much indeed.  I compiled primitive layer program of Microchip Graphic Demo program by using your SSD1963.h and SSD1963.c.   Compiling have successed expect the codes  below in SSD1963.c.   I commented out this and made hex file.   And I programed PIC32MX795F512L but INT035TFT showed nothing, namely black screen.  The screen is black screen during programing also.  The interface is 8080 16bit prallel and CS is RD10,RS is RC2,RD is PMRD,WR is PMWR,RESET is RC1. These connections are the same as Microchip Demo program of Explore 16.  I have checked wire connection many times and I checked the signals of pins of board on which PIC is soldered and the signals of pins of INT035TFT board simultaneouly by digital oscilloscope.. All pair of 16 data signal and 5 control signals were the same.   So I believe there no misconnection.   And  All 16 + 5 signals seems valid by digital oscilloscope..   And I have connected 38 pin of INT035TFT to +5V DC.


Any advice make me pleased

ysaio
from Tokyo,Japan





*/
if (GetAlpha() != 100) {
        BarAlpha(left, top, right, bottom);
 return 1;
    }
*/




// bellow is All compiler error message
----------------------------------------------------------------------
Debug build of project `C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Primitives Layer Demo PIC32.mcp' started.
Language tool versions: pic32-as.exe v2.02, pic32-gcc.exe v2.02, pic32-ld.exe v2.02, pic32-ar.exe v2.02
Preprocessor symbol `__DEBUG' is defined.
Tue Dec 11 21:04:09 2012
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\MainDemo.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\GOLFontDefault.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\Palette.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\TimeDelay.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\gfxepmp.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\drvTFT001.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\cpld.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\mchpGfxLCC.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\InternalResourceXC32.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\Primitive.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Objects - Graphics Primitives Layer Demo\SSD1963.o".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Primitives Layer Demo PIC32.elf".
Clean: Deleted file "C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Primitives Layer Demo PIC32.hex".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "MainDemo.c" -o"Objects - Graphics Primitives Layer Demo\MainDemo.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\MainDemo.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\..\Microchip\Graphics\GOLFontDefault.c" -o"Objects - Graphics Primitives Layer Demo\GOLFontDefault.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\GOLFontDefault.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\..\Microchip\Graphics\Palette.c" -o"Objects - Graphics Primitives Layer Demo\Palette.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\Palette.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\..\Microchip\Common\TimeDelay.c" -o"Objects - Graphics Primitives Layer Demo\TimeDelay.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\TimeDelay.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\..\Microchip\Graphics\Drivers\gfxepmp.c" -o"Objects - Graphics Primitives Layer Demo\gfxepmp.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\gfxepmp.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\..\Microchip\Graphics\Drivers\drvTFT001.c" -o"Objects - Graphics Primitives Layer Demo\drvTFT001.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\drvTFT001.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\..\Board Support Package\cpld.c" -o"Objects - Graphics Primitives Layer Demo\cpld.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\cpld.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\..\Microchip\Graphics\Drivers\mchpGfxLCC.c" -o"Objects - Graphics Primitives Layer Demo\mchpGfxLCC.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\mchpGfxLCC.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "InternalResourceXC32.c" -o"Objects - Graphics Primitives Layer Demo\InternalResourceXC32.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\InternalResourceXC32.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "C:\Microchip Solutions v2012-08-22\Microchip\Graphics\Primitive.c" -o"Objects - Graphics Primitives Layer Demo\Primitive.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\Primitive.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "SSD1963.c" -o"Objects - Graphics Primitives Layer Demo\SSD1963.o" -MMD -MF"Objects - Graphics Primitives Layer Demo\SSD1963.d" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include\Graphics" -I"C:\Microchip Solutions v2012-08-22\Microchip\Include" -I"..\..\Board Support Package" -I"." -I"..\..\Microchip\Include" -D__DEBUG -g
Warning: Building a `Debug' configuration with no debug tool loaded.
Warning: Debugger-specific command-line options may be missing.
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L "Objects - Graphics Primitives Layer Demo\MainDemo.o" "Objects - Graphics Primitives Layer Demo\GOLFontDefault.o" "Objects - Graphics Primitives Layer Demo\Palette.o" "Objects - Graphics Primitives Layer Demo\TimeDelay.o" "Objects - Graphics Primitives Layer Demo\gfxepmp.o" "Objects - Graphics Primitives Layer Demo\drvTFT001.o" "Objects - Graphics Primitives Layer Demo\cpld.o" "Objects - Graphics Primitives Layer Demo\mchpGfxLCC.o" "Objects - Graphics Primitives Layer Demo\InternalResourceXC32.o" "Objects - Graphics Primitives Layer Demo\Primitive.o" "Objects - Graphics Primitives Layer Demo\SSD1963.o" -o"Primitives Layer Demo PIC32.elf" "-mperipheral-libs" -Wl,-L"C:\MCHP_2011_07_14\Microchip\Graphics\Drivers",-L"C:\MCHP_2011_07_14\Microchip\Graphics",--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,-Map="Primitives Layer Demo PIC32.map"
Objects - Graphics Primitives Layer Demo\SSD1963.o: In function `Bar':
C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11/SSD1963.c:577: undefined reference to `GetAlpha'
C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11/SSD1963.c:578: undefined reference to `BarAlpha'
collect2: ld returned 1 exit status
Link step failed.
----------------------------------------------------------------------
Debug build of project `C:\Microchip Solutions v2012-08-22\Graphics\_oh_Primi INT035 SSD1963dt_2012.12.11\Primitives Layer Demo PIC32.mcp' failed.
Language tool versions: pic32-as.exe v2.02, pic32-gcc.exe v2.02, pic32-ld.exe v2.02, pic32-ar.exe v2.02
Preprocessor symbol `__DEBUG' is defined.
Tue Dec 11 21:04:34 2012
----------------------------------------------------------------------
BUILD FAILED

Quote    Reply   

#5 [url]

Dec 11 12 9:01 AM

ysaito-

Thank you for the response.  The BarAlpha() function is meant for Microchip's new graphics library (yet to be released) which includes full alphablending support.  There should have been an #ifdef USE_ALPHABLEND_LITE around that if() statement.  Apologies!

At startup of the PIC, you'll want to ensure there is at least a half second delay to allow the INT board to complete auto-initialization.  During that time, you'll want to make sure the reset and CS lines are held high.  Be sure to fully power-cycle the device after re-programming the device with the timeout to allow the INT board to go through initialization.

I hope this is helpful,

-Allan

Quote    Reply   

#6 [url]

Dec 11 12 9:59 PM

Mr.Allan
Hi
 Thank you very much for telling the truth.  To tell the truth, I was a little bit confused during more than two hour for compiling.
 I am looking  forward to getting the sample code for the INT board to complete auto-initialization.   If possible, I hope it includes for INT043BTFT, because I have two INT043BTFT,too.

ysaito
from Tokyo,Japan

Quote    Reply   

#7 [url]

Dec 12 12 9:25 AM

ysaito-

I've attached the updated SSD1963.c file with the required precompiler macro.  Please let me know if this works.

Also you'll want to add something like

int main(void)
{    

    DelayMs(500);                    //Wait 500 ms at startup

    //Pull the reset line high
    DisplayResetDisable();        //Sets RST high
    DisplayResetConfig();         //Sets the pin to output

    ...
}

at the beginning of your program.

The INT043 uses the SSD1961 which is almost identical to the SSD1963 and uses the same register settings, so using the SSD1963.c driver file on the INT043 will work.

Hope this is helpful,

-Allan


Click here to view the attachment

Quote    Reply   

#8 [url]

Dec 13 12 5:18 AM


Mr.Allan

Hi
 I added  the codes "DelayMs(500); DisplayResetDisable();  DisplayResetConfig(); in main() and I changed from old SSD1963.c to new SDD1963.c.   So I could compile successfully.  But I could not see nothing on screen of INT035TFT.   It was black screen. I have two INT035TFT. The other one show nothing either.  
 So I checked 16 + 5 signals of pins of INT035TFT,namely DATA00 - DATA15 ,CS,RS,RD,WR,RESET.   I checked the same 16 +5 signals of myExplore Board for Michrochip SSD1926 Board,which works well(See attached picture).   I made a report of word file that I examined signals and compared both.  I found the waveforms of DATA00 - DATA 07 of INT035TFT seems inverted . (See attached word file)   I think there are some mistakes in my program.

I attached below.
 1. the whole programs, namely project file
 2. Circuit and Picture of myTest Board for INT035TFT of SSD1963
 3. Circuit and Picture of myExplore16 Board for Microchip SSD1926 Board
 4. Waveform report  

ysaito
from Tokyo,Japan      
 







Click here to view the attachment
Click here to view the attachment
Click here to view the attachment
Click here to view the attachment
Click here to view the attachment
Click here to view the attachment

Quote    Reply   

#9 [url]

Dec 13 12 10:24 AM

Ysaito-

Before getting into the details of the parallel signals, you might want to check that the auto-initialization of the INT board works.  I would test this by disconnecting the INT board from the PIC32 connections, apply power to the necessary pins (VDDIO, VDDD, VDDLCD, GNDs, and pin 38) and see if the backlight turns on and the screen comes up with random pixels.  This will let you know that you have powered the device correctly.

I would then re-connect your PIC, program the device and determine which signals are causing the device not to start-up properly.

Looking at your waveforms, it appears you have a CS that is being pulled low and then changing rapidly.  Is this at startup of the device?  If so you will need to ensure that the CS line is held high at power-up to allow the INT board to complete auto-initialization.

-Allan

Quote    Reply   

#10 [url]

Dec 14 12 5:12 AM

Mr.Allan

Hi
 Thank you very much for good advice.  I executed  the random pixel check for my two INT035TFT and they were confirmed by experiments. Please See the attached Picture. 

the CS signal is not a startup signal.  The trigger timing of  all waveforms of my waveform report were random.   Precisely   speaking, the timings were the synchronous timing of AC 100v 50Hz Power line  of Tokyo.



ysaito
from Tokyo,Japan


Click here to view the attachment

Quote    Reply   

#11 [url]

Dec 22 12 3:54 AM

Mr.Allan

Hi
 I am looking  forward to getting the sample code for the INT035TFT board to complete auto-initialization.  Are you coming across the unforeseen technical problems or mysterious bugs ?

Any information make me pleased.


ysaito
from Tokyo, Japan

Quote    Reply   

#12 [url]

Dec 22 12 10:16 AM

ysaito-

The code I send earlier is all of the code you will need to run the device.  The random pixels mean that auto-initialization is completing correctly, and you only need to start writing pixels onto the screen using the PutPixel() method of the code I provided earlier.  No further initialization code is required, as the on-board Atmel chip is already correctly initializing the display and SSD1963.

-Allan

Quote    Reply   

#13 [url]

Dec 23 12 4:10 AM

Mr.Allan

Hi
 I could understand that I had already got the codes to run myTest Board for INT035TFT of SSD1963 and there is not version up codes.   So I will try.

 In your previous bellow advice of 12 December 2012, I cannot understand the meaning.  Please explain bellow advice more easily .   

 Be sure to fully power-cycle the device after re-programming the device with the timeout to allow the INT board to go through initialization.

ysaito
from Tokyo,Japan


Quote    Reply   

#14 [url]

Dec 26 12 11:59 AM

ysaito-

Apologies for the late reply.

What I meant was that the INT board should be turned off and turned back on to allow for the full auto-initialization (random pixels) to complete before sending commands from the PIC32.

I hope that is helpful,

-Allan

Quote    Reply   

#15 [url]

Dec 26 12 5:34 PM

Mr.Allan

Hi
 Thank you very much for your plainly explanation.  I send commands from PIC32 after the full auto-initialization.

 Now I am very busy for working my job that is unrelated to INT035TFT.   But from 29 December this year to 6 January next year , I will take holidays called Year-end and New Year holidays in Japan.  So I will be able to spend many times for the study of INT035TFT at my home.   Of course I know you will take holidays of Year-end and New Year, but  Can I get your advice above days ?   If possible, I would like to know days for me to be able to get your advice.


ysaito
From Tokyo, Japan

Quote    Reply   

#17 [url]

Dec 31 12 6:40 PM

Mr.Allan
Hi
 At the moment I can display nothing on INT035TFT screen at the connection of PIC32MX795F512L.  It shows random pixel for only 1-2sec when DC power is supplied and becomes black screen.    I attached the current circuit and my test board  which is checked by random pixel test again. CS,RS,RD,RW,RESET ports of my test board are as same as Explore 16 of Microchip.

 Now I am trying to display pictures by adapting Primitive Layer of  Microchip Graphic Demo soft for use as INT035TFT. I show my adapting bellow.

1. I copied Primitive Layer folder of C:\Microchip Solutions v2012-08-22\Graphics and paste it in the Graphics folder.
2. I named the copied folder myPrimitive Layer.
3. I copied the SSD1963.h and the updated SSD1963.c in above myPrimitive Layer folder.
4. I opened project file of  Primitives Layer Demo PIC32.mcp in myPrimitive Layer folder as PIC32MX795F512L by MPLAB v.8.87.
5. I removed SSD1926.h, SSD1926 and TCON_SSD1289.c from the project, namely I removed them from the dialogue titled Primitive Layer Demo PIC32.mcp.
6. I added the SSD1963.h and the updated SSD1963.c to the project, namely I added them to the above dialogue.
7. In this step, I checked that I could compile successfully.
8. I opened HardwareProfile.h.  In order to change from 8 bit parallel interface to 16 bit parallel interface,I changed the file included, namely I added comment out on the line of 8 bit codes and removed the comment out on the 16 bit codes bellow.

    //    #include "Configs/HWP_GFXv3_EX16_8PMP_QVGAv1.h"
        #include "Configs/HWP_GFXv3_EX16_16PMP_QVGAv1.h"

9. In MainDemo.c, I added the codes waiting for INT035TFT initialization ,below.

.....
.....

int main(void)
{
    SHORT       width, height, temp, x1, y1, x2, y2;
    SHORT       counter;
    const SHORT polyPoints[] = {
        (GetMaxX()+1)/2,    (GetMaxY()+1)/4,
        (GetMaxX()+1)*3/4,  (GetMaxY()+1)/2,
        (GetMaxX()+1)/2,    (GetMaxY()+1)*3/4,
        (GetMaxX()+1)/4,    (GetMaxY()+1)/2,
        (GetMaxX()+1)/2,    (GetMaxY()+1)/4,
    };


    DelayMs(500);                    //Wait 500 ms at startup

    //Pull the reset line high
    DisplayResetDisable();        //Sets RST high
    DisplayResetConfig();         //Sets the pin to output
   
    // initialize hardware components and peripherals
    InitializeBoard();

    while(1)
    {

.....
.....


10. I could compiled successfully and programed.  But I could display nothing on INT035TFT. It shows random pixel for only 1-2sec when DC power is supplied and becomes black screen.


Are there any mistake in the above process ?


Or Should I change the content of HWP_GFXv3_EX16_16PMP_QVGAv1.h ?
 if so , how do you change ?

Please guide me step by step by using plain and easy English.

ysaito
from Tokyo,Japan




Click here to view the attachment
Click here to view the attachment
Click here to view the attachment

Quote    Reply   

#18 [url]

Dec 31 12 11:37 PM

Mr.Allan

Hi
 Please send me hex file that works on my test board.  I would like to check by your hex file that is for bellow condition.

1. PIC:  PIC32MX795F512L
2. PMP:  16PMP
3. CS is RD10 port
4. RS is RC2 port
5. RESET is RC1 port
6. RD is PMRD port
7. WR is PMWR port

ysaito
from Tokyo,Japan

Quote    Reply   

#19 [url]

Jan 1 13 2:10 AM

Mr.Allan
Hi
 It is OK that the above hex file is simple.   For example the hex file displays one or two line on the INT035TFT.  This hex file will prove my wire connections.  And could you send the project files of the hex file  also ?     I think this project files become  helpful for the solution.


ysaito
from Tokyo,Japan

Quote    Reply   

#20 [url]

Jan 1 13 6:03 PM

ysaito-

Unfortunately I cannot create custom code or share proprietary code with you without further information from you. I will send you a private message.

-Allan

Quote    Reply   
Add Reply

Quick Reply

bbcode help