SN8P2604
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 93
Version 1.1
11.2 CODE OPTION
11.2.1 FCPU CODE OPTION
SN8P2604 is a 1T (one clock per instruction cycle) system MCU. For different applications, users can select different
instruction cycle clock (Fcpu) by Fcpu code option from Fosc/1 to Fosc/8. Compiler limits Fcpu range for different
application automatically as following.
Noise_Filter
Fcpu
Enable
Disable
Enable
Fosc/4~Fosc/8 Fosc/4~Fosc/8
Low_Power
Disable
Fosc/4~Fosc/8 Fosc/1~Fosc/8
11.2.2 NOISE FILTER CODE OPTION
In high AC noisy environment should enable Noise_Filter code option. The S8ASM assembler forces to disable
Low_Power code option if enable Noise_Filter code option. Enable Noise_Filter can reduce external noise affecting
system of operating.
If Noise_Filter enable, the Fcpu is limited in “Fosc/4~Fosc/8”.
11.2.3 WATCHDOG
Watchdog of SN8P2604 includes three operations as Enable, Disable, Always On controlled by code option.
Watchdog Enable:
If watchdog timer overflow during program running, the system resets. Watchdog timer stops
in green mode and power down mode (sleep mode). After system wake-up, watchdog timer is running again.
Watchdog Always On:
Watchdog timer keeps running in green mode or power down mode (sleep mode). If
watchdog overflow occurs under the two modes, the system would be reset. It is not easy to make system to keep
green mode/ power down mode situations. The main purpose of the design is supporting high AC noisy
application. The watchdog timer guards system to work well and good reliability in high noisy situation.