Example MPC5606S-DEMO PCA8565+TFT CW210

File uploaded by David Tosenovjan Employee on May 27, 2016Last modified by Diana Torres on Feb 24, 2017
Version 3Show Document
  • View in full screen mode

Detailed Description:

Demo application performs I2C communication with externally connected external

real time clock/calendar PCA8565. Obtained values and processed and displayed

on MPC5606S-DEMO-V2 board’s TFT panel. Date and time may be set up by demo

board’s buttons (SW2-SW6).

Application uses standard Graphics Libraries for MPC5606S for simple graphic

output that is managed in mc_base.c module only.

I2C communication is managed with using of own two layer driver where

low-level driver consisting of I2C_0.c and I2C_0.h - these can be used for

any device connected to I2C_0 module.

Middle-level driver layer consist of I2C_PCA8565.c and I2C_PCA8565.h and it

is specific to PCA8565 device.

------------------------------------------------------------------------------

Test HW:            MPC5606S-DEMO-V2 + LM75BD + HIH-5030 + PCA8565 sensors

MCU:             PPC5606SEF OMLU 0M25V DD68391 XOTAC1003

Fsys:            64MHz

Debugger:        Lauterbach Trace32

Target:          internal_FLASH

Terminal:        none

EVB connection:

 

For complete project you may see following link:

Demo application MPC5606S-DEMO + LM75B + HIH-5030 + PCA8565 + GUI

Outcomes