element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Microchip
  • Products
  • Manufacturers
  • Microchip
  • More
  • Cancel
Microchip
Forum graphics controller pmp drops out
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Microchip to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 19 subscribers
  • Views 720 views
  • Users 0 members are here
Related

graphics controller pmp drops out

Former Member
Former Member over 14 years ago

Hello,

 

I designed a custom pcb which is nearly identical to the DA210 development board using the Truly tft display.  The only changes are some of the spi pins and touch control  pins are changed,  the graphics pins are the same.  I thought that getting the display running on the my custom board would be straight forward.  So far this has not been the case.

 

I have created a very basic program that uses the graphics display library to initialize the pmp, graphics, and output a basic color to the screen.  This program run fine on the development board, but creates a white screen not matter what I output on the custom board.  I have ensured that the proper driver is being used.  I have debugged the problem to the point of finding that the everything is initializing ok, but after settting the color and clearing the device, the color data is only sent to the display from the pmp once and it stops.  All the gclk, hsync, vsync, den signals keep running fine, but the gd15-0 data on the pmp stay high after the first frame is sent.

 


//basic code to test the display - blue should show up on display
ResetDevice();          // initialize the pmp and the graphics module
SetColor(BLUE);     //set the current color to blue
ClearDevice();          //clears the screen sets to current color

 

I found that running a loop fast enough works, but that the the colors quickly fade out from the display as they are not being updated.  

 

// this code displays colors being cycled, it appears to work, but enough time allows the display to fade out when not updated
while(1){
     for(i=0;i<0xffff;i++){

 

         SetColor(i);     //set the current color to blue
         ClearDevice();          //clears the screen sets to current color     
         DelayMs(10);

 

     }

 

}

 

I have checked the errata and could not find anything relative to this problem.  Support has been all but useless, as they post a quick guess to the problem and state the ticket is resolved.  Any ideas why the pmp, graphcs controller would not keep updating the pixel data??  Using compiler 3.24, library, 2.1 , device pic24fj256da210.  All connectors and hardware are identical to that being used on the DA development board.

 

Attached are the schematics of connections.  The board allows use of the edge connector which will mount the microchip truly board, or default connectors all for the display to be mounted directly to board.

Attachments:
imageCopy of Micro - TFT Controller R1.3.pdf
  • Sign in to reply
  • Cancel
Parents
  • MicrochipRTCfr
    MicrochipRTCfr over 14 years ago

    Hi,

     

    A couple of questions from my side to try to narrow down the issue :

    1/ do you have by any chance a DA210 board nearby which you can use as reference ?

    2/ I remember that there is quite a lot of jumpers on the DA210 board. Could one of the jumper setup be the culprit ?

    3/ which display do you use (ref + link to datasheet)) ? is it used in one of the Microchip demoboards ?

     

    My recommendation, to start with, is to compile and run one existing project in order to minimize any SW related issue and validate your HW.

     

    regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • MicrochipRTCfr
    MicrochipRTCfr over 14 years ago

    Hi,

     

    A couple of questions from my side to try to narrow down the issue :

    1/ do you have by any chance a DA210 board nearby which you can use as reference ?

    2/ I remember that there is quite a lot of jumpers on the DA210 board. Could one of the jumper setup be the culprit ?

    3/ which display do you use (ref + link to datasheet)) ? is it used in one of the Microchip demoboards ?

     

    My recommendation, to start with, is to compile and run one existing project in order to minimize any SW related issue and validate your HW.

     

    regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube