Tiva LaunchPad (ARM Cortex-M4) LCD Menu System - Video Included

I've interfaced my Tiva LaunchPad (ARM Cortex-M4) development board with a small LCD screen as shown in the video below. The LCD screen is a Newhaven display, model number NHD-0420H1Z-FL-GBW-33V3.


Below is a circuit diagram I've drawn to show how everything is setup. It's fairly simple aside from the quantity of connections required to hookup the LCD to the Tiva LaunchPad.

TivaNewhavenCircuitDiagram

As mentioned in the video, I wrote the program running on the Tiva LaunchPad in C++. The code can be downloaded here. I used TI's Code Composer Studio for development, building and debugging, but the code can be easily viewed with any text editor. If you have any questions concerning the code, just let me know.

As my embedded projects get larger, it looks like I'll likely be moving away from Code Composer Studio. Its C++ compiler currently supports only up to C++03 and not C++11 or later. Plus, I'm getting interested in other development boards. It's probably time to move up to a development environment that supports various major vendors.

I've been trying out GCC, IAR Workbench and Keil uVision but haven't made a decision yet. I wish one of the industry standard IDE's supported a Vim plugin. I've not found one yet. Using a normal text editor is painful :(

For my next embedded project, I plan to merge this LCD menu system, my ╬╝DMA audio output project and my MIDI keyboard controller project with new synth code I've been working on. The plan is to make a new and improved synth that greatly outperforms my previous synth project.

Date: June 18th, 2017 at 8:12pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, LCD, Menu System, Sabbatical

Previous Next