ST10F276-4T3 STMicroelectronics, ST10F276-4T3 Datasheet - Page 43

no-image

ST10F276-4T3

Manufacturer Part Number
ST10F276-4T3
Description
MCU 16BIT 832K FLASH 144-LQFP
Manufacturer
STMicroelectronics
Series
ST10r
Datasheet

Specifications of ST10F276-4T3

Core Processor
ST10
Core Size
16-Bit
Speed
40MHz
Connectivity
ASC, CAN, EBI/EMI, I²C, SSC, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
111
Program Memory Size
832KB (832K x 8)
Program Memory Type
FLASH
Ram Size
68K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 24x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
144-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST10F276-4T3
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
ST10F276-4T3
Manufacturer:
ST
0
ST10F276E
Erase suspend, program and resume
A Sector Erase operation can be suspended in order to program (Word or Double Word)
another sector.
Example: Sector Erase of sector B3F1 of Bank 3 in XFLASH Module.
Example: Sector Erase Suspend.
Example: Word Program of data 0x5555AAAA at address 0x0C5554 in XFLASH module.
Once the Program operation is finished, the Erase operation can be resumed in the
following way:
Notice that during the Program Operation in Erase suspend, bits SER and SUSP are low. A
Word or Double Word Program during Erase Suspend cannot be suspended.
To summarize:
Set protection
Example 1: Enable Write Protection of sectors B0F3-0 of Bank 0 in IFLASH module.
Notice that bit SMOD of FCR0H must not be set, since Write Protection bits of IFLASH
Module are stored in Test-Flash (XFLASH Module).
FCR0H|= 0x0800;/*Set SER in FCR0H*/
FCR1H|= 0x0002;/*Set B3F1*/
FCR0H|= 0x8000;/*Operation start*/
FCR0H|= 0x4000;/*Set SUSP in FCR0H*/
do
{tmp1 = FCR0L;
} while ((tmp1 && 0x0010) || (tmp2 && 0x8000));
FCR0H&= 0xBFFF;/*Rst SUSP in FCR0H*/
FCR0H|= 0x2000;/*Set WPG in FCR0H*/
FARL = 0x5554; /*Load Add in FARL*/
FARH = 0x000C; /*Load Add in FARH*/
FDR0L = 0xAAAA; /*Load Data in FDR0L*/
FDR0H = 0x5555; /*Load Data in FDR0H*/
FCR0H|= 0x8000; /*Operation start*/
FCR0H|= 0x0800;/*Set SER in FCR0H*/
FCR0H|= 0x8000;/*Operation resume*/
FCR0H|= 0x0100;/*Set SPR in FCR0H*/
FARL = 0xDFB4;/*Load Add of register FNVWPIRL in FARL*/
FARH = 0x000E;/*Load Add of register FNVWPIRL in FARH*/
FDR0L = 0xFFF0;/*Load Data in FDR0L*/
FDR0H = 0xFFFF;/*Load Data in FDR0H*/
FCR0H|= 0x8000;/*Operation start*/
tmp2 = FCR0H;
A Sector Erase can be suspended by setting SUSP bit
To perform a Word Program operation during Erase Suspend, firstly bits SUSP and
SER must be reset, then bit WPG and WMS can be set
To resume the Sector Erase operation bit SER must be set again
In any case it is forbidden to start any write operation with SUSP bit already set
/*Loop to wait for LOCK=0 and WMS=0*/
Internal Flash memory
43/231

Related parts for ST10F276-4T3