The Power management and Real Time Clock Subsystem(PRTCSS) is used for calendar applications and to manage the DM36X Power Supply.
It has a real-time Clock; Timers; Gerenal-purpose I/Os; and s simples(sequencer).
PIN functioins: (1) PWRST: input ===Reset signal for PRTCSS;
(2) PWRCNTON: Input === Reset Pin for system power sequencing;
PWRST and PWRCNTON Input Pin control the Reset of module.
PRTCSS can operate either normal mode or external reset mode;
Normal Mode:
(1) PWCTRO0 Pin = 0 the PRTCSS submodules will be reset and the DM36X device will not able to access PRTCSS registers;
(2) The DM36X device must reset the WDT of PRTCSS so that the PWCTRO0 Pin state will be retained at Logic 1;
The DM36X device can access the PRTCIF registers; However,it cannot directly access the PRTCSS;
PRTCSS Masters: PRTCIF
PRTCSS Slaves: CLK Controller ; INTC ; GIO : RTC with Timer
PRTCSS Initialization Sequence in Normal Mode:
(1) Reset PRTCSSmodule by clearingthe PWRST and PWRCNTON signals to 0;
(2) ProvidePower for the PRTCSS Block;
(3) Set the PWCTRIO0 pin to "0";
(4) Input "1" to the reset signal for PRTCSS (PWRST) after 32.768kHz oscillator is stable;
(5) Input"1" to the reset Pin of System Power sequencing (PWRCNTON) to start the sequencerof the Power Control Block;
************
The sequencer perform the follow steps:
(1) Output"1" on the PWCTRO1 Pin.This signal must be used to control thePower IC that supplies the power to the DM36X device.
(2) Output "1" ontthe PWCTRO0 Pin .The signal connects to the DM36X RESETz Pin after the stable time of the mainclockOscillator .
(3) Enables the PRTCSS WDT;
(4) Output "0" (After expiration of WDT (16 sec)) on the PWCTRO0/1 the control power off;(Stop the Power IC and Reset Device)
(5) For the Device operate normal (No Power OFF),It need to stop WDT before the WDT expiration(After 16 Secs)
EXTERNAL RESET MODE:
Conditions: PWRCNTON is held at 1 and PWRSTis held at 0;
(1)Power ON/OFF and Reset of DM36X device should be done externally,as the PRTCSS has no ctrl over them.
(2) The device reset signal (RESETz --Pin=H3?) will reset the PRTCSS
(3) The SEQ can not be used in this mode.
The PRTCSS module does not conform to any recognized industry standards.
The CLKC_CNT register is used to set WDT and Peripheral Clocks divider values.
The PRTCIF is the bridge to connect the 32-Bit DM36X Bus the the 8-Bit PRTCSS Bus.The device can access thePRTCSS module through the PRTCIF;
PRTCIF Functions Operations:
(1) Wait until th BUSY bit in the PRTCIF control register (PRTCIF_CTRL) is "0"; PRTCIF_CTRL[31] = 1 status bit ,bust=1;
It will be no responsed from the PRTCSS module if the CLOCKS are not supplied to PRTCSS
PRTCSS Modules:
(1) GPIO
(2) PRTCSS INTC
(3) Real Time Clock (RTC)
(4) Sequencer:
The sequencer controls the DM36X Power and reset by generating the control signal s on the PWCTRO1 and PWCTRO0 pin,respectively.