mcf51ac256a Freescale Semiconductor, Inc, mcf51ac256a Datasheet - Page 524

no-image

mcf51ac256a

Manufacturer Part Number
mcf51ac256a
Description
Mcf51ac Flexis
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCLKE
Manufacturer:
FREESCALE
Quantity:
1 500
Part Number:
mcf51ac256aCLKE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCPUE
Manufacturer:
MURATA
Quantity:
1 000
Version 1 ColdFire Debug (CF1_DEBUG)
22.4.1.2
BDC serial communications use a custom serial protocol first introduced on the M68HC12 Family of
microcontrollers and later used in the M68HCS08 family. This protocol assumes that the host knows the
communication clock rate determined by the target BDC clock rate. The BDC clock rate may be the system
bus clock frequency or an alternate frequency source depending on the state of XCSR[CLKSW]. All
communication is initiated and controlled by the host which drives a high-to-low edge to signal the
beginning of each bit time. Commands and data are sent most significant bit (msb) first. For a detailed
description of the communications protocol, refer to
If a host is attempting to communicate with a target MCU that has an unknown BDC clock rate, a SYNC
command may be sent to the target MCU to request a timed synchronization response signal from which
the host can determine the correct communication speed. After establishing communications, the host can
read XCSR and write the clock switch (CLKSW) control bit to change the source of the BDC clock for
further serial communications if necessary.
BKGD is a pseudo-open-drain pin and there is an on-chip pullup so no external pullup resistor is required.
Unlike typical open-drain pins, the external RC time constant on this pin, which is influenced by external
capacitance, plays almost no role in signal rise time. The custom protocol provides for brief, actively
driven speed-up pulses to force rapid rise times on this pin without risking harmful drive level conflicts.
Refer to
When no debugger pod is connected to the standard 6-pin BDM interface connector
“Freescale-Recommended BDM
When a development system is connected, it can pull BKGD and RESET low, release RESET to select
active background (halt) mode rather than normal operating mode, and then release BKGD. It is not
necessary to reset the target MCU to communicate with it through the background debug interface. There
is also a mechanism to generate a reset event in response to setting CSR2[BDFR].
22.4.1.3
The BDC serial interface requires the external host controller to generate a falling edge on the BKGD pin
to indicate the start of each bit time. The external controller provides this falling edge whether data is
transmitted or received.
BKGD is a pseudo-open-drain pin that can be driven by an external controller or by the MCU. Data is
transferred msb first at 16 BDC clock cycles per bit (nominal speed). The interface times-out if 512 BDC
clock cycles occur between falling edges from the host. If a time-out occurs, the status of any command
in progress must be determined before new commands can be sent from the host. To check the status of
the command, follow the steps detailed in the bit description of XCSR[CSTAT] in
The custom serial protocol requires the debug pod to know the target BDC communication clock speed.
The clock switch (CLKSW) control bit in the XCSR[31–24] register allows you to select the BDC clock
source. The BDC clock source can be the bus clock or the alternate BDC clock source. When the MCU is
reset in normal user mode, CLKSW is cleared and that selects the alternate clock source. This clock source
is a fixed frequency independent of the bus frequency so it does change if the user modifies clock generator
settings. This is the preferred clock source for general debugging.
22-32
Section 22.4.1.3, “BDM Communication
Background Debug Serial Interface Controller (BDC)
BDM Communication Details
MCF51AC256 ColdFire Integrated Microcontroller Reference Manual, Rev. 5
Pinout”), the internal pullup on BKGD chooses normal operating mode.
Details,”
Section 22.4.1.3, “BDM Communication
for more details.
Table
Freescale Semiconductor
(Section 22.4.5,
22-7.
Details”.

Related parts for mcf51ac256a