Samsung S3F82HB User Guide

Samsung S3F82HB User Guide

S3F82HB

8-BIT COMOS

Revision 1.20

August 2009

2010 Samsung Electronics Co., Ltd. All rights reserved.

Important Notice

The information in this publication has been carefully checked and is believed to be entirely accurate at the time of publication. Samsung assumes no responsibility, however, for possible errors or omissions, or for any consequences resulting from the use of the information contained herein.

Samsung reserves the right to make changes in its products or product specifications with the intent to improve function or design at any time and without notice and is not required to update this documentation to reflect such changes.

This publication does not convey to a purchaser of semiconductor devices described herein any license under the patent rights of Samsung or others.

Samsung makes no warranty, representation, or guarantee regarding the suitability of its products for any particular purpose, nor does Samsung assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability, including without limitation any consequential or incidental damages.

S3F82HB 8-BIT COMOS, Revision 1.20

Copyright 2010 Samsung Electronics Co., Ltd.

"Typical" parameters can and do vary in different applications. All operating parameters, including "Typicals" must be validated for each customer application by the customer's technical experts.

Samsung products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, for other applications intended to support or sustain life, or for any other application in which the failure of the Samsung product could create a situation where personal injury or death may occur.

Should the Buyer purchase or use a Samsung product for any such unintended or unauthorized application, the Buyer shall indemnify and hold Samsung and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, expenses, and reasonable attorney fees arising out of, either directly or indirectly, any claim of personal injury or death that may be associated with such unintended or unauthorized use, even if such claim alleges that Samsung was negligent regarding the design or manufacture of said product.

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electric or mechanical, by photocopying, recording, or otherwise, without the prior written consent of Samsung Electronics.

Samsung Electronics Co., Ltd.

San #24 Nongseo-Dong, Giheung-Gu

Yongin-City, Gyeonggi-Do, Korea 446-711

TEL : (82)-(31)-209-3107

FAX : (82)-(31)-209-3262

Home Page: http://www.samsungsemi.com

Printed in the Republic of Korea

Revision History

Revision No.

Date

Description

Author(s)

0.00

Sep, 2006

Preliminary Spec for internal release only.

bumsun.Hong

1.00

Jan, 2007

First edition.

bumsun.Hong

1.10

Mar, 2007

Second edition

bumsun.Hong

1.20

Oct, 2008

Third edition

bumsun.Hong

 

Table of Contents

 

1

.......................................................................................................

1-1

 

1.1 S3F8MCU ....................................................................................................................................

1-1

 

1.2 S3F82HB MCU ........................................................................................................................................

1-1

 

1.3 .........................................................................................................................................................

1-2

 

1.3.1 CPU ..................................................................................................................................................

1-2

 

1.3.2 ..............................................................................................................................................

1-2

 

1.3.3 ..............................................................................................................................................

1-2

 

1.3.4 83 I/O ...........................................................................................................................................

1-2

 

1.3.5 ..................................................................................................................................................

1-2

 

1.3.6 8 Basic Timer ...............................................................................................................................

1-2

 

1.3.7 8 Timer/Counter A........................................................................................................................

1-3

 

1.3.8 8 Timer/Counter B........................................................................................................................

1-3

 

1.3.9 2 16 Timer/Counters (T0 T1) ..................................................................................................

1-3

 

1.3.10 (Watch Timer) ............................................................................................................

1-3

 

1.3.11 16 Frequency Counter ...............................................................................................................

1-3

 

1.3.12 LCD / ........................................................................................................................

1-3

 

1.3.13 A/D .....................................................................................................................................

1-3

 

1.3.14 2 ................................................................................................................................

1-3

 

1.3.15 2 UART.......................................................................................................................................

1-4

 

1.3.16 8 SIO .................................................................................................................................

1-4

 

1.3.17 .................................................................................................................................

1-4

 

1.3.18 (LVR)..........................................................................................................................

1-4

 

1.3.19 2 ..............................................................................................................................

1-4

 

1.3.20 ............................................................................................................................................

1-4

 

1.3.21 .................................................................................................................................

1-4

 

1.3.22 .................................................................................................................................

1-4

 

1.3.23 .....................................................................................................................................

1-5

 

1.3.24 .................................................................................................................................

1-5

 

1.3.25 .........................................................................................................................................

1-5

 

1.3.26 Smart Option...................................................................................................................................

1-5

 

1.4 ...........................................................................................................................................

1-6

 

1.5 ..............................................................................................................................................

1-7

 

1.6 ...........................................................................................................................................

1-9

 

1.7 ................................................................................................................................................

1-13

2

.......................................................................................................

2-1

 

2.1 .........................................................................................................................................................

2-1

 

2.2 (ROM) ..............................................................................................................................

2-2

 

2.2.1 Smart Option.....................................................................................................................................

2-3

 

2.3 RAM ...............................................................................................................................

2-4

 

2.3.1 (PP).........................................................................................................................

2-6

 

2.3.2 SET 1 ....................................................................................................................................

2-8

 

2.3.3 SET 2 ....................................................................................................................................

2-8

 

 

 

 

2.3.4 .......................................................................................................................................

2-9

 

2.3.5 .....................................................................................................................................

2-10

 

2.3.6 ..............................................................................................................................

2-11

 

2.4 ............................................................................................................................................

2-13

 

2.4.1 (C0H–CFH) .....................................................................................................

2-15

 

2.4.2 4 ..................................................................................................................

2-17

 

2.4.3 8 ..................................................................................................................

2-19

 

2.5 .........................................................................................................................................

2-21

 

2.5.1 ............................................................................................................................................

2-21

 

2.5.2 .................................................................................................................................

2-21

 

2.5.2.1 (SPL SPH).............................................................................................................

2-21

3

.......................................................................................................

3-1

 

3.1 .........................................................................................................................................................

3-1

 

3.1.1 (R).........................................................................................................................

3-2

 

3.1.2 (IR).................................................................................................................

3-3

 

3.1.2.1 ( ) .......................................................................................................

3-4

 

3.1.2.2 ( ) .......................................................................................................

3-5

 

3.1.2.3 ( ) .......................................................................................................

3-6

 

3.1.3 (X).............................................................................................................................

3-7

 

3.1.3.1 ( ) ..................................................................................................................

3-8

 

3.1.3.2 ( ) ..................................................................................................................

3-9

 

3.1.4 (DA) ........................................................................................................................

3-10

 

3.1.4.1 ( ) ................................................................................................................

3-11

 

3.1.5 (IA)..........................................................................................................................

3-12

 

3.1.6 (RA).................................................................................................................

3-13

 

3.1.7 (IM)......................................................................................................................

3-14

4

...................................................................................................

4-1

 

4.1 .........................................................................................................................................................

4-1

 

4.1.1 ADCON—A/D : 0CH Page 0 ..................................................................................

4-6

 

4.1.2 BLDCON— : D2H Set 1, Bank 0............................................................

4-7

 

4.1.3 BTCON—Basic Timer : D3H Set 1................................................................................

4-8

 

4.1.4 CLKCON— : D4H Set 1....................................................................................

4-9

 

4.1.5 CMP0CON— 0 : 08H Page 0 ..............................................................................

4-10

 

4.1.6 CMP1CON— 1 : 09H Page 0 ..............................................................................

4-11

 

4.1.7 COUTCON— : 0FH Page 0 ........................................................................

4-12

 

4.1.8 FCCON— : F3H Set 1, Bank 0....................................................................

4-13

 

4.1.9 FLAGS— : D5H Set 1 ............................................................................................

4-14

 

4.1.10 FMCON— : F9H Set 1, Bank 0 ............................................................................

4-15

 

4.1.11 FMSECH— ( ): F6H Set 1, Bank 0....................................................

4-16

 

4.1.12 FMSECL—Flash ( ): F7H Set 1, Bank 0...................................................

4-16

 

4.1.13 FMUSR— : F8H Set 1, Bank 0 ..........................................................

4-16

 

4.1.14 IMR— : DDH Set 1 ...............................................................................................

4-17

 

4.1.15 INTPND— : D0H Set 1, Bank 0........................................................................

4-18

 

4.1.16 IPH— ( ): DAH Set 1............................................................................................

4-19

 

4.1.17 IPL— ( ): DBH Set 1 ............................................................................................

4-19

 

 

 

4.1.18 IPR— : FFH Set 1, Bank 0 ...............................................................................

4-20

4.1.19 IRQ— : DCH Set 1 ...............................................................................................

 

4-21

4.1.20 LCON—LCD : 0DH Page 0 .......................................................................................

4-22

4.1.21 LCONST—LCD :

0EH Page 0 ....................................................................

4-23

4.1.22 OSCCON— : FAH

Set 1, Bank 0..................................................................

4-24

4.1.23 P0CONH—P0 ( ): E0H Set 1, Bank 1 ........................................................

4-25

4.1.24 P0CONL—P0 ( ): E1H Set 1, Bank 1.........................................................

4-26

4.1.25 P0INTH—P0 ( ): E2H Set 1, Bank1 ....................................................

4-27

4.1.26 P0INTL—P0 ( ): E3H Set 1, Bank1.....................................................

4-28

4.1.27 P0PND—P0 : E4H Set 1, Bank1.................................................................

4-29

4.1.28 P0PUR—P0 : E5H Set 1, Bank1.............................................................

4-30

4.1.29 P1CONH—P1 ( ): E6H Set 1, Bank1 .........................................................

4-31

4.1.30 P1CONL—P1 ( ): E7H Set 1, Bank 1.........................................................

4-32

4.1.31 P2CONH—P2 ( ): E8H Set 1, Bank 1 ........................................................

4-33

4.1.32 P2CONL—P2 ( ): E9H Set 1, Bank 1.........................................................

4-34

4.1.33 P3CONH—P3 ( ): EAH Set 1, Bank 1........................................................

4-35

4.1.34 P3CONL—P3 ( ): EBH Set 1, Bank 1 ........................................................

4-36

4.1.35 P3INT—P3 : ECH Set 1, Bank 1 ....................................................................

4-37

4.1.36 P4CONH—P4 ( ): EEH Set 1, Bank 1........................................................

4-38

4.1.37 P4CONL—P4 ( ): EFH Set 1, Bank 1.........................................................

4-39

4.1.38 P4PUR—P4 : EDH Set 1, Bank 1 ...........................................................

4-40

4.1.39 P5CONH—P5 ( ): FCH Set 1, Bank 1........................................................

4-41

4.1.40 P5CONL—P5 ( ): FDH Set 1, Bank 1.........................................................

4-42

4.1.41 P5PUR—P5 : EBH Set 1, Bank 1 ...........................................................

4-43

4.1.42 P6CONH—P6 ( ): FEH Set 1, Bank 1 ........................................................

4-44

4.1.43 P6CONL—P6 ( ): FFH Set 1, Bank 1.........................................................

4-45

4.1.44 P7CON—P7 : D0H Set 1, Bank 1..........................................................................

4-46

4.1.45 P89CON—P8, 9 : D1H Set 1, Bank 1....................................................................

4-47

4.1.46 P10CON—P10 : D2H Set 1, Bank 1......................................................................

4-48

4.1.47 PP— : DFH Set 1.....................................................................................................

 

4-49

4.1.48 RP0— 0: D6H Set 1...................................................................................................

 

4-50

4.1.49 RP1— 1: D7H Set 1...................................................................................................

 

4-50

4.1.50 SIOCON—SIO : E0H Set 1, Bank 0 ..........................................................................

4-51

4.1.51 SPH— ( ): D8H Set 1...........................................................................................

 

4-52

4.1.52 SPL— ( ): D9H Set 1 ...........................................................................................

 

4-52

4.1.53 STPCON—Stop : FBH Set 1, Bank 0........................................................................

4-52

4.1.54 SYM— : DEH Set 1 ..............................................................................................

 

4-53

4.1.55 T0CON—Timer 0 : E3H Set 1, Bank 0 ......................................................................

4-54

4.1.56 T1CON—Timer 1 : EBH Set 1, Bank 0......................................................................

4-55

4.1.57 TACON—Timer A : E8H Set 1, Bank 0 .....................................................................

4-56

4.1.58 TBCON—Timer B : F2H Set 1, Bank 0 .....................................................................

4-57

4.1.59 UART0CONH—UART 0 ( ): 00H Page 0.......................................................

4-58

4.1.60 UART0CONL—UART 0 ( ): 01H Page 0 .......................................................

4-59

4.1.61 UART1CONH—UART 1 ( ): 04H Page 0.......................................................

4-60

4.1.62 UART1CONL—UART 1 ( ): 05H Page 0 .......................................................

4-61

4.1.63 WTCON— : D1H Set 1, Bank 0...............................................................

4-62

 

 

 

5

.......................................................................................................

5-1

 

5.1 .........................................................................................................................................................

5-1

 

5.1.1 (Levels)................................................................................................................................

5-1

 

5.1.2 (Vectors) ..........................................................................................................................

5-1

 

5.1.3 (Sources).............................................................................................................................

5-1

 

5.1.4 ...........................................................................................................................................

5-2

 

5.1.5 S3F82HB ..........................................................................................................................

5-3

 

5.1.5.1 ..........................................................................................................................

5-5

 

5.1.5.2 / (EI, DI).................................................................................................

5-7

 

5.1.5.3 ...........................................................................................................

5-7

 

5.1.6 ............................................................................................................................

5-8

 

5.1.7 .........................................................................................................................

5-9

 

5.1.8 (SYM)..................................................................................................................

5-10

 

5.1.9 (IMR)...................................................................................................................

5-11

 

5.1.10 (IPR)..............................................................................................................

5-12

 

5.1.11 (IRQ) .................................................................................................................

5-14

 

5.1.12 ............................................................................................................................

5-15

 

5.1.12.1 ....................................................................................................................................

5-15

 

5.1.12.2 .......................................................................................................

5-15

 

5.1.12.3 ............................................................................................

5-15

 

5.1.13 ............................................................................................................................

5-16

 

5.1.14 ...............................................................................................................................

5-16

 

5.1.15 ....................................................................................................................

5-17

 

5.1.16 .......................................................................................................................................

5-17

 

5.1.17 (IP) ...............................................................................................................................

5-17

 

5.1.18 ...............................................................................................................................

5-17

 

5.1.18.1 ( ) ..............................................................................................................

5-18

 

5.1.18.2 ...........................................................................................................

5-18

 

5.1.18.3 ...............................................................................................................

5-18

 

5.1.19 .................................................................................................................

5-18

 

5.1.20 .......................................................................................................................................

5-18

6

..........................................................................................................

6-1

 

6.1 .........................................................................................................................................................

6-1

 

6.1.1 \ ..........................................................................................................................................

6-1

 

6.1.2 .......................................................................................................................................

6-1

 

6.1.3 ...........................................................................................................................................

6-1

 

6.2 (FLAGS) ..............................................................................................................................

6-5

 

6.2.1 .......................................................................................................................................

6-6

 

6.2.2 .......................................................................................................................................

6-7

 

6.3 ....................................................................................................................................................

6-11

 

6.3.1 .....................................................................................................................................

6-12

 

6.3.1.1 ADC— (Add with Carry) .....................................................................................

6-13

 

6.3.1.2 ADD— (Add) .................................................................................................................

6-14

 

6.3.1.3 AND— (Logical AND)................................................................................................

6-15

 

6.3.1.4 BAND— (Bit AND) ........................................................................................................

6-16

 

 

 

6.3.1.5 BCP— (Bit Compare) ................................................................................................

6-17

6.3.1.6 BITC— (Bit Complement) .............................................................................................

6-18

6.3.1.7 BITR— (Bit Reset).....................................................................................................

6-19

6.3.1.8 BITS— 1 (Bit Set) ...........................................................................................................

6-20

6.3.1.9 BOR— (Bit OR).............................................................................................................

6-21

6.3.1.10 BTJRF— (Bit Test, Jump Relative on False) .............................

6-22

6.3.1.11 BTJRT— (Bit Test, Jump Relative on True) ...........................

6-23

6.3.1.12 BXOR— (Bit XOR) ..................................................................................................

6-24

6.3.1.13 CALL— (Call Procedure) .....................................................................................

6-25

6.3.1.14 CCF— (Complement Carry Flag) .............................................................

6-26

6.3.1.15 CLR— (Clear) .............................................................................................................

6-27

6.3.1.16 COM— (Complement) ................................................................................................

6-28

6.3.1.17 CP— (Compare) .........................................................................................................

6-29

6.3.1.18 CPIJE— (Compare, Increment, and Jump on Equal).............

6-30

6.3.1.19 CPIJNE— (Compare, Increment, Jump on Non-Equal).............

6-31

6.3.1.20 DA— (Decimal Adjust) .....................................................................................

6-32

6.3.1.21 DA— (Decimal Adjust) .....................................................................................

6-33

6.3.1.22 DEC— 1 (Decrement) ...............................................................................................

6-34

6.3.1.23 DECW— 1 (Decrement Word)......................................................................................

6-35

6.3.1.24 DI— (Disable Interrupts)...............................................................................

6-36

6.3.1.25 DIV— (Unsigned Divide) ..................................................................................

6-37

6.3.1.26 DJNZ— 1 (Decrement and Jump if Non-Zero)...................................

6-38

6.3.1.27 EI— (Enable Interrupts)................................................................................

6-39

6.3.1.28 ENTER— (Enter) ........................................................................................................

6-40

6.3.1.29 EXIT— (Exit) ...............................................................................................................

6-41

6.3.1.30 IDLE— (Idle Operation) .......................................................................................

6-42

6.3.1.31 INC— 1 (Increment) .........................................................................................................

6-43

6.3.1.32 INCW— 1 (Increment Word).........................................................................................

6-44

6.3.1.33 IRET— (Interrupt Return) ....................................................................................

6-45

6.3.1.34 JP— (Jump) ................................................................................................................

6-46

6.3.1.35 JR— (Jump Relative) ...................................................................................

6-47

6.3.1.36 LD— (Load) .........................................................................................................

6-48

6.3.1.37 LD— (Load) .........................................................................................................

6-49

6.3.1.38 LDB— (Load Bit) ..............................................................................................

6-50

6.3.1.39 LDC/LDE— / (Load Memory) ...............................................

6-51

6.3.1.40 LDC/LDE— / (Load Memory) ...............................................

6-52

6.3.1.41 LDCD/LDED— 1 (Load Memory and Decrement) ..............................

6-53

6.3.1.42 LDCI/LDEI— 1 (Load Memory and Increment).......................................

6-54

6.3.1.43 LDCPD/LDEPD— 1 (Load Memory with Pre-Decrement)......................

6-55

6.3.1.44 LDCPI/LDEPI— 1 (Load Memory with Pre-Increment)...........................

6-56

6.3.1.45 LDW— (Load Word).........................................................................................

6-57

6.3.1.46 MULT— (Unisigned Multiply)........................................................................

6-58

6.3.1.47 NEXT—Next ...............................................................................................................

6-59

6.3.1.48 NOP— (No Operation) ............................................................................................

6-60

6.3.1.49 OR— (Logical OR) ..................................................................................................

6-61

6.3.1.50 POP— (Pop from Stack).............................................................................................

6-62

6.3.1.51 POPUD— ( ) (Pop User Stack (Drementing))............................................

6-63

6.3.1.52 POPUI— ( ) (Pop User Stack (Incrementing))...........................................

6-64

 

 

6.3.1.53 PUSH— (Push to Stack).............................................................................................

6-65

6.3.1.54 PUSHUD— ( ) Push User Stack (Decrementing)......................................

6-66

6.3.1.55 PUSHUI— ( ) Push User Stack (Incrementing) .........................................

6-67

6.3.1.56 RCF—C 0 (Reset Carry Flag) ..........................................................................................

6-68

6.3.1.57 RET— (Return) ................................................................................................

6-69

6.3.1.58 RL— (Rotate Left).......................................................................................................

6-70

6.3.1.59 RLC— (Rotate Left Through Carry) .................................................................

6-71

6.3.1.60 RR— (Rotate Right)....................................................................................................

6-72

6.3.1.61 RRC— (Rotate Right Through Carry) ..............................................................

6-73

6.3.1.62 SB0— Bank 0 (Select Bank 0)....................................................................................

6-74

6.3.1.63 SB1— Bank 1 (Select Bank 1)....................................................................................

6-75

6.3.1.64 SBC— (Subtract with Carry) ............................................................................

6-76

6.3.1.65 SCF—C 1 (Set Carry Flag) ..............................................................................................

6-77

6.3.1.66 SRA— (Shift Right Arithmetic).............................................................................

6-78

6.3.1.67 SRP/SRP0/SRP1— (Set Register Pointer) ..............................................

6-79

6.3.1.68 STOP—Stop (Stop Operation)..................................................................................

6-80

6.3.1.69 SUB— (Subtract) ........................................................................................................

6-81

6.3.1.70 SWAP— (Swap Nibbles) ............................................................................................

6-82

6.3.1.71 TCM— (Test Complement Under Mask)......................................................

6-83

6.3.1.72 TM— (Test Under Mask).........................................................................................

6-84

6.3.1.73 WFI— (Wait for Interrupt) ....................................................................................

6-85

6.3.1.74 XOR— (Logical Exclusive OR)............................................................................

6-86

7

.......................................................................................................

 

7-1

 

7.1 .........................................................................................................................................................

 

7-1

 

7.1.1 CPU ..............................................................................................................................

7-1

 

7.1.1.1

..........................................................................................................................

7-2

 

7.1.1.2

..........................................................................................................................

7-3

 

7.1.1.3

...............................................................................................................

7-4

 

7.1.1.4 (CLKCON)............................................................................................

7-5

 

7.1.1.5 CPU ..........................................................................................................................

7-7

8

............................................................................................

8-1

 

8.1 ..................................................................................................................................................

 

8-1

 

8.1.1 ..................................................................................................................................................

 

8-1

 

8.1.2 ............................................................................................................................

8-1

 

8.1.3 .......................................................................................................................................

8-2

 

8.2 ..................................................................................................................................................

 

8-6

 

8.2.1 Stop .........................................................................................................................................

8-6

 

8.2.1.1 nRESET STOP ...........................................................................................

8-6

 

8.2.1.2 STOP ..............................................................................................

8-6

 

8.2.1.3 STOP ................................................................................................

8-6

 

8.2.2 Idle ...........................................................................................................................................

8-7

 

 

 

 

9

I/O ...........................................................................................................

 

9-1

 

9.1 .........................................................................................................................................................

 

9-1

 

9.1.1 ...................................................................................................................................

9-2

 

9.1.2 P0 ................................................................................................................................................

 

9-3

 

9.1.2.1 P0

(P0CONH, P0CONL).................................................................................

9-3

 

9.1.2.2 P0

(P0PUR)......................................................................................

9-3

 

9.1.2.3 P0

(P0INTH, P0INTL, P0PND) .................................................

9-3

 

9.1.3 P1 ................................................................................................................................................

 

9-7

 

9.1.3.1 P1

(P1CONH, P1CONL).................................................................................

9-7

 

9.1.4 P2 ................................................................................................................................................

 

9-9

 

9.1.4.1 P2

(P2CONH, P2CONL).................................................................................

9-9

 

9.1.5 P3 ..............................................................................................................................................

 

9-11

 

9.1.5.1 P3

(P3CONH, P3CONL)...............................................................................

9-11

 

9.1.5.2 P3

(P3INT).............................................................................................

9-11

 

9.1.6 P4 ..............................................................................................................................................

 

9-13

 

9.1.6.1 P4

(P4CONH, P4CONL)...............................................................................

9-13

 

9.1.6.2 P4

(P4PUR)....................................................................................

9-13

 

9.1.7 P5 ..............................................................................................................................................

 

9-15

 

9.1.7.1 P5

(P5CONH, P5CONL)...............................................................................

9-15

 

9.1.7.2 P5

(P5PUR)....................................................................................

9-15

 

9.1.8 P6 ..............................................................................................................................................

 

9-17

 

9.1.8.1 P6

(P6CONH, P6CONL)...............................................................................

9-17

 

9.1.9 P7 ..............................................................................................................................................

 

9-18

 

9.1.9.1 P7

(P7CON)..................................................................................................

9-18

 

9.1.10 P8, 9 ........................................................................................................................................

9-19

 

9.1.10.1 P8, 9 (P89CON)..........................................................................................

9-19

 

9.1.11 P10 ..........................................................................................................................................

 

9-20

 

9.1.11.1 P10 (P10CON)............................................................................................

9-20

10

Basic Timer...............................................................................................

10-1

 

10.1 .....................................................................................................................................................

 

10-1

 

10.1.1 Basic Timer (BT)...........................................................................................................................

10-1

 

10.1.2 Basic Timer (BTCON)..............................................................................................

10-2

 

10.1.3 Basic Timer ..................................................................................................................

10-3

 

10.1.3.1 ...............................................................................................................

10-3

 

10.1.3.2 ......................................................................................................................

10-3

11

8 Timer A/B...........................................................................................

11-1

 

11.1 8 Timer A .........................................................................................................................................

11-1

 

11.1.1 ..............................................................................................................................................

 

11-1

 

11.1.2 Timer A (TACON) ....................................................................................................

11-2

 

11.1.3 Timer A .........................................................................................................................

11-3

 

11.1.3.1 Timer A (IRQ2, D0H D2H) ........................................................

11-3

 

11.1.3.2 Interval ( ) .............................................................................................................

11-3

 

11.1.4 PWM ....................................................................................................................................

11-4

 

11.1.5 Capture ( ) .....................................................................................................................

11-5

 

 

 

 

 

11.1.6 .......................................................................................................................................

11-6

 

11.2 8 Timer B .........................................................................................................................................

11-7

 

11.2.1 ..............................................................................................................................................

11-7

 

11.2.2 .......................................................................................................................................

11-8

 

11.2.2.1 Timer B ........................................................................................................

11-9

12

16 Timer 0/1 ..........................................................................................

12-1

 

12.1 16 Timer 0........................................................................................................................................

12-1

 

12.1.1 ..............................................................................................................................................

12-1

 

12.1.1.1 Timer 0 (T0CON)............................................................................................

12-2

 

12.1.2 Timer 0 .........................................................................................................................

12-3

 

12.1.2.1 Timer 0 (IRQ0, C6H C8H) ..........................................................

12-3

 

12.1.2.2 .............................................................................................................................

12-3

 

12.1.2.3 PWM ..........................................................................................................................

12-4

 

12.1.3 .......................................................................................................................................

12-5

 

12.1.4 ..............................................................................................................................................

12-6

 

12.2 16 Timer 1 .........................................................................................................................................

12-7

 

12.2.1 ..............................................................................................................................................

12-7

 

12.2.1.1 Timer 1 (T1CON)............................................................................................

12-8

 

12.2.2 Timer 1 .........................................................................................................................

12-9

 

12.2.2.1 Timer 1 (IRQ0, CAH CCH) .........................................................

12-9

 

12.2.2.2 .............................................................................................................................

12-9

 

12.2.2.3 PWM ........................................................................................................................

12-10

 

12.2.3 .....................................................................................................................................

12-11

 

12.2.4 ............................................................................................................................................

12-12

13

.................................................................................................

13-1

 

13.1 .....................................................................................................................................................

13-1

 

13.1.1 (WTCON: ) .................................................................................

13-2

 

13.1.2 ........................................................................................................................

13-3

14 LCD / ...................................................................................

14-1

 

14.1 .....................................................................................................................................................

14-1

 

14.1.1 LCD ..............................................................................................................................

14-2

 

14.1.2 LCD RAM .....................................................................................................................

14-3

 

14.1.3 LCD (LCON) ............................................................................................................

14-4

 

14.1.4 LCD (lCONST) ..............................................................................................

14-5

 

14.1.5 .................................................................................................................

14-6

 

14.1.6 .................................................................................................................

14-7

 

14.1.7 ........................................................................................................................

14-8

 

14.1.8 COMMON (COM) ................................................................................................................

14-9

 

14.1.9 SEGMENT (SEG) ................................................................................................................

14-9

 

 

 

15 10 AD ........................................................................................

15-1

15.1 .....................................................................................................................................................

15-1

15.2 ..............................................................................................................................................

15-1

15.2.1 .......................................................................................................................................

15-2

15.2.2 A/D (ADCON) ...................................................................................................

15-2

15.2.3 ...............................................................................................................................

15-3

15.3 ..................................................................................................................................................

15-4

16 ......................................................................................

16-1

16.1 .....................................................................................................................................................

16-1

16.1.1 .......................................................................................................................................

16-1

16.1.1.1 SIO (SIOCON)................................................................................................

16-2

16.1.1.2 SIO (SIOPS) ...............................................................................................

16-3

16.2 ..............................................................................................................................................

16-4

16.2.1 SIO ...................................................................................................................................

16-5

17 UART 0 ......................................................................................................

17-1

17.1 .....................................................................................................................................................

17-1

17.1.1 UART 0 ...............................................................................................

17-1

17.1.2 UART 0 (UART0CONH) ...............................................................................

17-2

17.1.3 UART 0 (UARTCONL) ..................................................................................

17-2

17.1.4 UART 0 .......................................................................................................................

17-5

17.1.5 UART 0 (UART0DATA) ...........................................................................................

17-5

17.1.6 UART 0 (BR0DATA) .....................................................................................

17-5

17.1.7 ...................................................................................................................................

17-6

17.1.7.1 Mode 0 ..............................................................................................

17-6

17.1.7.2 Mode 2 ..............................................................................................

17-6

17.1.7.3 Mode 1 Mode 3 ............................................................................

17-6

17.1.8 .......................................................................................................................................

17-7

17.1.9 UART 0 Mode 0 ....................................................................................................

17-8

17.1.9.1 Mode 0 ..............................................................................................

17-8

17.1.9.2 Mode 0 ..............................................................................................

17-8

17.1.10 UART 0 Mode 1 ................................................................................................

17-10

17.1.10.1 Mode 1 .............................................................................................

17-10

17.1.10.2 Mode 1 .............................................................................................

17-10

17.1.11 UART 0 Mode 2 ................................................................................................

17-12

17.1.11.1 Mode 2 .............................................................................................

17-12

17.1.11.2 Mode 2 .............................................................................................

17-12

17.1.12 UART 0 Mode 3 ................................................................................................

17-14

17.1.12.1 Mode 3 .............................................................................................

17-14

17.1.12.2 Mode 2 .............................................................................................

17-14

17.1.13 ........................................................................................................................

17-16

17.1.13.1 / .......................................................................................

17-16

17.1.13.2 ...................................................................................................

17-17

 

 

18 UART 1 ......................................................................................................

18-1

18.1 .....................................................................................................................................................

18-1

18.1.1 UART 1 ...............................................................................................

18-1

18.1.2 UART 1 (UART1CONH) ...............................................................................

18-2

18.1.3 UART 1 (UART1CONL) ................................................................................

18-2

18.1.4 UART 1 .......................................................................................................................

18-5

18.1.5 UART 1 (UART1DATA) ...........................................................................................

18-5

18.1.6 UART 1 (BR1DATA) .....................................................................................

18-5

18.1.7 ...................................................................................................................................

18-6

18.1.7.1 Mode 0 ..............................................................................................

18-6

18.1.7.2 Mode 2 ..............................................................................................

18-6

18.1.7.3 Mode 1 Mode 3 ............................................................................

18-6

18.2 ..............................................................................................................................................

18-7

18.2.1 UART 1 Mode 0 ....................................................................................................

18-8

18.2.1.1 Mode 0 ..............................................................................................

18-8

18.2.1.2 Mode 0 ..............................................................................................

18-8

18.2.2 UART 1 Mode 1 ..........................................................................................................

18-10

18.2.2.1 Mode 1 ...............................................................................................

18-10

18.2.2.2 Mode 1 ...............................................................................................

18-10

18.2.3 UART 1 Mode 2 ..........................................................................................................

18-12

18.2.3.1 Mode 2 ...............................................................................................

18-12

18.2.3.2 Mode 2 ...............................................................................................

18-12

18.2.4 UART 1 Mode 3 ..................................................................................................

18-14

18.2.4.1 Mode 3 ...............................................................................................

18-14

18.2.4.2 Mode 2 ...............................................................................................

18-14

18.2.5 ..........................................................................................................................

18-16

18.2.5.1 / .........................................................................................

18-16

18.2.6 ...............................................................................................................

18-17

19 ..........................................................................................

19-1

19.1 .....................................................................................................................................................

19-1

19.1.1 ...............................................................................................................................

19-1

19.2 ( ) .........................................................................................................

19-2

19.2.1 (FMCON) ..........................................................................................................

19-2

19.2.2 (FMUSR) ...................................................................................................

19-3

19.2.3 ....................................................................................................................

19-4

19.3 ISPTM ( ) .......................................................................................................................

19-5

19.3.1 ISP ISP .........................................................................................

19-6

19.4 ..............................................................................................................................................

19-7

19.4.1 ......................................................................................................

19-8

19.5 .....................................................................................................................................................

19-9

19.5.1 ..........................................................................................................

19-9

19.6 .......................................................................................................................................................

19-11

19.6.1 ...........................................................................................................

19-11

19.7 Hard Lock ..................................................................................................................................

19-12

19.7.1 ........................................................................................................

19-12

 

 

20

..............................................................................................

20-1

 

20.1

.....................................................................................................................................................

20-1

 

20.1.1 (BLDCON)..........................................................................................

20-2

21

.................................................................................................

21-1

 

21.1

.....................................................................................................................................................

21-1

 

21.1.1 (FCCON)................................................................................................

21-3

 

21.1.2 ...................................................................................................................................

21-4

22

0/1..................................................................................................

22-1

 

22.1

.....................................................................................................................................................

22-1

 

22.1.1 0 (CMP0CON)................................................................................................

22-2

 

22.1.2 1 (CMP1CON)................................................................................................

22-2

 

22.1.3 (COUTCON) ..............................................................................................

22-2

23

.....................................................................................................

23-1

 

23.1

.....................................................................................................................................................

23-1

24

.....................................................................................................

24-1

 

24.1

.....................................................................................................................................................

24-1

25

S3F82HB Flash MCU ................................................................................

25-1

 

25.1

.....................................................................................................................................................

25-1

 

25.2

On Board Writing ...........................................................................................................

25-5

 

25.2.1 ...............................................................................................................................

25-5

 

25.2.2 ...................................................................................................................................

25-6

26

.....................................................................................................

26-1

 

26.1

.....................................................................................................................................................

26-1

 

26.1.1 ..........................................................................................................................................

26-1

 

26.1.2 ............................................................................................................................

26-1

 

26.1.3 TB82HB ............................................................................................................................

26-3

 

 

26.1.3.1 IDLE LED ............................................................................................................................

26-4

 

 

26.1.3.2 STOP LED ..........................................................................................................................

26-4

 

26.1.4 ............................................................................................................................

26-7

 

 

26.1.4.1 SAM8 ....................................................................................................

26-7

 

 

26.1.4.2 OTP/MTP ................................................................................................................

26-7

 

 

26.1.4.3 ..................................................................................................................

26-7

 

 

26.1.4.4 8 .................................................................................................................

26-7

 

 

26.1.4.5 OTP/MTP ( ).................................................................................................

26-8

 

 

 

 

List of Figures

Figure

Title

Page

Number

 

Number

1-1

.................................................................................................................................................

1-6

1-2

S3F82HB (100-QFP-1420C ) ....................................................................................

1-7

1-3

S3F82HB (100-TQFP-1414 ).....................................................................................

1-8

1-4

A....................................................................................................................................

1-13

1-5

B....................................................................................................................................

1-13

1-6

C....................................................................................................................................

1-14

1-7

D-1 (P3.6 P3.7)...........................................................................................................

1-14

1-8

E-4 (P0 P1).................................................................................................................

1-15

1-9

F-1 (P2.0 P2.1 P2.6)................................................................................................

1-15

1-10

F-2 (P2.7) ....................................................................................................................

1-16

1-11

F-3 (P2.2-P2.5) ...........................................................................................................

1-17

1-12

H-4...............................................................................................................................

1-18

1-13

H-8 (P4 P5)...............................................................................................................

1-18

1-14

H-9 (P3.0-P3.5 P6 P7 P8 P9 P10).................................................................

1-19

2-1

...................................................................................................................................

2-2

2-2

Smart Option...........................................................................................................................................

2-3

2-3

(S3F82HB) ....................................................................................................

2-5

2-4

(PP) .............................................................................................................................

2-6

2-5

Set 1 Set 2 LCD .....................................................................................

2-9

2-6

8 (Slices) .................................................................................................................

2-10

2-7

16 ..................................................................................................................

2-11

2-8

16 ..............................................................................................................

2-12

2-9

16 ....................................................................................................................................

2-13

2-10

...............................................................................................................................

2-14

2-11

...............................................................................................................................

2-15

2-12

4 ......................................................................................................................

2-17

2-13

4 ......................................................................................................................

2-18

2-14

8 ......................................................................................................................

2-19

2-15

8 ......................................................................................................................

2-20

2-16

.................................................................................................................................................

2-21

3-1

.......................................................................................................................................

3-2

3-2

...............................................................................................................................

3-2

3-3

........................................................................................................................

3-3

3-4

.................................................................................................................

3-4

3-5

.................................................................................................................

3-5

3-6

.......................................................................................

3-6

3-7

........................................................................................................................

3-7

3-8

......................................................................................................

3-8

3-9

......................................................................................................

3-9

3-10

Load .........................................................................................................................

3-10

 

 

 

3-11

Call Jump ..............................................................................................................

3-11

3-12

......................................................................................................................................

3-12

3-13

......................................................................................................................................

3-13

3-14

...................................................................................................................................

3-14

4-1

.......................................................................................................................................

4-5

5-1

S3F8- .............................................................................................................................

5-2

5-2

S3F82HB ................................................................................................................................

5-4

5-3

ROM ............................................................................................................................

5-5

5-4

..........................................................................................................................................

5-8

5-5

(SYM) ........................................................................................................................

5-10

5-6

(IMR)..........................................................................................................................

5-11

5-7

.................................................................................................................................

5-12

5-8

(IPR).......................................................................................................................

5-13

5-9

(IRQ)..........................................................................................................................

5-14

6-1

(FLAGS) ......................................................................................................................

6-5

7-1

/ (fX)..............................................................................................................................

7-2

7-2

(fX) ......................................................................................................................................

7-2

7-3

RC (fX) ......................................................................................................................................

7-2

7-4

(fxt).................................................................................................................................................

7-3

7-5

(fxt)......................................................................................................................................

7-3

7-6

...................................................................................................................................

7-4

7-7

(CLKCON) ............................................................................................................

7-5

7-8

(OSCCON)...............................................................................................................

7-6

7-9

STOP (STPCON)...............................................................................................................

7-6

9-1

P0 (P0CONH)......................................................................................................

9-4

9-2

P0 (P0CONL) ......................................................................................................

9-4

9-3

P0 (P0PUR) .....................................................................................................

9-5

9-4

P0 (P0INTH).................................................................................................

9-5

9-5

P0 (P0INTL) .................................................................................................

9-6

9-6

P0 (P0PND) ............................................................................................................

9-6

9-7

P1 (P1CONH) .........................................................................................................

9-7

9-8

P1 (P1CONL) ..........................................................................................................

9-8

9-9

P2 (P2CONH)......................................................................................................

9-9

9-10

P2

(P2CONL) ..................................................................................................

9-10

9-11

P3

(P3CONH) .....................................................................................................

9-11

9-12

P3

(P3CONL) ......................................................................................................

9-12

9-13

P3

(P3INT)..............................................................................................................

9-12

9-14

P4

(P4CONH)..................................................................................................

9-13

9-15

P4

(P4CONL) ..................................................................................................

9-14

9-16

P4

(P4PUR) .................................................................................................

9-14

9-17

P5

(P5CONH)..................................................................................................

9-15

9-18

P5

(P5CONL) ..................................................................................................

9-16

9-19

P5

(P5PUR) .................................................................................................

9-16

9-20

P6

(P6CONH)..................................................................................................

9-17

9-21

P6

(P6CONL) ..................................................................................................

9-17

 

 

 

 

9-22

P7 (P7CON) ...............................................................................................................

9-18

9-23

P8, 9 (P89CON) .........................................................................................................

9-19

9-24

P10 (P10CON) ...........................................................................................................

9-20

10-1

Basic Timer (BTCON)....................................................................................................

10-2

10-2

Basic Timer ............................................................................................................................

10-4

11-1

Timer A (TACON) ..........................................................................................................

11-2

11-2

Timer A Interval ( ) ...............................................................................

11-3

11-3

Timer A PWM .............................................................................................

11-4

11-4

Timer A Capture ( ) ..............................................................................

11-5

11-5

Timer A ........................................................................................................................

11-6

11-6

Timer B ...........................................................................................................................

11-7

11-7

Timer B ........................................................................................................................

11-8

11-8

Timer B ..............................................................................................................

11-10

12-1

Timer 0 (T0CON) ...........................................................................................................

12-2

12-2

Timer 0 : ..............................................................................................................

12-3

12-3

Timer 0 : PWM ...........................................................................................................

12-4

12-4

Timer 0 : ..............................................................................................................

12-5

12-5

Timer 0 ...............................................................................................................................

12-6

12-6

Timer 1 (T1CON) ...........................................................................................................

12-8

12-7

Timer 1 : ..............................................................................................................

12-9

12-8

Timer 1 : PWM .........................................................................................................

12-10

12-9

Timer 1 : ............................................................................................................

12-11

12-10

Timer 1 ...........................................................................................................................

12-12

13-1

(WTCON)......................................................................................................

13-2

13-2

...........................................................................................................................

13-3

14-1

LCD ....................................................................................................................................

14-1

14-2

LCD ....................................................................................................................................

14-2

14-3

LCD RAM ..............................................................................................................

14-3

14-4

LCD (LCON) ..................................................................................................................

14-4

14-5

LCD (LCONST)...................................................................................................

14-5

14-6

........................................................................................................................

14-6

14-7

........................................................................................................................

14-7

14-8

...............................................................................................................................

14-8

14-9

1/2 , 1/2 / ............................................................................

14-10

14-10

1/3 , 1/3 / ..........................................................................

14-10

14-11

LCD (1/3 , 1/3 ).......................................................................................

14-11

14-12

LCD (1/4 , 1/3 ).......................................................................................

14-12

14-13

LCD (1/8 , 1/4 ).......................................................................................

14-13

14-14

LCD (1/8 , 1/4 ) ( )................................................................................

14-14

15-1

A/D (ADCON) .........................................................................................................

15-2

15-2

A/D (ADDATAH/L) ..................................................................................................

15-3

15-2

A/D ...........................................................................................................................

15-4

15-3

A/D ..................................................................................................................

15-5

 

 

 

16-1

(SIOCON) ..........................................................................................

16-2

16-2

SIO (SIOPS)...............................................................................................................

16-3

16-3

SIO ..............................................................................................................................

16-4

16-4

SIO - ( SIOCON.4 = 0) ......................................................................

16-5

16-5

SIO - ( SIOCON.4 = 1) ......................................................................

16-5

17-1

UART 0 (UART0CONH) .....................................................................................

17-3

17-2

UART 0 (UART0CONL) ......................................................................................

17-4

17-3

UART 0 (UART0DATA) .................................................................................................

17-5

17-4

UART 0 (BR0DATA) ...........................................................................................

17-5

17-5

UART 0 .......................................................................................................................

17-7

17-6

UART 0 Mode 0 .......................................................................................................

17-9

17-7

UART 0 mode 1 .....................................................................................................

17-11

17-8

UART 0 mode 2 .....................................................................................................

17-13

17-9

UART 0 mode 3 .....................................................................................................

17-15

17-10

................................................................................................................

17-17

18-1

UART 1 (UART1CONH) .....................................................................................

18-3

18-2

UART 1 (UART1CONL) ......................................................................................

18-4

18-3

UART 1 (UART1DATA) .................................................................................................

18-5

18-4

UART 1 (BR1DATA) ...........................................................................................

18-5

18-5

UART 1 .......................................................................................................................

18-7

18-6

UART 1 Mode 0 .......................................................................................................

18-9

18-7

UART 1 Mode 1 .....................................................................................................

18-11

18-8

UART 1 Mode 2 .....................................................................................................

18-13

18-9

UART 1 Mode 3 .....................................................................................................

18-15

18-10

................................................................................................................

18-17

19-1

(FMCON) .................................................................................................................

19-2

19-2

(FMUSR) ...................................................................................................

19-3

19-3

( ) ............................................................................................................

19-4

19-4

( ) ............................................................................................................

19-4

19-5

...............................................................................................................................

19-5

19-6

........................................................................................................................

19-7

20-1

...............................................................................................................................

20-1

20-2

(BLDCON).................................................................................................

20-2

20-3

....................................................................................................................

20-3

21-1

...................................................................................................................................

21-2

21-2

(FCCON).......................................................................................................

21-3

21-3

.............................................................................................................................................

21-4

22-1

...................................................................................................................................

22-1

22-2

0 (CMP0CON).......................................................................................................

22-3

22-3

1 (CMP1CON).......................................................................................................

22-4

22-4

(COUTCON) .................................................................................................

22-4

 

 

 

23-1

TACLK/T0CLK/T1CLK/FCLK

............................................................................................. 23-6

23-2

...............................................................................................................................

23-6

23-3

nRESET ..............................................................................................................................

23-7

23-4

RESET STOP ..............................................................................................................

23-8

23-5

STOP .....................................................................................................................

23-8

23-6

LVR ( ) ....................................................................................................................

23-10

23-7

.............................................................................................................................

23-12

23-8

UART ........................................................................................................................

23-13

23-9

UART .....................................................................................................................

23-14

23-10

XIN ...............................................................................................................

23-16

23-11

XTIN ...............................................................................................................

23-16

23-12

..................................................................................................................................

23-17

24-1

(100-QFP-1420C)...............................................................................................................

24-1

24-2

(100-TQFP-1414) ...............................................................................................................

24-2

25-1

S3F82HB (100-QFP-1420C) .............................................................................................

25-2

25-2

S3F82HB (100-TQFP-1414)..............................................................................................

25-3

25-3

( ) PCB ....................................................................................................

25-5

26-1

......................................................................................................................................

26-2

26-2

TB82HB ..........................................................................................................................

26-3

26-3

TB82HB 50-Pin (J101, J102)....................................................................................................

26-5

26-4

100-QFP S3E82H0 ...................................................................................................

26-6

List of Tables

Table

Title

Page

Number

 

Number

1-1

S3F82HB ................................................................................................................................

1-9

2-1

S3F82HB .....................................................................................................................

2-4

4-1

Set 1 ...........................................................................................................................................

4-1

4-2

Set 1, Bank 0 ..............................................................................................................................

4-2

4-3

Set 1, Bank 1 ..............................................................................................................................

4-3

4-4

Page 0 ........................................................................................................................................

4-4

5-1

.................................................................................................................................................

5-6

5-2

...............................................................................................................................

5-7

5-3

........................................................................................................................

5-9

6-1

..............................................................................................................................................

6-2

6-2

..............................................................................................................................................

6-3

6-3

..............................................................................................................................................

6-7

6-4

..............................................................................................................................................

6-7

6-5

.......................................................................................................................................

6-8

6-6

...................................................................................................................................

6-9

6-7

.................................................................................................................................

6-10

6-8

...................................................................................................................................................

6-11

8-1

S3F82HB Set 1 .............................................................................................

8-2

8-2

S3F82HB Set 1, Bank 0 ................................................................................

8-3

8-3

S3F82HB Set 1, Bank 1 ................................................................................

8-4

8-4

S3F82HB Page 0 ..........................................................................................

8-5

9-1

S3F82HB ............................................................................................................................

9-1

9-2

Port Data Register Summary..................................................................................................................

9-2

17-1

8 BR0DATA ............................................................................................

17-6

18-1

8 BR1DATA ..........................................................................................

18-6

19-1

ISP ......................................................................................................................................

19-6

19-2

......................................................................................................................................

19-6

20-1

BLDCON .....................................................................................................................

20-3

23-1

...............................................................................................................................

23-2

23-2

......................................................................................................................................

23-3

23-3

......................................................................................................................................

23-5

23-4

......................................................................................................................................

23-6

 

 

 

23-5

/ .....................................................................................................................................

23-7

23-6

STOP ................................................................................................................

23-7

23-7

A/D ..............................................................................................................................

23-9

23-8

Comparator ......................................................................................................................

23-10

23-9

.........................................................................................................................

23-10

23-10

....................................................................................................................

23-11

23-11

SIO ........................................................................................................................

23-11

23-12

UART 0 (12.0MHz)................................................................................................

23-13

23-13

LCD ..................................................................................................................

23-14

23-14

..................................................................................................................................

23-15

23-15

..................................................................................................................................

23-15

23-16

...............................................................................................................................

23-16

23-17

...............................................................................................................................

23-16

23-18

Flash ROM ............................................................................................................

23-17

25-1

...............................................................................................................................

25-4

25-2

..........................................................................................................................................

25-6

26-1

TB82HB .....................................................................................................................................

26-4

26-2

TB82HB ..............................................................................................................................

26-4

List of Examples

Example

Title

Page

Number

 

Number

2-1

RAM (Page 0 Page 1)..............................................................................

2-7

2-2

..........................................................................................................................

2-11

2-3

RP 80H-85H ..................................................................................

2-12

2-4

...............................................................................................................

2-16

2-5

PUSH POP .........................................................................................

2-22

5-1

..................................................................................................................

5-15

7-1

CPU ...............................................................................................................................

7-7

11-1

P0.7 38kHz, 1/3 .......................................................................

11-11

11-2

P0.7 ................................................................................................

11-12

19-1

...................................................................................................................................

19-8

19-2

........................................................................................................................................

19-10

19-3

...........................................................................................................................................

19-11

19-4

Hard Lock .....................................................................................................................

19-12

S3F82HB_ _V1.20

1

 

 

1

1.1 S3F8MCU

S3F8CPU ROMCPU

CPU

IDLE STOP

Basic Timer

8 1( 4 CPU )

1.2 S3F82HB MCU

S3F82HB CPU CMOS

S3F82HB 64K Flash ROM

SAM8

11 I/O 9 8 I/O 1 6 I/O 1 5 I/O 83

12

1 ( ) 8 basic timer

2 8 timer/counter 2 16 timer/counter

(Watch timer)

LCD /

9

SIO

16

2

1-1

S3F82HB_ _V1.20

1

 

 

1.3

1.3.1 CPU

SAM88 RC CPU

(ROM)

64K 8 (S3F82HB)

flash ( ) o (Sector) 128

o 10 o

o o 10,000 / o

o OBPTM (on board program)

(RAM)

LCD

2634 8

78

IDLE STOP

1.3.483 I/O

I/O 23

I/O 60 (LCD )

8 29

1.3.68 BASIC TIMER

4

1-2

S3F82HB_ _V1.20

1

 

 

1.3.7 8 TIMER/COUNTER A

8 timer

PWM (capture)

1.3.8 8 TIMER/COUNTER B

8 timer

1.3.9 2 16 TIMER/COUNTERS (T0 T1)

16 timer

PWM (capture)

1.3.10 (WATCH TIMER)

3.91mS 0.25S 0.5S 1S (32.768kHz)

0.5/1/2/4kHz

1.3.11 16 FREQUENCY COUNTER

1.3.12 LCD /

52 8

1/2 1/3 1/4 1/8

LCD

1.3.13A/D

8

10

25uS

1.3.142

2

1-3

S3F82HB_ _V1.20

1

 

 

1.3.15 2 UART

I/O

4

1.3.16 8 SIO

8 /

8

LSB MSB

1.3.17

3 (2.2V 2.4V 2.8V)

1.3.18 (LVR)

2.2V

smart option (ROM 3FH) /

1.3.19 2

Idle CPU

Stop CPU

1.3.20

RC

0.4MHz – 12.0MHz

32.768kHz

fx = 12.0MHz 333nS

fxt = 32.768kHz 122.1uS

2.0V - 3.6V (0.4 – 4.2MHz)

2.7V - 3.6V (0.4 – 12.0MHz)

1-4

S3F82HB_ _V1.20

1

 

 

1.3.23

sub-idle VDD = 3.0V 0.9uA

1.3.24

–25 C + 85 C

1.3.25

100-QFP-1420C 100-TQFP-1414

1.3.26SMART OPTION

(LVR) / (ROM 3FH)

ISP (ROM 3EH)

1-5

S3F82HB_ _V1.20

1

 

 

1.4

TAOUT/TAPWM/P3.5

TACAP/P3.5

TACLK/P3.4

TBPWM/P0.7

T0OUT/T0PWM/P1.2

T0CAP/P1.2

T0CLK/P1.1

T1OUT/T1PWM/P1.0

T0CAP/P1.0

T0CLK/P1.1

FCLK/P2.0

P0.0-P0.2/INT0-INT2 P0.3/INT3/BUZ P0.4/INT4/SI P0.5/INT5/SCK P0.6/INT6/SO P0.7/INT7/TBPWM

P1.0/T1OUT/T1PWM/T1CAP

P1.1/T0CLK/T1CLK P1.2/T0OUT/T0PWM/T0CAP

P1.3/TxD1

P1.4/RxD1

P2.0/AD0/FCLK

P2.1/AD1/C0OUT

P2.2/AD2/C0P

P2.3/AD3/C0N

P2.4/AD4/C1N

P2.5/AD5/C1P

P2.6/AD6/C1OUT

P2.7/AD7/VBLDREF

P3.0-P3.3/SEG52-SEG55/INT11-INT8 P3.4/SEG56/TACLK

P3.5/SEG57/TAOUT/TAPWM/TACAP P3.6/TxD0 P3.7/RxD0

P4.0-P4.7/ SEG44-SEG51

P5.0-P5.7/ SEG36-SEG43

P6.0-P6.7/ SEG28-SEG35

P7.0-P7.7/ SEG20-SEG27

X IN

XOUT

 

nRESET XTIN

XTOUT

VREG

8-Bit Timer/

 

 

 

Counter A

 

 

 

8-Bit Timer/

 

 

 

Counter B

Port I/O and Interrupt

 

16-Bit Timer/

 

Control

 

 

 

 

Counter 0

 

 

 

16-Bit Timer/

 

 

 

Counter 1

 

 

 

16-Bit

 

 

 

Frequency

 

 

 

Counter

 

 

 

I/O Port 0

SAM88RC

 

 

CPU

 

 

 

 

I/O Port 1

 

 

 

I/O Port 2

 

 

 

 

64K-byte

2,618-byte

 

ROM

Register File

I/O Port 3

 

 

 

I/O Port 4

VDD

AVREF

TEST

VSS

AVSS

 

 

 

I/O Port 5

 

 

 

I/O Port 6

 

 

 

I/O Port 7

 

 

 

 

Watchdog

 

 

 

 

 

 

Timer

 

 

 

 

 

 

Basic Timer

 

 

 

 

 

 

 

 

 

 

 

 

 

Low Voltage

 

 

 

 

 

 

Reset

 

 

 

 

 

 

 

 

 

 

 

 

 

Battery Level

 

 

 

 

VBLDREF/P2.7

 

Detector

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Watch Timer

 

 

 

 

BUZ/P0.3

 

 

 

 

 

 

 

 

 

 

 

COM0-COM1/P10.0-P10.1

 

 

 

 

 

 

 

 

 

 

 

 

COM2-COM7/SEG0-SEG5/P10.2-P10.7

 

 

 

 

 

 

 

 

 

 

 

SEG6-SEG11/P9.0-P9.5

 

 

 

 

 

 

LCD Driver/

 

 

 

 

SEG12-SEG19/P8.0-P8.7

 

 

 

 

 

 

 

 

 

SEG20-SEG27/P7.0-P7.7

 

Controller

 

 

 

 

 

 

 

 

 

SEG28-SEG35/P6.0-P6.7

 

 

 

 

 

 

 

 

 

 

 

 

SEG36-SEG43/P5.0-P5.7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SEG44-SEG51/P4.0-P4.7

 

 

 

 

 

 

 

 

 

 

 

 

SEG52-SEG57/P3.0-P3.5

 

 

 

 

 

 

 

Regulator

 

 

 

 

CA

 

 

 

 

 

and

 

 

 

 

CB

 

 

 

 

 

 

Booster

 

 

 

 

VLC0-VLC3

 

 

 

 

 

 

 

 

 

 

 

SI/P0.4

 

SIO

 

 

 

 

 

 

 

 

 

 

 

 

 

SCK/P0.5

 

 

 

 

 

 

 

 

 

 

 

SO/P0.6

 

 

 

 

 

 

 

 

 

 

 

 

TxD0/P3.6

 

UART 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RxD0/P3.7

 

 

 

 

 

 

 

 

 

 

 

 

TxD1/P1.3

 

UART 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RxD1/P1.4

 

 

 

 

 

 

 

 

 

 

 

 

AD0-AD7/

 

10-bit ADC

 

 

 

 

 

 

 

 

 

P2.0-P2.7

 

 

 

 

 

 

 

 

 

 

 

 

C0OUT/P2.1

 

Analog

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C0P/P2.2

 

Comparator 0

 

 

 

 

 

 

 

 

 

C0N/P2.3

 

 

 

 

 

 

 

 

 

 

 

 

C1OUT/P2.6

 

Analog

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C1P/P2.5

 

Comparator 1

 

 

 

 

 

 

 

 

 

C1N/P2.4

 

 

 

 

 

 

 

 

 

 

 

 

P10.0-P10.1/COM0-COM1

 

I/O Port 10

 

 

 

 

 

 

 

 

P10.2-P10.7/COM2-COM7/SEG0-SEG5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I/O Port 9

 

 

 

 

P9.0-P9.5/SEG6-SEG11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I/O Port 8

 

 

 

 

P8.0-P8.7/SEG12-SEG19

 

 

 

 

 

 

 

 

 

 

 

 

1-1

1-6

S3F82HB_ _V1.20

1

 

 

1.5

 

 

 

 

 

P4.1/SEG45

P4.0/SEG44 P5.7/SEG43 P5.6/SEG42 P5.5/SEG41 P5.4/SEG40

P5.3/SEG39 P5.2/SEG38 P5.1/SEG37 P5.0/SEG36 P6.7/SEG35 P6.6/SEG34 P6.5/SEG33 P6.4/SEG32 P6.3/SEG31 P6.2/SEG30 P6.1/SEG29 P6.0/SEG28

P7.7/SEG27 P7.6/SEG26

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

100

99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81

 

 

P4.2/SEG46

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

80

 

P7.5/SEG25

P4.3/SEG47

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

79

 

P7.4/SEG24

P4.4/SEG48

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

78

 

P7.3/SEG23

P4.5/SEG49

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

77

 

P7.2/SEG22

P4.6/SEG50

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

76

 

P7.1/SEG21

P4.7/SEG51

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

75

 

P7.0/SEG20

P3.0/SEG52/INT11

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

74

 

P8.7/SEG19

P3.1/SEG53/INT10

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

73

 

P8.6/SEG18

P3.2/SEG54/INT9

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

72

 

P8.5/SEG17

P3.3/SEG55/INT8

 

 

10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

71

 

P8.4/SEG16

P3.4/SEG56/TACLK

 

 

11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

70

 

P8.3/SEG15

P3.5/SEG57/TAOUT/TAPWM/TACAP

 

12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

69

 

P8.2/SEG14

P3.6/TxD0

 

13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

68

 

P8.1/SEG13

P3.7/RxD0

 

14

 

 

 

 

 

 

 

 

 

 

 

 

 

S3F82HB

67

 

P8.0/SEG12

VDD

 

15

 

 

 

 

 

 

 

 

 

 

 

 

 

66

 

P9.5/SEG11

VSS

 

16

 

 

 

 

 

 

 

 

 

 

 

 

(100-QFP-1420C)

65

 

P9.4/SEG10

XOUT

 

 

 

 

17

 

 

 

 

 

 

 

 

 

 

 

 

64

 

P9.3/SEG9

XIN

 

18

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

63

 

P9.2/SEG8

TEST

 

19

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

62

 

P9.1/SEG7

XTIN

 

20

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

61

 

P9.0/SEG6

XTOUT

 

21

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

60

 

P10.7/COM7/SEG5

nRESET

 

22

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

59

 

P10.6/COM6/SEG4

VREG

 

23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

58

 

P10.5/COM5/SEG3

P0.0/INT0

 

24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

57

 

P10.4/COM4/SEG2

P0.1/INT1

 

25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

56

 

P10.3/COM3/SEG1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.2/INT2

 

26

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

55

 

P10.2/COM2/SEG0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.3/INT3/BUZ

 

27

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

54

 

P10.1/COM1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.4/INT4/SI

 

28

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

53

 

P10.0/COM0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.5/INT5/SCK

 

29

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

52

 

VLC0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.6/INT6/SO

 

30

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

51

 

VLC1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.7/INT7/TBPWM

P1.0/T1OUT/T1PWM/T1CAP P1.1/T0CLK/T1CLK P1.2/T0OUT/T0PWM/T0CAP P1.3/TxD1 P1.4/RxD1

P2.0/AD0/FCLK P2.1/AD1/C0OUT P2.2/AD2/C0P P2.3/AD3/C0N P2.4/AD4/C1N P2.5/AD5/C1P P2.6/AD6/C1OUT P2.7/AD7/VBLDREF AVREF AVSS CB CA

VLC3 VLC2

 

 

1-2 S3F82HB (100-QFP-1420C )

1-7

S3F82HB_ _V1.20

1

 

 

 

 

 

 

 

P4.3/SEG47

P4.2/SEG46 P4.1/SEG45 P4.0/SEG44 P5.7/SEG43 P5.6/SEG42 P5.5/SEG41 P5.4/SEG40 P5.3/SEG39 P5.2/SEG38 P5.1/SEG37 P5.0/SEG36 P6.7/SEG35 P6.6/SEG34 P6.5/SEG33 P6.4/SEG32 P6.3/SEG31 P6.2/SEG30 P6.1/SEG29 P6.0/SEG28 P7.7/SEG27

P7.6/SEG26 P7.5/SEG25 P7.4/SEG24 P7.3/SEG23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

100

99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76

 

 

 

 

P4.4/SEG48

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

75

 

 

 

P7.2/SEG22

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P4.5/SEG49

 

 

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

74

 

 

 

P7.1/SEG21

P4.6/SEG50

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

73

 

 

 

P7.0/SEG20

P4.7/SEG51

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

72

 

 

 

P8.7/SEG19

P3.0/SEG52/INT11

 

 

 

5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

71

 

 

 

P8.6/SEG18

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.1/SEG53/INT10

 

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

70

 

 

 

P8.5/SEG17

P3.2/SEG54/INT9

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

69

 

 

 

P8.4/SEG16

P3.3/SEG55/INT8

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

68

 

 

 

P8.3/SEG15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.4/SEG56/TACLK

 

 

 

9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

67

 

 

 

P8.2/SEG14

P3.5/SEG57/TAOUT/TAPWM/TACAP

 

 

 

10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

66

 

 

 

P8.1/SEG13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.6/TxD0

 

 

 

11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

65

 

 

 

P8.0/SEG12

P3.7/RxD0

 

 

 

12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S3F82HB

64

 

 

 

P9.5/SEG11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VDD

 

 

 

13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

63

 

 

 

P9.4/SEG10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VSS

 

 

 

14

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(100-TQFP-1414)

62

 

 

 

P9.3/SEG9

XOUT

 

 

 

15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

61

 

 

 

P9.2/SEG8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XIN

 

 

 

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

60

 

 

 

P9.1/SEG7

TEST

 

 

 

17

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

59

 

 

 

P9.0/SEG6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

XTIN

 

 

 

18

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

58

 

 

 

P10.7/COM7/SEG5

XTOUT

 

 

 

19

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

57

 

 

 

P10.6/COM6/SEG4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

nRESET

 

 

 

20

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

56

 

 

 

P10.5/COM5/SEG3

VREG

 

 

 

21

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

55

 

 

 

P10.4/COM4/SEG2

P0.0/INT0

 

 

 

22

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

54

 

 

 

P10.3/COM3/SEG1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.1/INT1

 

 

 

23

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

53

 

 

 

P10.2/COM2/SEG0

P0.2/INT2

 

 

 

24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

52

 

 

 

P10.1/COM1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.3/INT3/BUZ

 

 

25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

51

 

 

 

P10.0/COM0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.4/INT4/SI

P0.5/INT5/SCK P0.6/INT6/SO P0.7/INT7/TBPWM P1.0/T1OUT/T1PWM/T1CAP P1.1/T0CLK/T1CLK P1.2/T0OUT/T0PWM/T0CAP P1.3/TxD1 P1.4/RxD1 P2.0/AD0/FCLK P2.1/AD1/C0OUT P2.2/AD2/C0P P2.3/AD3/C0N P2.4/AD4/C1N P2.5/AD5/C1P P2.6/AD6/C1OUT P2.7/AD7/VBLDREF AVREF AVSS CB CA

VLC3 VLC2 VLC1 VLC0

 

NOTE:

The sequence of pins in TQFP package is disagreement with that in QFP package.

 

1-3 S3F82HB (100-TQFP-1414 )

1-8

Loading...
+ 393 hidden pages