Wiki

The most recent version of this page is a draft.DiffThis version is outdated by a newer approved version.DiffThis version (20 Sep 2017 07:17) is a draft.
Approvals: 0/1

This is an old revision of the document!


LCD (EADOGM128x6) INTERFACE WITH EV-COG-AD3029LZ

Introduction

This document explains about the hardware and software setup, which is required to interface a LCD (EADOGM128W6) with the EV-COG-AD3029LZ through SPI interface.

The hardware details cover the COG jumper settings and also the pin mapping between the LCD (EADOGM128W6) and the EV-COG-AD3029LZ. The software details cover the software development kit required and the software architecture of the code base written to interface the LCD with the EV-COG-AD3029LZ.

Boards and Accessories required

a.) EV-COG-AD3029LZ (left) b.) AD-GEAR-DISPLAY1Z (right)

Hardware interface

This section contains hardware related information about AD-GEAR-DISPLAY1Z and the EV-COG-AD3029-LZ. Links are provided to the WiKi page of the target COG-AD3029-LZ, the Schematics, BOMs and technical documentations at the end of this page.

Connection Diagram

Board Interface

  1. Connect the AD-GEAR-DISPLAY1Z via it’s Cog connectors to the EV-COG-AD3029LZ’s expansion connectors.

Pin Connection

EV-COG-AD3029LZ pins AD-GEAR-DISPLAY1Z pins
GPIO22 / SPI1_CLK SCL_SCK
GPIO23 / SPI1_MOSI SI
GPIO08 / LCD_A0 A0
GPIO25 / SPI1_CS0 CS_N
GPIO28 / LCD_RST RST_N

Software Details

This section contains software related information about AD-GEAR-DISPLAY1Z and the EV-COG-AD3029-LZ. Links are provided to the user guides, BSPs, software tool chains and the example project at the end of this page.

Application files

The example software provided consists mainly of the following

  1. LCD_test.c
  2. LCD_test.h
  3. CCES project files (*.svc, *.project, *.cproject).
  • The application uses the ADuCM302x-Rel 2.0.0 driver BSP for CCES.
  • CrossCore Embedded Studio 2.6.0 or higher is advised to be used.

Application flow

  • A BMP-LCD application tool is provided to convert *.bmp(image to be displayed) to an array of hex that can be used in the source code.
  • All the APIs for using the LCD is within the LCD_test.c, a separate driver file is yet to be created.

IDE Setup and example application

This section covers the various steps involved in getting the LCD_example application code to run on EV-COG-AD3029LZ after the hardware setup is done.

Following are the steps involved,

  1. Download and install CrossCore Embedded Studio 2.6.0 or higher.
  2. Download the lcd_example project from lcd_example.zip
  3. The lcd_example project is also available on Bitbucket.
  4. Import the source into CCES workspace and run the application software and see the results displayed on the LCD.
resources/eval/user-guides/ev-cog-ad3029lz/example_project/lcd_example.1505884637.txt.gz · Last modified: 20 Sep 2017 07:17 by Sumanth Karanth