Samsung S5PC110 Manual page 913

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
GRSTCTL
Bit
HSftRst
[1]
CSftRst
[0]
HClk Soft Reset
The application uses this bit to flush the control logic in the AHB
Clock domain. Only AHB Clock Domain pipelines are reset.
FIFOs are not flushed with this bit.
All state machines in the AHB clock domain are reset to the Idle
state after terminating the transactions on the AHB, following the
protocol.
CSR control bits used by the AHB clock domain state machines
are cleared.
To clear this interrupt, status mask bits that control the interrupt
status and are generated by the AHB clock domain state
machine are cleared.
Because interrupt status bits are not cleared, the application
can get the status of any core events that occurred after it set
this bit.
This is a self-clearing bit that the core clears after all necessary
logic is reset in the core. This can take several clocks, depending
on the core's current state
Core Soft Reset
Resets the hclk and phy_clock domains as follows:
Clears the interrupts and all the CSR registers except the
following register bits:
- HCFG.FSLSPclkSel
- DCFG.DevSpd
All module state machines (except the AHB Slave Unit) are
reset to the IDLE state, and all the transmit FIFOs and the
receive FIFO are flushed.
Any transactions on the AHB Master are terminated as soon as
possible, after gracefully completing the last data phase of an
AHB transfer. Any transactions on the USB are terminated
immediately.
The application can write to this bit any time it wants to reset the
core. This is a self-clearing bit and the core clears this bit after all
the necessary logic is reset in the core, which may take several
clocks, depending on the current state of the core. Once this bit
is cleared software must wait at least 3 PHY clocks before
accessing the PHY domain. Software must also check that bit 31
of this register is 1 (AHB Master is IDLE) before starting any
operation. Typically software reset is used during software
development and if you dynamically change the PHY selection
bits in the USB configuration registers listed above. If you
change the PHY, the corresponding clock for the PHY is selected
and used in the PHY domain. Once a new clock is selected, the
PHY domain has to be reset for proper operation.
Description
5 USB2.0 HS OTG
R/W
Initial State
R_WS
1'b0
_SC
R_WS
1'b0
_SC
5-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents