SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 12
Revision 1.93
SN8P1702 FEATURES
♦
Memory configuration
♦
Two interrupt sources
OTP ROM size: 1K * 16 bits.
One internal interrupts: TC0.
RAM size: 64 * 8 bits.
One external interrupts: INT0.
♦
I/O pin configuration (Total 12 pins)
♦
An 4-channel ADC with 8-bit/12-bit resolution
Input only: P0
Bi-directional: P1, P4, P5
♦
One channel PWM output. (PWM0)
Wakeup: P0, P1
♦
One channel Buzzer output. (BZ0)
Pull-up resisters: P0, P1, P4, P5
External interrupt: P0
♦
Dual clock system offers three operating modes
P4 pins shared with ADC inputs.
External high clock: RC type up to 10 MHz
External high clock: Crystal type up to 16 MHz
♦
One 8-bit timer counters. (TC0).
Internal low clock: RC type 16KHz(3V), 32KHz(5V)
♦
On chip watchdog timer.
Normal mode: Both high and low clock active
♦
Eight levels stack buffer.
Slow mode: Low clock only
Sleep mode: Both high and low clock stop
♦
59 powerful instructions
Four clocks per instruction cycle
All of instructions are one word length.
♦
Package (Chip form support)
Most of instructions are one cycle only.
PDIP 18 pins
All ROM area lookup table function (MOVC)
SOP 18 pins / SSOP20 (MASK type only)
Notice:
1.
Declare “CHIP SN8P1702” in assembler.
2.
Use @SET_PUR macro to control pull-up resister. Refer I/O chapter for detailed information
3.
Call @SET_PUR macro at least one time to avoid sleep mode fail.