MC68336/376
QUEUED ANALOG-TO-DIGITAL CONVERTER MODULE
MOTOROLA
USER’S MANUAL
Rev. 15 Oct 2000
8-7
ble. The CCW table and result table are not reset and not accessible. In addition, the
QADC clock (QCLK) and the periodic/interval timer are held in reset during low-power
stop mode.
If the STOP bit is clear, low-power stop mode is disabled. Refer to D.5.1 QADC Mod- 8.6.2 Freeze Mode
The QADC enters freeze mode when background debug mode is enabled and a
breakpoint is processed. This is indicated by assertion of the FREEZE line on the IMB.
The FRZ bit in QADCMCR determines whether or not the QADC responds to an IMB
FREEZE assertion. Freeze mode is useful when debugging an application.
When the IMB FREEZE line is asserted and the FRZ bit is set, the QADC finishes any
conversion in progress and then freezes. Depending on when the FREEZE is
asserted, there are three possible queue freeze scenarios:
When a queue is not executing, the QADC freezes immediately.
When a queue is executing, the QADC completes the current conversion and
then freezes.
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 the freeze mode while a queue is active, the current CCW
location of the queue pointer is saved.
In freeze mode, the analog logic is held in reset and is not clocked. Although QCLK is
unaffected, the periodic/interval timer is held in reset. External trigger events that occur
during freeze mode are not recorded. The CPU32 may continue to access all QADC
registers, the CCW table, and the result table. Although the QADC saves a pointer to
the next CCW in the current queue, software can force the QADC to execute a differ-
ent CCW by writing new queue operating modes before normal operation resumes.
The QADC looks at the queue operating modes, the current queue pointer, and any
pending trigger events to decide which CCW to execute.
If the FRZ bit is clear, assertion of the IMB FREEZE line is ignored. Refer to D.5.1 8.6.3 Supervisor/Unrestricted Address Space
The QADC memory map is divided into two segments: supervisor-only data space and
assignable data space. Access to supervisor-only data space is permitted only when
the CPU32 is operating in supervisor mode. Assignable data space can have either
restricted to supervisor-only data space access or unrestricted supervisor and user
data space accesses. The SUPV bit in QADCMCR designates the assignable space
as supervisor or unrestricted.
Attempts to read supervisor-only data space when the CPU32 is not in supervisor
mode causes a value of $0000 to be returned. Attempts to read assignable data space