Jump to content
Sign in to follow this  
Rei Vilo

[Energia Library] Colour LCD 2.2" Touch Library for LaunchPad + StellarPad

Recommended Posts

Here is the library for Rob's nice 2.2" Color LCD Booster Pack with Touch with a reference manual.

 

Distribution107.zip

 

I've tested it successfully with a LaunchPad MSP430G2553 and a StellarPad LM4F120H5QR.

 

Notes

  1. SPI maximum speed MSP430G2553 = SPI_CLOCK_DIV4 and LM4F120H5QR = SPI_CLOCK_DIV2
  2. Software SPI implementation doesn't work for getTouch(): issues with shiftIn().
  3. For the LM4F, screen SPI communication needs to be cleaned with a useless point(0, 0); before talking to the touch controller.

References

Enjoy :smile:

Share this post


Link to post
Share on other sites

 

  1. Software SPI implementation doesn't work for getTouch(): issues with shiftIn().

 

TSC's clock has to be 2MHz or less. Can you try with slower SPI? You could change it inside getTouch()

Share this post


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.

Sign in to follow this  

×
×
  • Create New...