Axiom M52221DEMO Hardware User's Manual

Demonstration board for freescale mcf52221

Advertisement

Quick Links

D O C - 0 3 9 6 - 0 1 0 ,
R E V
A
M52221DEMO
Demonstration Board for Freescale MCF52221
Hardware User Guide
Axiom Manufacturing • 2813 Industrial Lane • Garland, TX 75041
Email:
Sales@axman.com
Web:
http://www.axman.com

Advertisement

Table of Contents
loading

Summary of Contents for Axiom M52221DEMO

  • Page 1 D O C - 0 3 9 6 - 0 1 0 , R E V M52221DEMO Demonstration Board for Freescale MCF52221 Hardware User Guide Axiom Manufacturing • 2813 Industrial Lane • Garland, TX 75041 Email: Sales@axman.com Web: http://www.axman.com...
  • Page 2: Table Of Contents

    M 5 2 2 2 1 D E M O U S E R G U I D E J A N U A R Y 1 8 , 2 0 0 7 CONTENTS CAUTIONARY NOTES ......................4 TERMINOLOGY.........................4 FEATURES ..........................5 REFERENCES ...........................6 OVERVIEW ..........................6 GETTING STARTED........................7...
  • Page 3 M 5 2 2 2 1 D E M O U S E R G U I D E J A N U A R Y 1 8 , 2 0 0 7 PUSHBUTTON SWITCHES.................... 18 USER LED’S ........................18 POTENTIOMETER......................
  • Page 4: Cautionary Notes

    1) Electrostatic Discharge (ESD) prevention measures should be used when handling this product. ESD damage is not a warranty repair item. 2) Axiom Manufacturing does not assume any liability arising out of the application or use of any product or circuit described herein; neither does it convey any license under patent rights or the rights of others.
  • Page 5: Features

    2 0 0 7 FEATURES The M52221DEMO is a low-cost development board for the Freescale MCF52221 ColdFire microcontroller. Application development is quick and easy with the included DB9 serial cable, integrated BDM, and USB cable. A 128 MB flash-drive and 6-in-1 USB cable provide support for the integrated USB PHY.
  • Page 6: References

    USB2.0 cable. This distinction must be understood and comprehended while reading this document. The M52221DEMO board utilizes 2 separate voltage rails. The regulator at VR1 energizes the +3.3V rail for use by the target MCU and on-board logic. The regulator at VR2 energizes the +5Vrail for use by the OTG USB port.
  • Page 7: Getting Started

    2 0 0 7 GETTING STARTED To get started quickly, please refer to the M52221demo Quick Start Guide. This quick start will illustrate connecting the board to a PC, installing the correct version of CodeWarrior Develop- ment Studio, and running a simple HID test program.
  • Page 8: Debug Mode

    M 5 2 2 2 1 D E M O U S E R G U I D E J A N U A R Y 1 8 , 2 0 0 7 Table 1: Run Mode Setup PWR_SEL Set to VB BDM_EN COM_EN ALL ON (if required)
  • Page 9: Memory Map

    M 5 2 2 2 1 D E M O U S E R G U I D E J A N U A R Y 1 8 , 2 0 0 7 MEMORY MAP Refer to the MCF52223 Integrated Microcontroller Reference Manual (RM) for details. The RM may be downloaded from the Freescale web site at www.freescale.com.
  • Page 10: Integrated Bdm_Port

    Damage to the board or host PC may also result. POWER The M52221DEMO utilizes 2 separate voltage rails. The regulator at VR1 energizes the +3.3V rail and provides power to the target MCU and all on-board logic. The regulator at VR2 ener- gizes the +5V rail and provides power the OTG USB bus when the board is configured for host mode applications.
  • Page 11: Power Jack

    M 5 2 2 2 1 D E M O U S E R G U I D E J A N U A R Y 1 8 , 2 0 0 7 tection is not applied on this voltage input. The user must exercise caution when using the terminal block to input power to the board.
  • Page 12: Power Indicators

    ON - Input power source connected to +3.3V rail POWER SELECT Two option headers control input power configuration for the M52221DEMO. The PWR_SEL header selects between the on-board, +3.3V, regulator and the USB BDM voltage input. The VX_EN header connects J1-1 directly to the +3.3V rail. The sections below show the different configuration for each option header.
  • Page 13: Vx_En

    J1 to external circuitry. USB OTG Power The M52221DEMO is not designed to draw power from the USB cable connected to the MAB connector at J2. Power output to the USB MAB connector is provided by a high-side switch located at U2.
  • Page 14: Reset

    +5V regulator at VR2. RESET The M52221DEMO provides a RESET button, with indicator, to reset the target device. The MCF52221 also supports several internal resets. Consult the MCF522235 RM for details on all supported resets.
  • Page 15: Reset Indicator

    COMMUNICATIONS The M52221DEMO board provides 2 SCI ports, 1 QSPI port, and 1 IIC port. RS-232 commu- nication is supported through a DB9 (COM) connector and through connector J1. QSPI and IIC communications are supported only through connector J1.
  • Page 16: Com Connector

    IIC interface. USB OTG The M52221DEMO features an integrated USB On-the Go (OTG) physical layer (Phy) inter- face. The OTG Phy connects to an MAB connector at J2. Two option headers at DPPD and DMPD provide pull-down configuration for host mode if needed. Installing or removing both jumpers manually controls pull-down configuration.
  • Page 17: Accelerometer

    Axiom Manufacturing Support CD. ACCELEROMETER The M52221DEMO applies an MMA7260Q, 3-axis accelerometer for tilt and motion-sense ap- plications. The accelerometer supports 4 user selectable sensitivities - 1.5g / 2g / 4g / 6g. The SLEEP* input allows the device to be placed in a low-power mode. Separate (X/Y/Z) axis readings are routed to the MCU An option header at ACC_EN allows the user to disconnect the accelerometer if necessary.
  • Page 18: J A N U A R

    AN0. The potentiometer may be disconnected from AN0 by means of the POT_EN option header. Figure 12: POT_EN Option Header ▪ ▪ User POT enabled POT_EN ▪ ▪ User POT disabled POT_EN I/O PORT CONNECTOR Connector J1 provides access to M52221DEMO I/O signals. Signal positions not shown are not connected (NC).
  • Page 19: Figure 13: Connector J1

    M 5 2 2 2 1 D E M O U S E R G U I D E J A N U A R Y 1 8 , 2 0 0 7 Figure 13: Connector J1 IRQ4* RSTI* UTXD1 RSTO* URXD1 URTS1*...

Table of Contents