Jump to content
43oh

(Universal) Color LCD graphics library (2)


Recommended Posts

  • Replies 127
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

This is my new universal graphics library (original one is here.)   Supported boards (this is out of the "box" support, but the library will work with any board after small changes.)   TI's MSP430

This was the case, at least for me. According to the datasheet I have for this display, the RGB/BGR direction is controlled by HW pin, so I made the following changes to the code in graphics.c file.

Here's something you can use for testing (software SPI only.)   ugl16stella.zip

Posted Images

  • 2 weeks later...
  • 1 month later...

Hey RobG,

 

I recently purchased A V3 Color LCD Booster Pack configured as NEW LP compiant.

Question: Should JP1 through JP4 be soldered/jumpered to '1' inidcated by silksceen?

 

I have interpreted from the description that all (JP1-JP4) should be jumpered to '1'.

 

The BP I recieved JP3 is NOT jumpered to either '1' or '2'.

 

This BP is being used in conjunction with recent TIVA LP.

 

Thanks

 

--John

Link to post
Share on other sites
  • 3 weeks later...
  • 4 weeks later...

Hello:

 

I am new on this, I am asking for your kindly and awesome knowledge.

 

 I use CCS to compile the library, no problems in compilation.  My problem is in the connection. :( I wonder where do I have to connect LED and Reset from the TFT :(I dont have the PCB. I just get the TFT Board with (SDO(MISO), LED, SCK, SDI(MOSI), D/C, Reset, CS, GND, VCC).  I already check the config file and uncomment my board. (I Have an Launchpad MSP430F5529).

 

From the config.h I get:

 

SLCK P3.2
MOSI P3.0
MISO P3.1
CS   P6.5
DC   P6.6
 
Is it right?
 
:( I start to desperate :( Please help
 
Thank you very very much :D
Link to post
Share on other sites

Maybe I'm missing something here, but I've tried both versions of code (ugl8msp and ugl16msp) on a TI 5529 Launchpad and the 2.2" without touch and with SD card...   The code compiles fine loads fine, and seems to run fine, but nothing shows up on the screen...

 

The only thing I notice is that just after it runs"initLCD()"  the screen slightly darkens, then after "drawString(5, 5, FONT_SM, "Texas Instruments");"  it goes back to white...

 

I bought two of the screens and both do the same thing...

 

What am I missing?

 

Thanks. 

 

Link to post
Share on other sites

Maybe I'm missing something here, but I've tried both versions of code (ugl8msp and ugl16msp) on a TI 5529 Launchpad and the 2.2" without touch and with SD card...   The code compiles fine loads fine, and seems to run fine, but nothing shows up on the screen...

 

The only thing I notice is that just after it runs"initLCD()"  the screen slightly darkens, then after "drawString(5, 5, FONT_SM, "Texas Instruments");"  it goes back to white...

 

I bought two of the screens and both do the same thing...

 

What am I missing?

 

Thanks. 

   Finally figured out what the problem is.

 

It appears the pin out is incorrect for the 5529 Launchpad.  It should be the following (CS and DC pins are incorrect):

#if defined F5529_TI
 
#define LCD_SCLK_PIN BIT2
#define LCD_SCLK_PORT P3
#define LCD_MOSI_PIN BIT0
#define LCD_MOSI_PORT P3
#define LCD_MISO_PIN BIT1
#define LCD_MISO_PORT P3
#define LCD_CS_PIN BIT6
#define LCD_CS_PORT P2
#define LCD_DC_PIN BIT6
#define LCD_DC_PORT P1
 
I hope that helps other...
 
RobG, 
Nice driver set... Any chance you can post schematics or a BOM?
 
Thanks!
Link to post
Share on other sites
  • 2 weeks later...
  • 4 weeks later...

Hi RobG,

 

I bought your LCD about 2 weeks ago from Tindie.

I am trying to download the graphics library from the Stellaris link - but I am unable to do so, it seems for some reason that I am blocked (I am registered with the forum website).

Is there any other way that I can get access to the files?

BTW I am able to download from this forum no problem.

 

Many Thanks.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...