| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driv
Top Searches for this datasheetFS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver FS9168 Datasheet [V1.0] Contents Page Description.2 Feature Application Block Diagram Description Electrical Characteristics Function Description 7.1. Core 7.1.1. Program Memory Organization.5 7.1.2. Data Memory Organization 7.1.3. Instruction Set.7 7.2. Battery Detection.8 7.3. Port 7.4. Timer Clock Generator.10 7.5. Driver Application Note.11 8.1. Current Consumption.11 Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 1/12 TD0309-1601 Ver. FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver Description FS9168 8-bit high performance RISC-like microcontroller. device suited multiple power applications among which capacitor scales, toys, thermometer, hand held products, battery systems particular. Feature Embedded progame memory, 64-byte data memory, 8-bit microcontroller. 1.5V battery operation, with about 40uA (Typ.) operation current, 0.2uA (Typ.) sleep mode current Build-in voltage doubler driver. duty, bias 3x13 driver. Resistance frequency conversion module thermistor reference resistance. 16-bit high speed comparator 16-bit counter with programmable gate time select. buzzer outputs. 4-bit input port, 4-bit port. Build battery detector. Dice form. Application Thermometer Hygrometer Capacitor Scale Type Sensor Measurement Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 2/12 TD0309-1601 Ver. FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver Block Diagram C512 SEG1~13 System scillator Voltage oubler Duty Bias river Battery etector 1024W Program Byte Data scillator Switch ontorl bits parator bits ounter bits Input Port bits In/Out Port Buzzer utput Port P1.0~P1.3 P1.4~P1.7 BZ1, Description Name C512 COM1~3 SEG1~13 In/Out 9~12 13~24 3/12 Description Positive input power supply (1.5V) Negative input power supply Test System oscillator external resistor connection (450k) System oscillator external resistor connection (450k) Voltage doubler output (+3.0V) Voltage doubler capacitor positive terminal Voltage doubler capacitor negative terminal segment driver common driver Reference resistor connection TD0309-1601 Ver. Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 P1.0~P1.3 P1.4~P1.7 FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver 32~35 28~31 Sensor resistor connection Comparator input Input Ports In/Out Ports Reset (0,0) opening 90um Chip size 1421um 1481um Substrate should connected BONDING LOCATION P/N:FS9168 pads Name COM<1> COM<2> COM<3> X[um] 1346 1346 1346 Y[um] Size:1421 1481 4/12 Name SEG<8> SEG<9> SEG<10> SEG<11> SEG<12> SEG<13> C512 PT1<7> PT1<6> X[um] 1335 1205 1095 Y[um] 1406 1406 1406 1406 1406 1406 1406 1406 1406 1262 1142 TD0309-1601 Ver. Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver 1346 1346 1346 1346 1346 1346 1346 1041 1162 PT1<5> PT1<4> PT1<3> PT1<2> PT1<1> PT1<0> 1021 SEG<1> SEG<2> SEG<3> SEG<4> SEG<5> SEG<6> SEG<7> Electrical Characteristics Symbol FOSC Parameter Recommended Operation Voltage Supply Current Power Current System Clock Resistance Non-Linearity Error CPU, Sleep mode ROSC=350k, VDD=1.5V Rin=22k~38k 25.6 Test Condition 1.65 38.4 Units Function Description Core 1.1. Program Memory Organization 10-bit program counter capable addressing program memory space. reset vector 0000h interrupt vector 0004h. Reset Vector Program Counter Interrupt Vector 0004h 0000h Stack Level Stack Level Stack Level 3FFh Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 5/12 TD0309-1601 Ver. FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver 1.2. Data Memory Organization Address 000H 001H 002H 003H 004H 005H 006H 007H 008H 009H 00AH 00EH 010H 011H 012H 013H 014H 015H 016H 018H 019H 01AH 01BH 01CH 01DH 40H~7FH Name IND0 IND1 FSR0 FSR1 STATUS WORK INTF INTE PT1EN PT1PU PT1MR LCD0 LCD1 LCD2 LCD3 LCD4 LCD5 LCD6 CKCON TMCNTH TMCNTL RSCNTH RSCNTL LowBatDct lbEN lowPwr LCD_S PMPEN PCK_S BP_S TMRST BPE2 BPE1 LCDEN CH_S PT1EN[7:4] PT1PU[7:0] RF_EN SEG2[2:0] SEG4[2:0] SEG6[2:0] SEG8[2:0] SEG10[2:0] SEG12[2:0] SEG1[2:0] SEG3[2:0] SEG5[2:0] SEG7[2:0] SEG9[2:0] SEG11[2:0] SEG13[2:0] GT_S PT1[7:0] Content contents FSR0 address data memory contents FSR1 address data memory Indirect data memory, address point Indirect data memory, address point WORK register E0IF EOIE TMIF TMIE TMCNT[15:8] TMCNT[7:0] RSCNT[15:8] RSCNT[7:0] BiasSEL1 BiasSEL0 General Data Memory IND0: Indirect addressing mode address IND1: Indirect addressing mode address iii. FSR0: Indirect addressing mode point FSR1: Indirect addressing mode point Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 6/12 TD0309-1601 Ver. FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver Power down flag, which cleared writing power-on reset, sleep instruction. Carry flag. vii. Zero flag. viii. E0IF, E0IE: PT1.0 external interrupt flag enable. TMIF, TMIE: 8-bit Timer interrupt flag enable. GIE: Global interrupt enable. 1.3. Instruction Instruction CLRF ADDWF INCF INCFSZ DECF DECFSZ SUBWF COMF MOVWF MOVFW ADDWFC ANDWF IORWF XORWF SUBWFC ADDLW SUBLW ANDLW IORLW XORLW MOVLW RETLW CALL GOTO Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 Operation operation d=f+W d=f+1 d=f+1 skip d=f-1 d=f-1 skip d=f-W d=~f d=f+W+C d=f&W d=f|W d=f^W [7:0]=f [7:0], d=f-W- (~C) [7:0], c=C, [7:0] W=k+W W=k-W W=k&W W=k|W W=k^W RETURN Push PC+1 GOTO PC=k 7/12 Cylce Flag None None None None None None None None None TD0309-1601 Ver. FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver GIE=1 Stop PC=PC+1+{6{W [7], [6:0]} [b]=0 [b]=1 Skip f[b]=0 Skip f[b]=1 None None None None None None None RETFIE RETURN SLEEP ADDPCW BTFSC BTFSS memory address (00h 7Fh). work register. literal field, constant data label destination select:. "d=0" saves result "d=1" saves result memory address select (0~7). (f): content memory address program counter ***FS9168 does have HALT instruction avoid system error occurred when fast releasing plugging-in battery repeatedly. Battery Detection Address Name lowPwr Content BiasSEL1 BiasSEL0 LowBatDct lbEN When resetting, lbEN=1, BiasSEL=00. III. "lbEN=1" enables batery detection, "lbEN=0" disables batery detection. BiasSEL voltage potential option. When reading LowBatDct, lowPwr=1 normal, lowPwr=0 indicates under preset voltage. ***For various Voltage Detection option, voltage detected might different slight variation process. following table provides several voltage values reference. BiasSEL1 Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 BiasSEL0 8/12 Detect Voltage 1.329V 1.293V 1.260V 1.224V TD0309-1601 Ver. Port Address 008H 009H 00AH 00EH Name PT1EN PT1PU PT1MR FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver Content PT1[7:0] PT1EN[7:4] BPE2 BPE1 CH_S PT1PU[7:0] RF_EN PT1PU[7:0] Databus[7:0] AR==08h Write LOAD PT1[7:4] PT1EN[7:4] READ&AR==08h PT1[0:3] input port, PT1[4:7] port, with pull-up resistor enable control. PT1[4:7] input port when PT1EN[4:7]=0, output port when PT1EN[4:7]=1; system reset initial start-up When PT1PU[N]=0, PT1[N] pull-up resistor; When PT1PU[N]=1, PT1[N] pull-up resistor; system reset initial start-up Schmit-trigger input. When PT1.0 interrupt input, negative edge interrupt absolute high priority, independent GIE's control. BPE2 PT1EN[7]=1: PT1[7] used positive input buzzer. BPE1=1 PT1EN[6]=1: PT1[6] used negative input buzzer. System reset initial start-up *RF_EN enables (Resistor/Frequency) switch mode, CH_S=1 selects reference resistor part) oscillator, CH_S=0 selects sensor resistor part) oscillator. iii. Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 9/12 TD0309-1601 Ver. FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver Timer Clock Generator Address 018H 019H 01AH 01BH 01CH Name CKCON TMCNTH TMCNTL RSCNTH RSCNTL LCD_S PMPEN PCK_S Content BP_S TMRST TMCNT[15:8] TMCNT[7:0] RSCNT[15:8] RSCNT[7:0] GT_S iii. LCD_S clock setup. PMPEN: Clock enable step-up circuit. PCK_S: Clock setup step-up circuit. BP_S Buzzer clock setup. TMCNT input clock system clock. RSCNT input clock (Resistor/Frequency) mode output. When TMRST counting starts, TMCNT counts from 0000 until TMCNT[N] when counter stops, same time sends interrupt signal notifying CPU. Timer-Up option. GT_S, (0~7)+8 setting value. example, when GT_S TMCNT(10) counter stops counting, sends interrupt signal notify CPU. When TMCNT re-counts, TMRST must first, TMCNT RSCNT will cleared When TMRST TMCNT RSCNT start counting until TMCNT[N]1 Then TMCNT RSCNT stop counting store value same time. 2200pF Frequency Output Voltage Reference Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 10/12 TD0309-1601 Ver. Driver Address 010h 011h 012h 013h 014h 015h 016h Name LCD0 LCD1 LCD2 LCD3 LCD4 LCD5 LCD6 FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver Content LCDEN SEG2[2:0] SEG4[2:0] SEG6[2:0] SEG8[2:0] SEG10[2:0] SEG12[2:0] SEG1[2:0] SEG3[2:0] SEG5[2:0] SEG7[2:0] SEG9[2:0] SEG11[2:0] SEG13[2:0] LCDEN=1, display enable; LCDEN=0, turn display Application Note Current Consumption reduce current consumption, please note following when executing program Turn (lbEN=1) only when detecting battery, turn (lbEN=0) immediately after detection. When entering SLEEP mode, Port input status input status, detect Port status first. Turn Pull-up Port=0; turn Pull-up Port=1 (Pull-up must always turned Port 1.0) When entering SLEEP mode, Port output status, Port should cleared When entering SLEEP mode detecting resistor, RF_EN must turned off. After completing above procedures, current consumption will less than SLEEP mode. Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 11/12 TD0309-1601 Ver. FS9168 1.5V Battery Operation, 8-Bit with Conversion Module, Driver Example Program: tovsleepa: ;give input port constant state (the status cannot "floating") movfw ;read port iorlw 00000001b ;pt1.0 exernal interrupt, must pulled high, execute operation with value read last line, pull high when state High, turn pull high circuit state andlw 00111111b ;pull high when state High prevent current leakage pull high resistor caused Input port's state; preset bit0~bit5 input movwf pt1pu pt1mr ,rfen ;turn rfen clrf ;I/O port output clrf lbdct ;turn battery detector ckcon,6 ;turn chrage pump lcd0,6 ;turn movlw 10000010b ;choose external interrupt movwf inte sleep Sleep Mode Operation Mode Fortune Semiconductor +886-2-2809-4742 http://www.fsc.com.tw/ FAX: +886-2-2809-4874 12/12 TD0309-1601 Ver. Other recent searchesRT9168 - RT9168 RT9168 Datasheet PI3A412 - PI3A412 PI3A412 Datasheet HBD237 - HBD237 HBD237 Datasheet DSP56300 - DSP56300 DSP56300 Datasheet 74ABT16273 - 74ABT16273 74ABT16273 Datasheet 74ABT - 74ABT 74ABT Datasheet H16273 - H16273 H16273 Datasheet
Privacy Policy | Disclaimer |