background image

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

14

Due to current limitations of the USB bus when powered from the USB BDM, the ILIM option
header must be set to the LO position.  Setting the ILIM option header to HI requires applying
power to the board externally.

Figure 7: ILIM Option Header

ILIM

HI

LO

● ●

Sets output current limit to 500mA.  This option should only be selected when the
board is power externally.

ILIM

HI

LO

● ● ●

Sets output current limit to 100mA.  This option may be selected when the board
is powered from the USB BDM or if powered externally.

A charge-pump located at U6 generates a +5V output for use when the board is power from
the USB BDM.  The USB BDM provides the +3.3V rail necessary to power on-board logic but
does not provide the +5V rail necessary for USB OTG functionality.  The 5V_SEL option
header selects the power source for the +5V rail.

Figure 8: 5V_SEL Option Header

CP

Selects output of charge-pump at U6


VR1

5V_SEL

CP

Selects output of voltage regulator at VR2


VR1

5V_SEL

NOTE:  

The VR1 label at the 5V_SEL option header is incorrect and should read VR2.  This

option selects the output of the +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.

RESET SWITCH

The RESET switch provides a method to apply an asynchronous reset to the MCU and is con-
nected directly to the RSTI* input on the MCU.  Pressing the RESET switch holds RSTI* low
until the switch is released.  An external pull-up on the RSTI* line prevents spurious resets al-
lowing normal operation.

Содержание M52221DEMO

Страница 1: ... O C 0 3 9 6 0 1 0 R E V A Axiom Manufacturing 2813 Industrial Lane Garland TX 75041 Email Sales axman com Web http www axman com M52221DEMO Demonstration Board for Freescale MCF52221 Hardware User Guide ...

Страница 2: ...E 8 MEMORY MAP 9 DEVELOPMENT SUPPORT 9 BDM_PORT HEADER 9 INTEGRATED BDM_PORT 10 POWER 10 POWER JACK 11 TERMINAL BLOCK 11 CONNECTOR J1 11 POWER INDICATORS 12 POWER SWITCH 12 POWER SELECT 12 PWR_SEL 12 VX_EN 13 USB OTG POWER 13 RESET 14 RESET SWITCH 14 RESET INDICATOR 15 LOW POWER MODES 15 TIMING 15 COMMUNICATIONS 15 SCI PORT 15 COM_EN 15 COM CONNECTOR 16 SPI PORT 16 IIC PORT 16 USB OTG 16 ACCELEROM...

Страница 3: ...WR_SEL Option Header 13 Figure 6 VX_EN Option Header 13 Figure 7 ILIM Option Header 14 Figure 8 5V_SEL Option Header 14 Figure 9 COM_EN Option Header 16 Figure 10 COM Connector 16 Figure 11 LED_EN Option Header 18 Figure 12 POT_EN Option Header 18 Figure 13 Connector J1 19 TABLES Table 1 Run Mode Setup 8 Table 2 Debug Mode Setup 8 Table 3 ACC_EN Option Header 17 Table 4 User Option Connections 17 ...

Страница 4: ...ake adequate prevention measures d Attaching additional wiring to this product or modifying the product operation from the factory default as shipped may effect its performance and cause interference with other apparatus in the immediate vicinity If such interference is detected suitable mitigating measures should be taken TERMINOLOGY This development board uses option selection jumpers A jumper i...

Страница 5: ...lled Features MCF52221 CPU 80 LQFP 128 Byte Flash 16K Byte Ram USB On The Go OTG Phy 4ch DMA Controller w Timers 2ea Programmable Interrupt Timer 4 GPT Timers 8ch 12b ADC UART Serial Ports with DMA capability QSPI and IIC Ports 3 3V operation Integrated USB BDM 48 MHz XTAL 40 pin I O port miniUSB Port BDM JTAG Port not installed RS 232 Serial Port w DB9 S Connector ON OFF Power Switch w LED indica...

Страница 6: ...ed for either Host or Peripheral mode depending on the target application The OTG protocol also allows mode switching under software control Access to the OTG Phy is gained through the mini AB MAB connector at J2 The OTG connection may be configured as either a standard USB bus connection or an OTG USB bus connection The MAB USB port connector at J2 should not be confused with the integrated USB B...

Страница 7: ...ll execute from Power On or RESET if the RESET vector is programmed OPERATING MODES The M52221DEMO board operates in two basic modes Run Mode or Debug Mode Run Mode executes user application code from Power On or Reset if the RESET vector is pro grammed Debug Mode supports the development and debug of applications via the inte grated USB BDM An optional BDM_PORT provides access for any ColdFire co...

Страница 8: ...an A B USB cable and appropriate hosting software The USB cable must be USB 2 0 compliant An external BDM cable can be attached to the 26 pin BDM_PORT header This header is not installed in default configurations The steps below describe using the integrated USB BDM See the POWER section below for details on config uring the board for alternate power input 1 Connect auxiliary cable and equipment t...

Страница 9: ...trace between pin 1 and pin 2 of the BDM_SEL option header In stall a standard 1x3 0 1 header at location BDM_SEL and install a shunt from pin 2 to pin 3 Refer to the MCF52223 RM www freescale com for details on using the JTAG port access BDM_PORT Header A ColdFire compatible BDM cable may be attached to the 26 pin BDM_PORT port header This header is not installed in default configuration To use t...

Страница 10: ...or at VR2 ener gizes the 5V rail and provides power the OTG USB bus when the board is configured for host mode applications The M52221DEMO is designed to allow application development while powered from the USB BDM A 2 0mm barrel connector and a 2 position screw type terminal block BATT has been applied to support stand alone operation The board may also be powered through connector J1 Additionall...

Страница 11: ...r Voltage applied at this connector should range between 6V and 15V Figure 2 PWR Jack 2 0mm 2 1mm center positive V input Input voltage 6V to 15V PWR Terminal Block The BATT terminal block is a 3 5mm screw type terminal block connected directly to the VDD voltage rail This allows the use of 2 AA batteries to supply power to the board Exercise cau tion when using this input since input protection i...

Страница 12: ... 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 PWR_SEL Power from the integrated USB BDM is drawn from the USB bus and is limited to 500mA Ex cessive current drain will violate the USB specification causing the USB bus to disconnect CAUTION Violati...

Страница 13: ...en attempting to source power to external circuitry Excessive current drain may damage the target board the host PC USB hub or the on board regulator The figure below details the VX_EN option header connec tions Figure 6 VX_EN Option Header ON Enable power connection to connector J1 VX_EN OFF Disable power connection to connector J1 VX_EN CAUTION Do not apply power to connector J1 while also sourc...

Страница 14: ...oard logic but does not provide the 5V rail necessary for USB OTG functionality The 5V_SEL option header selects the power source for the 5V rail Figure 8 5V_SEL Option Header CP Selects output of charge pump at U6 VR1 5V_SEL CP Selects output of voltage regulator at VR2 VR1 5V_SEL NOTE The VR1 label at the 5V_SEL option header is incorrect and should read VR2 This option selects the output of the...

Страница 15: ...a DB9 COM connector and through connector J1 QSPI and IIC communications are supported only through connector J1 The COM_EN option header enables SCI0 functionality between the MCU and the COM connector SCI Port An RS 232 transceiver provides RS 232 to TTL CMOS logic level translation between the COM connector and the MCU The COM connector is a 9 pin Dsub right angle connector A ferrite bead on sh...

Страница 16: ...I signaling connects directly between connector J1 and the MCU Refer to the MCF522235 RM at www freescale com for details on using the SPI interface IIC Port IIC signaling connects directly between connector J1 and the MCU Refer to the MCF522235 RM at www freescale com for details on using the IIC interface USB OTG The M52221DEMO features an integrated USB On the Go OTG physical layer Phy inter fa...

Страница 17: ...elerometer if necessary In default configurations this option header is not installed and a cut trace completes the signal path To disconnect the accelerometer simply open the cut trace and install a 1x3 pin header at ACC_EN Install a shunt on each signal to reconnect the accelerometer The table below shows the signal connections to the MCU Table 3 ACC_EN Option Header Signal MCU Input X AN4 Y AN5...

Страница 18: ... rent necessary to control the LED s Figure 11 LED_EN Option Header LED_EN ON User LED s enabled active high LED_EN OFF User LED s disabled Potentiometer A 5k ohm single turn thumb wheel type potentiometer at RV1 provides continuous variable resistance input for user applications The output is the result of a voltage divider that changes as the thumb wheel is turned The potentiometer is connected ...

Страница 19: ...GND 3 4 RSTI UTXD1 5 6 RSTO URXD1 7 8 NC URTS1 9 10 AN0 UCTS1 11 12 AN1 AN2 13 14 AN2 AN3 15 16 AN3 QSPI_DOUT 17 18 AN4 QSPI_DIN 19 20 AN5 QSPI_SCK 21 22 AN6 QSPI_CS0 23 24 AN7 UTXD0 25 26 SCL URXD0 27 28 SDA URTS0 29 30 NC UCTS0 31 32 NC IRQ1 33 34 DTIN0 VRH 35 36 DTIN1 VRL 37 38 DTIN2 IRQ7 39 40 DTIN3 ...

Отзывы: