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....!
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
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
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