2 stop mode, 4 signals, 1 port qa signal functions – Motorola ColdFire MCF5281 User Manual

Page 541: 2 stop mode -3, 4 signals -3, 1 port qa signal functions -3

Advertising
background image

Queued Analog-to-Digital Converter (QADC)

Freescale Semiconductor

28-3

If during the execution of the current conversion, the queue operating mode for the active queue is
changed, or a queue 2 abort occurs, the QADC freezes immediately.

When the QADC enters debug mode while a queue is active, the current CCW location of the queue
pointer is saved.

Debug mode:

Stops the analog clock

Holds the periodic/interval timer in reset

Prevents external trigger events from being captured

Keeps all QADC registers and RAM accessible

Although the QADC saves a pointer to the next CCW in the current queue, software can force the QADC
to execute a different CCW by reconfiguring the QADC. When the QADC exits debug mode, it looks at
the queue operating modes, the current queue pointer, and any pending trigger events to decide which
CCW to execute.

28.3.2

Stop Mode

The QADC enters a low-power idle state whenever the QSTOP bit is set or the CPU enters low-power stop
mode.

QADC stop:

Disables the analog-to-digital converter, effectively turning off the analog circuit

Aborts the conversion sequence in progress

Makes the data direction register (DDRQA), port data registers (PORTQA and PORTQB), control
registers (QACR2, QACR1, and QACR0) and the status registers (QASR1 and QASR0) read-only.
Only the module configuration register (QADCMCR) remains writable.

Makes the RAM inaccessible, so that valid data cannot be read from RAM (result word table and
CCW) or written to RAM (result word table and CCW)

Resets QACR1, QACR2, QASR0, and QASR1

Holds the QADC periodic/interval timer in reset

Because the bias currents to the analog circuit are turned off in stop mode, the QADC requires some
recovery time (t

SR

) to stabilize the analog circuits.

28.4

Signals

The QADC uses the external signals shown in

Figure 28-2

. There are eight channel/port signals that can

support up to 18 channels when external multiplexing is used (including internal channels). All of the
channel signals also have some general-purpose input or input/output (GPIO) functionality. In addition,
there are also two analog reference signals and two analog submodule power signals.

The QADC has external trigger inputs and multiplexer outputs that are shared with some of the analog
input signals.

28.4.1

Port QA Signal Functions

The four port QA signals can be used as analog inputs or as a bidirectional 4-bit digital input/output port.

MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3

Advertising
This manual is related to the following products: