
SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 13
Revision 1.93
SN8P1704 FEATURES
♦
Memory configuration
♦
Six interrupt sources
OTP ROM size: 2K * 16 bits.
Three internal interrupts: TC0, TC1, SIO.
RAM size: 128 * 8 bits.
Three external interrupts: INT0, INT1, INT2.
♦
I/O pin configuration (Total 18 pins)
♦
A 5-channel ADC with 8-bit/12-bit resolution.
Input only: P0
Bi-directional: P1, P4, P5
♦
One channel DAC with 7-bit resolution.
Wakeup: P0, P1
Pull-up resisters: P0, P1, P4, P5
♦
SIO function.
External interrupt: P0
♦
Two channel PWM output. (PWM0, PWM1)
P4 pins shared with ADC inputs.
♦
Two channel Buzzer output. (BZ0, BZ1)
♦
Two 8-bit timer counters. (TC0, TC1).
♦
Dual clock system offers three operating modes
♦
On chip watchdog timer.
External high clock: RC type up to 10 MHz
♦
Eight levels stack buffer.
External high clock: Crystal type up to 16 MHz
Internal low clock: RC type 16KHz(3V), 32KHz(5V)
♦
60 powerful instructions
Normal mode: Both high and low clock active
Four clocks per instruction cycle
Slow mode: Low clock only
All of instructions are one word length.
Sleep mode: Both high and low clock stop
Most of instructions are one cycle only.
All ROM area lookup table function (MOVC)
♦
Package (Chip form support)
Support hardware multiplier (MUL).
SOP 28 pins
SKDIP
28
pins
Notice:
1.
Declare “CHIP SN8P1704” 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.