ZNEO
Contest Kit Sample Code Library
Rev
1.0.0
---------------------------------------------------------------------------
Thank you for your interest in ZiLOG’s ZNEO series of
microcontrollers.
Contact Information
--------------------------------------------------------------------------
For Technical Support visit the customer support page on http://www.zilog.com/
Table of Contents
---------------------------------------------------------------------------
---------------------------------------------------------------------------
This project provides a quick start on using ZiLOG’s
ZNEO series of microcontrollers that presents a set of ready to use APIs for ZNEO’s on-chip peripheral such as such as System Clock,
Timer, Multi Channel Timer, ADC, UART, ESPI (Enhanced serial Interface) and
GPIO. The project also provides APIs to communicate with 4-bit I2C EEPROM
(PCA8550), SPI Digital Thermometer (DS1722), and controlling the dot matrix LED
displays through GPIO. The APIs provided in this project are listed below.
· To configure the ADC to measure the analog input voltage on the channel selected
· To read the ADC output value upon analog to digital conversion complete
· To configure the I2C in Master mode along with transmit, receive, checking the acknowledge, Start and Stop functionalities
· To configure ESPI peripheral to function as SPI in master mode along with transmit and receive APIs
· To configure TIMER0 in continuous mode of operation
· To configure Multi Channel Timer for PWM mode of operation
· To configure GPIO for controlling the dot matrix LEDs
· APIs for writing and reading from on board I2C EEPROM
· APIs for writing and reading from on board SPI digital thermometer
File organization
---------------------------------------------------------------------------
The default application library directory structure is as follows:
\Zilog
\ Applications_Library
\ ZNEO_Contest_ Kit_ SampleCode_Library 1.0.0
\ Peripheral_Sample_Code
\
Documentation
\ include
\ source
The ZDSII project file ZNEO_Contest_Kit_SampleCode.zdsproj
is available in the \source directory.
Documentation
---------------------------------------------------------------------------
Review the project documentation by clicking on index or browse to the documentation directory and
open the index.html file.
Documentation directory contains document in html format, generated using Doxygen.
Application
demonstration
---------------------------------------------------------------------------
The sample code demo is designed for use with ZNEOCTK0100KIT ZNEO Contest Kit.
Setup
NOTE: Refer to ZNEO Contest Kit Board manual
(UM0197) for complete hardware details.
(Example: USB/Serial smart cable)
On device reset,
following menu
is displayed on the HyperTerminal.
***** ZNEO Contest Kit Sample Code Demo Help ***** A ADC I
I2C U
UART M
Multichannel
Timer T
Timer L
LED H
Help Select any one of the above options
to view the corresponding peripheral demo.
ZNEO>>
The demonstration of this Sample code is made completely user
interactive. On selecting an option from the menu, the user is guided
accordingly to the individual peripheral demonstration. User has to follow the
instructions displayed on the HyperTerminal.