Interfacing TWR-K53N512 LCD controller using SPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Interfacing TWR-K53N512 LCD controller using SPI

跳至解决方案
535 次查看
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....!

标签 (1)
0 项奖励
1 解答
442 次查看
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 项奖励
2 回复数
443 次查看
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 项奖励
442 次查看
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