Download System Units User`s Manual

Transcript
XC2000 Derivatives
System Units (Vol. 1 of 2)
Preliminary
6.6
System Control Unit (SCU)
Global State Controller (GSC)
Beside power saving modes and the clock management Mode Control for the system
peripherals provides an additional opportunity for configuring the system to the
application needs.
Mode Control is described in detail in this chapter and is implemented by the GSC.
The GSC enables the user to configure one operating mode in a fast and easy way,
reacting fast and explicit to needs of an application.
Feature Overview
The following issues are handled by the GSC:
•
•
•
Control of peripheral clock operation
Suspend control for debugging
Arbitration between the different request sources
According to the requests coming from the OCDS, the SWD pre-warning detection or
other blocks, the GSC does an internal prioritization. The result is forwarded as
broadcast command request to all peripherals. The GSC internal prioritization scheme
for the implemented request sources is shown in Table 6-15.
6.6.1
GSC Control Flow
At least one request source asserts its request trigger in order to request a mode change
in the SoC. If several requests are pending there is an arbitration mechanism that treats
this issue. Request triggers are not stored by the GSC, therefore a trigger source has to
assert its trigger until the trigger is no longer valid or needed.
A request trigger is kept asserted as long as either the request is still pending or the
resulting command of the request was entered and acknowledged by the system. The
communication of the GSC and the peripherals is based on commands. Three different
commands are defined resulting in three modes:
•
•
•
Wake-up command
– This command defines the Normal Mode
Clock-off command
– This command defines the Stop Mode
Debug command
– This command defines the Suspend Mode
Each peripheral defines its specific behavior for these three modes via the module
register mod_KSCCFG.
6.6.1.1
Request Source Arbitration
The arbitration is a priority driven arbitration. The highest priority in this arbitration is
zero.
User’s Manual
SCU, V1.1
6-156
V1.0, 2007-06