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
10
Integrated BDM_PORT
The M52221DEMO board features an integrated USB BDM debugger. The integrated debug-
ger supports application development and debugging via the background debug mode. A type
B, USB connector provides connectivity between the target board and the host PC.
NOTE:
Using the integrated USB BDM requires CodeWarrior 6.1 Special Edition or later. De-
velopment tools from P&E Microcomputer Systems also support the target MCF52221.
The integrated debugger provides power and ground to the target, thereby eliminating the
need to power the board externally. Power from the integrated USB BDM is derived from the
USB bus; therefore, current consumption is limited by the USB specification. Total current
consumption for the target board, and any connected circuitry, must not exceed
500mA
. Ex-
cessive current drain will violate the USB specification causing the bus to disconnect. This will
force a target POR.
CAUTION:
Violating the USB specification will cause the USB bus to disconnect forcing the
target to reset. 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.
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. Additionally, the board may be configured to supply power through connector J1 to exter-
nal circuitry.
An ON/OFF switch allows the user to quickly and easily connect and disconnect the +3.3V
logic voltage rail. The +5V voltage rail supplies power to the USB bus through the MAB con-
nector at J2 only and is not affected by the position of the ON/OFF switch.
When using the integrated USB BDM, the board draws power from the USB bus. Excessive
current drain will violate the USB specification causing the USB bus to disconnect forcing a
POR. Total current consumption of the board and any connected circuitry, therefore, must be
less than
500mA
.
CAUTION:
Violating the USB specification will cause the USB bus to disconnect. This will
force a hard reset on the target.
The installed barrel connector accepts a center-positive, 2.1mm barrel plug. The terminal
block accepts wire sizes ranging from 28ga to 16ga. Voltage input must be in the range be-
tween +6V and +15V. At no time should input voltage 15V as damage to the board
may result. The terminal block input is connected directly to the upper voltage rail. Input pro-