Benchmark ADC16 Specifications

Browse online or download Specifications for Video converters Benchmark ADC16. Benchmark ADC16 Specifications User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 141
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
March 2008 Rev. 3 1/141
ST72104Gx, ST72215Gx,
ST72216Gx, ST72254Gx
8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY,
ADC, 16-BIT TIMERS, SPI, I
2
C INTERFACES
Memories
4K or 8K bytes Program memory (ROM and
single voltage FLASH) with read-out protec
-
tion and in-situ programming (remote ISP)
256 bytes RAM
Clock, Reset and Supply Management
Enhanced reset system
Enhanced low voltage supply supervisor with
3 programmable levels
Clock sources: crystal/ceramic resonator os-
cillators or RC oscillators, external clock,
backup Clock Security System
Clock-out capability
3 Power Saving Modes: Halt, Wait and Slow
Interrupt Management
7 interrupt vectors plus TRAP and RESET
22 external interrupt lines (on 2 vectors)
22 I/O Ports
22 multifunctional bidirectional I/O lines
14 alternate function lines
8 high sink outputs
3 Timers
Configurable watchdog timer
Two 16-bit timers with: 2 input captures, 2 out-
put compares, external clock input on one tim-
er, PWM and Pulse generator modes
(one only on ST72104Gx and ST72216G1)
2 Communications Interfaces
SPI synchronous serial interface
I2C multimaster interface
(only on ST72254Gx)
1 Analog peripheral
8-bit ADC with 6 input channels
(except on ST72104Gx)
Instruction Set
8-bit data manipulation
63 basic instructions
17 main addressing modes
8 x 8 unsigned multiply instruction
True bit manipulation
Development Tools
Full hardware/software development package
Device Summary
SDIP32
SO28
Features ST72104G1 ST72104G2 ST72216G1 ST72215G2 ST72254G1 ST72254G2
Program memory - bytes 4K 8K 4K 8K 4K 8K
RAM (stack) - bytes 256 (128)
Peripherals
Watchdog timer,
One 16-bit timer,
SPI
Watchdog timer,
One 16-bit timer,
SPI, ADC
Watchdog timer,
Two 16-bit timers,
SPI, ADC
Watchdog timer,
Two 16-bit timers,
SPI, I²C, ADC
Operating Supply 3.2V to 5.5 V
CPU Frequency Up to 8 MHz (with oscillator up to 16 MHz)
Operating Temperature 0°C to 70°C / -10°C to +85°C (-40°C to +85°C / -40°C to105°C / -40°C to 125°C optional)
Packages SO28 / SDIP32
1
Page view 0
1 2 3 4 5 6 ... 140 141

Summary of Contents

Page 1 - ST72216Gx, ST72254Gx

March 2008 Rev. 3 1/141ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, ADC, 16-BIT TIMERS, SPI, I2C INTERFACES

Page 2 - Table of Contents

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx10/1413 REGISTER & MEMORY MAPAs shown in the Figure 4, the MCU is capable of addressing 64K bytes of mem

Page 3

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx100/141OPERATING CONDITIONS (Cont’d)13.3.2 Operating Conditions with Low Voltage Detector (LVD) Subject to g

Page 4

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx101/141FUNCTIONAL OPERATING CONDITIONS (Cont’d)Figure 56. High LVD Threshold Versus VDD and fOSC for ROM dev

Page 5

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx102/14113.4 SUPPLY CURRENT CHARACTERISTICSThe following current consumption specified for the ST7 functional

Page 6 - 1 INTRODUCTION

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx103/141SUPPLY CURRENT CHARACTERISTICS (Cont’d)13.4.2 WAIT and SLOW WAIT Modes Figure 61. Typical IDD in WAIT

Page 7 - 2 PIN DESCRIPTION

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx104/141SUPPLY CURRENT CHARACTERISTICS (Cont’d)13.4.3 HALT Mode 13.4.4 Supply and Clock ManagersThe previous

Page 8

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx105/14113.5 CLOCK AND TIMING CHARACTERISTICSSubject to general operating conditions for VDD, fOSC, and TA.13

Page 9

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx106/141CLOCK AND TIMING CHARACTERISTICS (Cont’d)13.5.3 Crystal and Ceramic Resonator OscillatorsThe ST7 inte

Page 10 - 3 REGISTER & MEMORY MAP

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx107/141CLOCK AND TIMING CHARACTERISTICS (Cont’d)13.5.3.2 Typical Ceramic ResonatorstSU(OSC) is the typical o

Page 11

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx108/141CLOCK AND TIMING CHARACTERISTICS (Cont’d)Figure 65. Typical Application with Ceramic ResonatorNotes:1

Page 12

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx109/141CLOCK AND TIMING CHARACTERISTICS (Cont’d)Table 22. Ceramic Resonator Frequency Correlation Factor1 No

Page 13 - 4 FLASH PROGRAM MEMORY

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx11/141Table 2. Hardware Register MapAddress BlockRegister LabelRegister NameReset StatusRemarks0000h0001h000

Page 14 - 5 CENTRAL PROCESSING UNIT

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx110/141CLOCK CHARACTERISTICS (Cont’d)13.5.4 RC OscillatorsThe ST7 internal clock can be supplied with an RC

Page 15 - 1 1 1 H I N Z C

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx111/141CLOCK CHARACTERISTICS (Cont’d)13.5.5 Clock Security System (CSS) Figure 69. Typical Safe Oscillator

Page 16 - 0 SP6 SP5 SP4 SP3 SP2 SP1 SP0

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx112/14113.6 MEMORY CHARACTERISTICSSubject to general operating conditions for VDD, fOSC, and TA unless other

Page 17 - ■ Clock Security System (CSS)

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx113/14113.7 EMC CHARACTERISTICSSusceptibility tests are performed on a sample ba-sis during product characte

Page 18

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx114/141EMC CHARACTERISTICS (Cont’d)13.7.2 Absolute Electrical SensitivityBased on three different tests (ESD

Page 19 - INTERNAL

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx115/141EMC CHARACTERISTICS (Cont’d)13.7.2.2 Static and Dynamic Latch-Up LU: 3 complementary static tests ar

Page 20

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx116/141EMC CHARACTERISTICS (Cont’d)13.7.3 ESD Pin Protection StrategyTo protect an integrated circuit agains

Page 21 - OSC1 OSC2

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx117/141EMC CHARACTERISTICS (Cont’d)True Open Drain Pin ProtectionThe centralized protection (4) is not invol

Page 22

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx118/14113.8 I/O PORT PIN CHARACTERISTICS13.8.1 General CharacteristicsSubject to general operating condition

Page 23 - . interrupt enable

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx119/141I/O PORT PIN CHARACTERISTICS (Cont’d)13.8.2 Output Driving Current Subject to general operating condi

Page 24

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx12/141Legend: x=undefined, R/W=read/writeNotes:1. The contents of the I/O port DR registers are readable onl

Page 25 - 7 INTERRUPTS

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx120/141I/O PORT PIN CHARACTERISTICS (Cont’d)Figure 83. Typical VOL vs. VDD (standard I/Os)Figure 84. Typical

Page 26 - Table 5. Interrupt Mapping

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx121/14113.9 CONTROL PIN CHARACTERISTICS13.9.1 Asynchronous RESET PinSubject to general operating conditions

Page 27 - 8 POWER SAVING MODES

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx122/141CONTROL PIN CHARACTERISTICS (Cont’d)Figure 87. Typical ION vs. VDD with VIN=VSSFigure 88. Typical VOL

Page 28

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx123/141CONTROL PIN CHARACTERISTICS (Cont’d)13.9.2 ISPSEL PinSubject to general operating conditions for VDD,

Page 29

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx124/14113.10 TIMER PERIPHERAL CHARACTERISTICSSubject to general operating conditions for VDD, fOSC, and TA u

Page 30 - 9 I/O PORTS

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx125/14113.11 COMMUNICATION INTERFACE CHARACTERISTICS13.11.1 SPI - Serial Peripheral InterfaceSubject to gene

Page 31

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx126/141COMMUNICATION INTERFACE CHARACTERISTICS (Cont’d)Figure 92. SPI Slave Timing Diagram with CPHA=11)Figu

Page 32 - PUSH-PULL OUTPUT

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx127/141COMMUNICATION INTERFACE CHARACTERISTICS (Cont’d)13.11.2 I2C - Inter IC Control InterfaceSubject to ge

Page 33

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx128/14113.12 8-BIT ADC CHARACTERISTICSSubject to general operating conditions for VDD, fOSC, and TA unless o

Page 34

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx129/1418-BIT ADC CHARACTERISTICS (Cont’d)ADC Accuracy Figure 96. ADC Accuracy CharacteristicsNotes:1. ADC Ac

Page 35 - I/O PORTS (Cont’d)

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx13/1414 FLASH PROGRAM MEMORY4.1 INTRODUCTIONFLASH devices have a single voltage non-volatile FLASH memory th

Page 36 - 10 MISCELLANEOUS REGISTERS

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx130/14114 PACKAGE CHARACTERISTICS14.1 PACKAGE MECHANICAL DATA Figure 97. 32-Pin Shrink Plastic Dual In Line

Page 37

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx131/14114.2 THERMAL CHARACTERISTICS Notes:1. The power dissipation is obtained from the formula PD=PINT+PPO

Page 38

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx132/14114.3 SOLDERING INFORMATIONIn order to meet environmental requirements, ST offers these devices in ECO

Page 39 - 11 ON-CHIP PERIPHERALS

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx133/14115 DEVICE CONFIGURATION AND ORDERING INFORMATIONEach device is available for production in user pro-g

Page 40

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx134/14115.2 DEVICE ORDERING INFORMATION AND TRANSFER OF CUSTOMER CODECustomer code is made up of the ROM con

Page 41 - WATCHDOG TIMER (Cont’d)

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx135/141TRANSFER OF CUSTOMER CODE (Cont’d) MICROCONTROLLER OPTION LISTCustomer . . . . . . . . . . . . . . .

Page 42

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx136/14115.3 DEVELOPMENT TOOLSSTmicroelectronics offers a range of hardware and software development tools fo

Page 43 - 16-BIT TIMER (Cont’d)

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx137/141DEVELOPMENT TOOLS (Cont’d)15.3.1 PACKAGE/SOCKET FOOTPRINT PROPOSALTable 28. Suggested List of SDIP32

Page 44 - Returns the buffered

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx138/14115.4 ST7 APPLICATION NOTES IDENTIFICATION DESCRIPTIONEXAMPLE DRIVERSAN 969 SCI COMMUNICATION BETWEEN

Page 45

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx139/141AN 982 USING ST7 WITH CERAMIC RESONATORAN1014 HOW TO MINIMIZE THE ST7 POWER CONSUMPTIONAN1015 SOFTWAR

Page 46 - /CC[1:0])

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx14/1415 CENTRAL PROCESSING UNIT5.1 INTRODUCTIONThis CPU has a full 8-bit architecture and contains six inter

Page 47 - 16-BIT FREE RUNNING

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx140/14116 SUMMARY OF CHANGESDescription of the changes between the current release of the specification and

Page 48 - ∆ OCiR = ∆t

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx141/141Please Read Carefully:Information in this document is provided solely in connection with ST products.

Page 49

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx15/141CPU REGISTERS (cont’d)CONDITION CODE REGISTER (CC) Read/WriteReset Value: 111x1xxxThe 8-bit Condition

Page 50

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx16/141CENTRAL PROCESSING UNIT (Cont’d)Stack Pointer (SP)Read/WriteReset Value: 01 7FhThe Stack Pointer is a

Page 51

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx17/1416 SUPPLY, RESET AND CLOCK MANAGEMENTThe ST72104G, ST72215G, ST72216G and ST72254G microcontrollers inc

Page 52

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx18/1416.1 LOW VOLTAGE DETECTOR (LVD)To allow the integration of power management features in the application

Page 53

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx19/1416.2 RESET SEQUENCE MANAGER (RSM)6.2.1 IntroductionThe reset sequence manager includes three RE-SET sou

Page 54

Table of Contents1412/14121 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 55

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx20/141RESET SEQUENCE MANAGER (Cont’d)6.2.2 Asynchronous External RESET pinThe RESET pin is both an input and

Page 56

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx21/1416.3 MULTI-OSCILLATOR (MO)The main clock of the ST7 can be generated by four different source types com

Page 57

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx22/1416.4 CLOCK SECURITY SYSTEM (CSS)The Clock Security System (CSS) protects the ST7 against main clock pro

Page 58

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx23/1416.5 CLOCK RESET AND SUPPLY REGISTER DESCRIPTION (CRSR)Read / WriteReset Value: 000x 000x (XXh) Bit 7:5

Page 59

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx24/1416.6 MAIN CLOCK CONTROLLER (MCC)The Main Clock Controller (MCC) supplies the clock for the ST7 CPU and

Page 60

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx25/1417 INTERRUPTSThe ST7 core may be interrupted by one of two dif-ferent methods: maskable hardware interr

Page 61

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx26/141INTERRUPTS (Cont’d)Figure 15. Interrupt Processing FlowchartTable 5. Interrupt Mapping Note1. Configur

Page 62

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx27/1418 POWER SAVING MODES8.1 INTRODUCTIONTo give a large measure of flexibility to the applica-tion in term

Page 63

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx28/141POWER SAVING MODES (Cont’d)8.3 WAIT MODEWAIT mode places the MCU in a low power con-sumption mode by s

Page 64

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx29/141POWER SAVING MODES (Cont’d)8.4 HALT MODEThe HALT mode is the lowest power consumption mode of the MCU.

Page 65 - VR02131B

Table of Contents3/14139.4 LOW POWER MODES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349.5

Page 66

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx30/1419 I/O PORTS9.1 INTRODUCTIONThe I/O ports offer different functional modes:– transfer of data through d

Page 67

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx31/141I/O PORTS (Cont’d)Figure 21. I/O Port General Block DiagramTable 6. I/O Port Mode OptionsLegend: NI -

Page 68

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx32/141I/O PORTS (Cont’d)Table 7. I/O Port Configurations Notes:1. When the I/O port is in input configuratio

Page 69

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx33/141I/O PORTS (Cont’d)CAUTION: The alternate function must not be ac-tivated as long as the pin is configu

Page 70

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx34/141I/O PORTS (Cont’d)9.4 LOW POWER MODES 9.5 INTERRUPTSThe external interrupt event generates an interrup

Page 71 - D7 D6 D5 D4 D3 D2 D1 D0

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx35/141I/O PORTS (Cont’d)Table 9. I/O Port Register Map and Reset ValuesAddress(Hex.)Register Label7 6 5 4 3

Page 72

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx36/14110 MISCELLANEOUS REGISTERSThe miscellaneous registers allow control over several different features su

Page 73 - VR02119B

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx37/141MISCELLANEOUS REGISTERS (Cont’d)10.3 MISCELLANEOUS REGISTER DESCRIPTIONMISCELLANEOUS REGISTER 1 (MISCR

Page 74

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx38/141MISCELLANEOUS REGISTERS (Cont’d)MISCELLANEOUS REGISTER 2 (MISCR2)Read / WriteReset Value: 0000 0000 (0

Page 75

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx39/14111 ON-CHIP PERIPHERALS11.1 WATCHDOG TIMER (WDG)11.1.1 IntroductionThe Watchdog timer is used to detect

Page 76

Table of Contents1414/14112 INSTRUCTION SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 77

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx40/141WATCHDOG TIMER (Cont’d)Table 11. Watchdog Timing (fCPU = 8 MHz)Notes: Following a reset, the watchdog

Page 78

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx41/141WATCHDOG TIMER (Cont’d)Table 12. Watchdog Timer Register Map and Reset Values Address(Hex.)Register La

Page 79

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx42/14111.2 16-BIT TIMER11.2.1 IntroductionThe timer consists of a 16-bit free-running counter driven by a pr

Page 80

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx43/14116-BIT TIMER (Cont’d)Figure 26. Timer Block DiagramMCU-PERIPHERAL INTERFACECOUNTERALTERNATEOUTPUTCOMPA

Page 81

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx44/14116-BIT TIMER (Cont’d)16-bit Read Sequence: (from either the Counter Register or the Alternate Counter

Page 82 - 0 0 0 AF STOPF ARLO BERR GCAL

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx45/14116-BIT TIMER (Cont’d)Figure 27. Counter Timing Diagram, internal clock divided by 2Figure 28. Counter

Page 83

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx46/14116-BIT TIMER (Cont’d)11.2.3.3 Input CaptureIn this section, the index, i, may be 1 or 2 because there

Page 84 - 6 to 8 MHz 0 1

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx47/14116-BIT TIMER (Cont’d)Figure 30. Input Capture Block DiagramFigure 31. Input Capture Timing DiagramICIE

Page 85 - Table 17. I

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx48/14116-BIT TIMER (Cont’d)11.2.3.4 Output Compare In this section, the index, i, may be 1 or 2 because ther

Page 86 - CH2 CH1CH3COCO 0 ADON 0 CH0

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx49/14116-BIT TIMER (Cont’d)Notes:1. After a processor write cycle to the OCiHR reg-ister, the output compare

Page 87 - ■ A/D conversion [duration: t

Table of Contents5/14113.9.1 Asynchronous RESET Pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12113.9.2 ISPS

Page 88 - COCO 0 ADON 0 CH3 CH2 CH1 CH0

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx50/14116-BIT TIMER (Cont’d)Figure 33. Output Compare Timing Diagram, fTIMER = fCPU/2Figure 34. Output Compar

Page 89

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx51/14116-BIT TIMER (Cont’d)11.2.3.5 One Pulse ModeOne Pulse mode enables the generation of a pulse when an e

Page 90 - 12 INSTRUCTION SET

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx52/14116-BIT TIMER (Cont’d)Figure 35. One Pulse Mode Timing ExampleFigure 36. Pulse Width Modulation Mode Ti

Page 91

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx53/14116-BIT TIMER (Cont’d)11.2.3.6 Pulse Width Modulation ModePulse Width Modulation (PWM) mode enables the

Page 92 - , of which the ad

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx54/14116-BIT TIMER (Cont’d)11.2.4 Low Power Modes 11.2.5 Interrupts Note: The 16-bit Timer interrupt events

Page 93

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx55/14116-BIT TIMER (Cont’d)11.2.7 Register DescriptionEach Timer is associated with three control and status

Page 94 - INSTRUCTION GROUPS (Cont’d)

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx56/14116-BIT TIMER (Cont’d)CONTROL REGISTER 2 (CR2)Read/WriteReset Value: 0000 0000 (00h)Bit 7 = OC1E Output

Page 95

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx57/14116-BIT TIMER (Cont’d)STATUS REGISTER (SR)Read OnlyReset Value: 0000 0000 (00h)The three least signific

Page 96 - 13 ELECTRICAL CHARACTERISTICS

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx58/14116-BIT TIMER (Cont’d)OUTPUT COMPARE 2 HIGH REGISTER (OC2HR)Read/Write Reset Value: 1000 0000 (80h)This

Page 97

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx59/14116-BIT TIMER (Cont’d)Table 14. 16-Bit Timer Register Map and Reset Values Address(Hex.)Register Label7

Page 98

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx6/1411 INTRODUCTIONThe ST72104G, ST72215G, ST72216G and ST72254G devices are members of the ST7 mi-crocontro

Page 99 - Figure 52. f

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx60/14111.3 SERIAL PERIPHERAL INTERFACE (SPI)11.3.1 Introduction The Serial Peripheral Interface (SPI) allows

Page 100

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx61/141SERIAL PERIPHERAL INTERFACE (Cont’d)Figure 38. Serial Peripheral Interface Block Diagram DR Read Buffe

Page 101

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx62/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.4 Functional DescriptionFigure 1 shows the serial peripheral

Page 102

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx63/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.4.2 Slave ConfigurationIn slave configuration, the serial clo

Page 103

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx64/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.4.3 Data Transfer FormatDuring an SPI transfer, data is simul

Page 104

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx65/141SERIAL PERIPHERAL INTERFACE (Cont’d)Figure 40. Data Clock Timing DiagramCPOL = 1)CPOL = 0)MISO(from ma

Page 105

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx66/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.4.4 Write Collision ErrorA write collision occurs when the so

Page 106

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx67/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.4.5 Master Mode FaultMaster mode fault occurs when the master

Page 107

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx68/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.4.7 Single Master and Multimaster ConfigurationsThere are two

Page 108

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx69/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.5 Low Power Modes11.3.6 Interrupts Note: The SPI interrupt ev

Page 109

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx7/1412 PIN DESCRIPTION Figure 2. 28-Pin SO Package PinoutFigure 3. 32-Pin SDIP Package Pinout151617181920282

Page 110

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx70/141SERIAL PERIPHERAL INTERFACE (Cont’d)11.3.7 Register DescriptionCONTROL REGISTER (CR)Read/WriteReset Va

Page 111

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx71/141SERIAL PERIPHERAL INTERFACE (Cont’d)STATUS REGISTER (SR)Read OnlyReset Value: 0000 0000 (00h)Bit 7 = S

Page 112

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx72/141SERIAL PERIPHERAL INTERFACE (Cont’d)Table 16. SPI Register Map and Reset Values Address(Hex.)Register

Page 113

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx73/14111.4 I2C BUS INTERFACE (I2C)11.4.1 IntroductionThe I2C Bus Interface serves as an interface be-tween t

Page 114 - ESD(HBM)

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx74/141I2C BUS INTERFACE (Cont’d)Acknowledge may be enabled and disabled by software.The I2C interface addres

Page 115

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx75/141I2C BUS INTERFACE (Cont’d)11.4.4 Functional DescriptionRefer to the CR, SR1 and SR2 registers in Secti

Page 116

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx76/141to correctly handle a second interrupt during the 9th pulse of a transmitted byte.Note: In both cases,

Page 117

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx77/141I2C BUS INTERFACE (Cont’d)Master TransmitterFollowing the address transmission and after SR1 register

Page 118 - UNUSED I/O PORT

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx78/141I2C BUS INTERFACE (Cont’d)Figure 45. Transfer SequencingLegend: S=Start, Sr = Repeated Start, P=Stop,

Page 119

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx79/141I2C BUS INTERFACE (Cont’d)11.4.5 Low Power Modes11.4.6 InterruptsFigure 46. Event Flags and Interrupt

Page 120

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx8/141PIN DESCRIPTION (Cont’d)For external pin connection guidelines, refer to Section 13 "ELECTRICAL CH

Page 121 - OPTIONAL

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx80/141I2C BUS INTERFACE (Cont’d)11.4.7 Register DescriptionI2C CONTROL REGISTER (CR) Read / Write Reset Valu

Page 122

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx81/141I2C BUS INTERFACE (Cont’d)I2C STATUS REGISTER 1 (SR1) Read Only Reset Value: 0000 0000 (00h)Bit 7 = EV

Page 123

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx82/141I2C BUS INTERFACE (Cont’d)Bit 1 = M/SL Master/Slave. This bit is set by hardware as soon as the interf

Page 124

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx83/141I2C BUS INTERFACE (Cont’d)I2C CLOCK CONTROL REGISTER (CCR) Read / Write Reset Value: 0000 0000 (00h)Bi

Page 125

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx84/141I2C BUS INTERFACE (Cont’d)I2C OWN ADDRESS REGISTER (OAR1) Read / Write Reset Value: 0000 0000 (00h)7-b

Page 126

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx85/141I²C BUS INTERFACE (Cont’d)Table 17. I2C Register Map and Reset Values Address(Hex.)Register Label7 6

Page 127 - REPEATED START

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx86/14111.5 8-BIT A/D CONVERTER (ADC)11.5.1 IntroductionThe on-chip Analog to Digital Converter (ADC) pe-riph

Page 128

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx87/1418-BIT A/D CONVERTER (ADC) (Cont’d)11.5.3.2 Digital A/D Conversion ResultThe conversion is monotonic, m

Page 129 - ADC Accuracy

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx88/1418-BIT A/D CONVERTER (ADC) (Cont’d)11.5.6 Register DescriptionCONTROL/STATUS REGISTER (CSR)Read / Write

Page 130 - 14 PACKAGE CHARACTERISTICS

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx89/1418-BIT A/D CONVERTER (ADC) (Cont’d)Table 18. ADC Register Map and Reset Values Address(Hex.)Register La

Page 131

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx9/141Notes:1. In the interrupt input column, “eiX” defines the associated external interrupt vector. If the

Page 132

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx90/14112 INSTRUCTION SET 12.1 ST7 ADDRESSING MODESThe ST7 Core features 17 different addressing modes which

Page 133

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx91/141ST7 ADDRESSING MODES (Cont’d)12.1.1 InherentAll Inherent instructions consist of a single byte. The op

Page 134

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx92/141ST7 ADDRESSING MODES (Cont’d)12.1.6 Indirect Indexed (Short, Long)This is a combination of indirect an

Page 135

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx93/14112.2 INSTRUCTION GROUPSThe ST 7 family devices use an Instruction Set consisting of 63 instructions. T

Page 136

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx94/141INSTRUCTION GROUPS (Cont’d)Mnemo Description Function/Example Dst Src H I N Z CADC Add with Carry A =

Page 137 - DEVELOPMENT TOOLS (Cont’d)

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx95/141INSTRUCTION GROUPS (Cont’d)Mnemo Description Function/Example Dst Src H I N Z CJRULE Jump if (C + Z =

Page 138 - 15.4 ST7 APPLICATION NOTES

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx96/14113 ELECTRICAL CHARACTERISTICS13.1 PARAMETER CONDITIONSUnless otherwise specified, all voltages are re-

Page 139

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx97/14113.2 ABSOLUTE MAXIMUM RATINGSStresses above those listed as “absolute maxi-mum ratings” may cause perm

Page 140 - 16 SUMMARY OF CHANGES

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx98/14113.3 OPERATING CONDITIONS13.3.1 General Operating Conditions Figure 51. fOSC Maximum Operating Frequen

Page 141

ST72104Gx, ST72215Gx, ST72216Gx, ST72254Gx99/141OPERATING CONDITIONS (Cont’d)Figure 52. fOSC Maximum Operating Frequency Versus VDD Supply Voltage for

Comments to this Manuals

No comments