NY6 User Manual
Ver 1.3 2019/03/28
14
2.3 System Reset
Reset
Reset Initialization
Normal Operation
18 / 131 ms
Reset
Reset Initialization
Normal Operation
Reset Vector
Reset Initialization Procedure
2.3.1 Power-On Reset (POR)
After Power-on, the power-on reset initialization will automatically be set out. After the system leaves
the reset initialization procedure, it enters the normal operation and the program counter starts at the
reset vector. POR set a POR flag to high for system low voltage management. It can be cleared by
user.
2.3.2 Low Voltage Reset (LVR)
When the system enters the normal operation, the power supply voltage must be kept in an effective
working voltage range. When the power supply voltage is lower than the effective working voltage
range, the system can’t work properly. To prevent the system crash, we have a low voltage detector in
the NY6 IC. When the detector detects a harmful low voltage supply, it will cause a low voltage reset.
The so-called “low voltage” point of the NY6 IC is approximate 1.9V. RAM (Pages5 $3E, $3F) are
optioned to be protected for the record of LVR occurrence times of system low voltage management.
2.3.3 Watch-Dog Timer Reset (WDTR)
To recover from program function, the NY6 IC supports an embedded watch-dog timer reset. The
WDTR function always works with the program executing. Users have to clear the WDT periodically to
prevent from timing up with a reset generation. Typically, the minimum time-up period of the WDT is
about 240ms and users can clear WDT through instruction CWDT0 and CWDT1.
2.3.4 I/O Port External Reset
The PA3/Reset I/O pin of the NY6 can be optioned as a reset pin. A reset pin should always be pulled-
high in normal operation, whether users use the built-in internal pull-high resister option or use an
external pull-high resister on PCB with internal pull-high resister option disabled. When the reset pin
falls to the ground level, it generates an external reset.