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