ST72F264G2B6 STMicroelectronics, ST72F264G2B6 Datasheet - Page 135

MCU 8-BIT 8K FLASH 32-SDIP

ST72F264G2B6

Manufacturer Part Number
ST72F264G2B6
Description
MCU 8-BIT 8K FLASH 32-SDIP
Manufacturer
STMicroelectronics
Series
ST7r
Datasheets

Specifications of ST72F264G2B6

Mfg Application Notes
ST7 Checksum Capability, AN1070 App Note
Core Processor
ST7
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SCI, SPI
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-SDIP (0.400", 10.16mm)
Processor Series
ST72F2x
Core
ST7
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, SCI, SPI
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
22
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Development Tools By Supplier
ST7F264-IND/USB, ST72F34X-SK/RAIS, ST7MDT10-DVP3, ST7MDT10-EMU3, STX-RLINK
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 6 Channel
For Use With
497-6423 - BOARD EVAL BASED ON ST72264G1497-5046 - KIT TOOL FOR ST7/UPSD/STR7 MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
497-5570

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72F264G2B6
Manufacturer:
ST
Quantity:
10
Part Number:
ST72F264G2B6
Manufacturer:
NEC
Quantity:
6 097
Part Number:
ST72F264G2B6
Manufacturer:
ST
Quantity:
20 000
EXAMPLE:
The following C program shows the use of the TIMERx functions. Here, x=A as TIMERA is
used. You must define TIMERA in ST7lib_config.h.
Program description:
It compares the output compare2 register value with the free running counter, checks the oc-
currence of (event) leading edge at ICAP2 pin. It generates PWM signal with a frequency of
10KHz and a Duty cycle of 33% on the OCMP1 pin, if _Enable_PWM_ is defined in
ST7lib_confi.h or it generates a 5ms pulse at OCMP1 pin, if _Enable_OPM_ is defined in
ST7lib_config.h (Fcpu = 8 MHz).
/* Program start */
#include "st7lib_config.h"
//prototype declaration
void main(void);
void TIMERA_IT_Routine(void);
void main(void)
{
}
/* Program end */
/* ----------------------------------------------------------------------------
ROUTINE NAME : TIMERA_IT_Routine
INPUT
OUTPUT
unsigned int OCR_VALUE = 0x2050;
IO_Input (IO_FLOATING,IO_PORT_F,((unsigned char)IO_PIN_5 | (unsigned char)
TIMERA_Init (TIMER_FCPU_8);
EnableInterrupts
/* Timer compares 0x2050 with free running counter
TIMERA_OCMP_Mode(TIMER_OCMP_2,OCR_VALUE,TIMER_OUTPUT_R );
while(!(TIMERA_Status_Flag(TIMER_FLAG_OCF2)== TRUE));
TIMERA_Clear_Flag(TIMER_FLAG_OCF2);
TIMERA_IT_Enable(TIMER_ICAP_IT_ENABLE);
TIMERA_ICAP_Mode(TIMER_ICAP_2,TIMER_EDGE_1);
/* Run TIMERA in PWM mode if _Enable_PWM_ is defined
#ifdef _Enable_PWM_
TIMERA_PWM_Mode(TIMER_OUTPUT1_F,TIMER_OUTPUT2_R,(unsigned int)0x001C,
#endif
/* Run TIMERA in OPM mode if _Enable_OPM_ is defined
#ifdef _Enable_OPM_
TIMERA_Clear_Flag(TIMER_FLAG_ICF1);
TIMERA_Mode_Disable(TIMER_MODE_5);
TIMERA_OPM_Mode(TIMER_EDGE_1,TIMER_OUTPUT1_F,TIMER_OUTPUT2_R,
#endif
while(1);
: None
: None
/* Timer Clock to Fcpu/8 and reset counter */
/* ICAP1,ICAP2 pins asloating input */
(unsigned int)0x1383);
/*Detect rising edge at ICAP2 pin*/
/* Clear output compare2 flag */
/* Clear Input capture1 Flag */
/* Enable capture interrupt */
(unsigned int)0x005F);
/* Clear I bit in CC reg */
Function Descriptions
/* For testing only */
*/
*/
*/
IO_PIN_6));
/* Generate PWM */
/* Disable PWM */
/* 5ms pulse */
135/235

Related parts for ST72F264G2B6