Application Note: Embedded Processing
R
XAPP979 (v1.0) February 26, 2007
Reference System: OPB IIC Using the ML403 Evaluation Platform
Author: Paul Glover, Ed Meinelt, Lester Sanders
Summary
This application note describes how to build a reference system for the
An IIC primer is given and an OPB IIC register reference is provided. The Xilinx Microprocessor Debugger (XMD) commands are used for verifying that the OPB IIC core operates correctly. Several software projects illustrate how to configure the OPB IIC core, set up interrupts, and do read and write operations. Some of the software projects interface the OPB IIC to the MicroChip 24LC04B serial EEPROM with an IIC interface, while others interface to the TotalPhase Aardvark Adapter, which provides IIC master and slave functionality. The procedure for using ChipScope™ to analyze OPB IIC functionality is provided. The steps used to build a Linux kernel using MontaVista are listed. Simulation output files for analyzing basic IIC transactions are provided.
Included
Systems
Required Hardware/Tools
This application note includes one reference system:
www.xilinx.com/bvdocs/appnotes/xapp979.zip
The project name used in xapp979.zip is ml403_ppc_opb_iic.
Users must have the following tools, cables, peripherals, and licenses available and installed:
•Xilinx EDK 8.2.02i
•Xilinx ISE 8.2.03
•Xilinx Download Cable (Platform Cable USB or Parallel Cable IV)
•Monta Vista Linux v2.4 Development Kit
•Modeltech ModelSim v6.1d
•ChipScope v8.2
© 2007 Xilinx, Inc. All rights reserved. All Xilinx trademarks, registered trademarks, patents, and further disclaimers are as listed at http://www.xilinx.com/legal.htm. PowerPC is a trademark of IBM Inc. All other trademarks and registered trademarks are the property of their respective owners. All specifications are subject to change without notice.
NOTICE OF DISCLAIMER: Xilinx is providing this design, code, or information "as is." By providing the design, code, or information as one possible implementation of this feature, application, or standard, Xilinx makes no representation that this implementation is free from any claims of infringement. You are responsible for obtaining any rights you may require for your implementation. Xilinx expressly disclaims any warranty whatsoever with respect to the adequacy of the implementation, including but not limited to any warranties or representations that this implementation is free from claims of infringement and any implied warranties of merchantability or fitness for a particular purpose.
XAPP979 (v1.0) February 26, 2007 | www.xilinx.com | 1 |