Interfacing TWR-K53N512 LCD controller using SPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interfacing TWR-K53N512 LCD controller using SPI

Jump to solution
767 Views
venkataprasad
Contributor II

I am using TWRK53N512 kit and IAR Workbench

I am new to embedded programming...!

I want to program a 3rdParty LCD Controller (TFT Graphic Resistive touch) using TWRK53N512 via Serial interface (mostly SPI).

First I am targeting to display text on the LCD and later I want to display a 12bit image on that LCD.

Could you please let me know, How I can start using SPI for achieving this? Please provide me if there is any example available.

Thanks in advance....!

Labels (1)
0 Kudos
Reply
1 Solution
674 Views
adriancano
NXP Employee
NXP Employee

Hi,

In the KINETIS512 source code version 2 you can find a SPI example for your reference. This examples is compiled in IAR for the TWRK60N512, but can be easy migrated to the TWR-K53N512 you can find it in the path:

<install_folder>\KINETIS512_V2_SC\build\iar\spi_demo

The example configures the SPI module to talk with a memory on the Memory Tower System Module|Freescale.

You can find the source code here: Kinetis 100MHz Rev 2 Example Projects


Hope this information can help you.

Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
2 Replies
675 Views
adriancano
NXP Employee
NXP Employee

Hi,

In the KINETIS512 source code version 2 you can find a SPI example for your reference. This examples is compiled in IAR for the TWRK60N512, but can be easy migrated to the TWR-K53N512 you can find it in the path:

<install_folder>\KINETIS512_V2_SC\build\iar\spi_demo

The example configures the SPI module to talk with a memory on the Memory Tower System Module|Freescale.

You can find the source code here: Kinetis 100MHz Rev 2 Example Projects


Hope this information can help you.

Best Regards,
Adrian Sanchez Cano
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
674 Views
mjbcswitzerland
Specialist V

Hi

You may get some initial help and ideas here: http://www.utasker.com/docs/uTasker/uTaskerLCD.PDF

https://www.youtube.com/watch?v=AdtRyQ-2IrE

https://www.youtube.com/watch?v=GkVOn4Nf2dk

IDM-L35-Part2.wmv - YouTube

STM32-1_uTasker.wmv - YouTube

Note all are on Freescale processors but SPI and/or parallel modes are equivalent (the last video shows a HW using SPI mode) and all code is available for the Kinetis devices.

Regards

Mark

http://www.utasker.com/kinetis.html