Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Programming graphil LCD

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Programming graphil LCD
Moderator:
ANCY

Post Reply
Follow this topic



Programming graphil LCD

Habibi posted on 18 Aug 2012 2:38 AM PST
Member
6 Forum Posts

Hi Everyone,

                      I am currently using 320*240 graphical Lcd with PSoc 5.I am having problem using the graphical lcd function.If I dont want to use this functions then how can I configure the pins of GLCD in PSoc programming?

 




Re: Programming graphil LCD

SpiderKenny posted on 20 Aug 2012 12:23 AM PST
Top Contributor
83 Forum Posts

 I think we are going to need a bit more information before we can all help you out :-)

First of all, which make/model of GLCD are you using?

How do you have it hooked up?

What problems are you having when trying to use the built in component?



Re: Programming graphil LCD

Habibi posted on 20 Aug 2012 01:10 AM PST
Member
6 Forum Posts

Hi

   I am using GLCD from evolute solutions(GM-G320240B-BTSES W-M-TP) for the home automation project using CYC5588AXI-060ES1.

The problem is I have never used cypress LCD graphics controller and i dont know how to use the functions of the same.

Is it necessary to use the functions of LCD_Intf from the .h file?

Can I use my own functions?Please help me with the same

 



Re: Programming graphil LCD

SpiderKenny posted on 20 Aug 2012 01:44 AM PST
Top Contributor
83 Forum Posts

 Assuming that you have wired up the controller in accordance with the data sheet, then  you should use the functions in the .h file.

If you double click on your LCD component in the schematic editor you'll see a button 'datasheet' - read the datasheet which will give you a full description of every function you will need for working with the GLCD.

 

If you wish to use your own functions, and not the auto generated ones, then don't add the graphic LCD component to your design, just add the appropriate amount of Digital Pins, and write your own routines to drive the pins appropriately.

Some of the pins will be outputs, some will be inputs and some will be bi-directional.

You call also use the 'Find Exampe Project...' link on the start page to load up a sample project which will give an example of how to use the component.

I hope this helps. 



Re: Programming graphil LCD

pavloven posted on 20 Aug 2012 02:04 AM PST
Top Contributor
78 Forum Posts

I also found no examples of use of the GLCD components.
As an example I can offer you to look this project (128x64)):
Interfase Modulo LCD Grafico para el PSoC5       
http://ea4frb.blogspot.com/2010/07/interfase-modulo-lcd-grafico-para-el.html

I used this project to create my components GLSD 128x64:
the library component with an example application:   LCD128X64.cylib    http://mylab.wmsite.ru/ftpgetfile.php?id=79
the option of using DMA     DMA_for_GLCD_128x64.zip :   http://mylab.wmsite.ru/ftpgetfile.php?id=82

I used it in my project:
temperature data logger at the CY8CKIT-014 PSoC®5
http://mylab.wmsite.ru/moi-razrab/cypress-psoc/temperature-logger/
Unfortunately most of the comments are in Russian.
Perhaps this will help you.
good luck, Evgeny



Re: Programming graphil LCD

Gautam Das posted on 23 Aug 2012 12:55 AM PST
Cypress Employee
742 Forum Posts

Hi Qutub,

 

I haven't interfaced GLCD. Looking at the datasheet of the GLCD (GM-G320240B-BTSES W-M-TP), what I understand is that you can use GraphicLCDIntf Component configured for 8-bit parallel mode.

This LCD is compatible with 8080 processor family. The default setting seems to be 6800. It can be changed to 8080 by minor tweak to the GLCD board. The GraphicLCDIntf component also implements 8080 interface.

 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20