ST10F280 STMicroelectronics, ST10F280 Datasheet - Page 33

no-image

ST10F280

Manufacturer Part Number
ST10F280
Description
MCU 16BIT 512K FLASH MAC 208-PBG
Manufacturer
STMicroelectronics
Series
ST10r
Datasheet

Specifications of ST10F280

Core Processor
ST10
Core Size
16-Bit
Speed
40MHz
Connectivity
ASC, CAN, EBI/EMI, SSC
Peripherals
POR, PWM, WDT
Number Of I /o
143
Program Memory Size
512KB (512K x 8)
Program Memory Type
FLASH
Ram Size
18K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 32x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
208-PBGA
Processor Series
ST10F28x
Core
ST10
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST10F280
Manufacturer:
ST
0
Part Number:
ST10F280-B3
Manufacturer:
ST
Quantity:
6 221
Part Number:
ST10F280-B3
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST10F280-B3.
Manufacturer:
ST
0
Part Number:
ST10F280-Q3TR
Manufacturer:
SONY
Quantity:
26
Part Number:
ST10F280-Q3TR
Manufacturer:
ST
Quantity:
20 000
Example 3 Performing the Block Erase command
We assume that in the initialization phase the lowest 32K Bytes of Flash memory (sector 0) have been
mapped to segment 1.The registers R11/R12 contain an address related to the block to be erased
(segment number in R11, segment offset in R12, for example R11 = 01h, R12= 4000h will erase the block
1 first 8K byte block).
MOV
MOV
SXCT
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
POP
MOV
EXTS
MOV
Erase_Polling:
EXTS
MOV
JB
JNB
Erase_Error:
MOV
EXTS
MOV
...
...
...
Erase_OK:
....
....
R5, #01554h
R6, #02AA8h
DPPO, #08h
R7, #0A8h
[R5], R7
R7, #054h
[R6], R7
R7, #080h
[R5], R7
R7, #0A8h
[R5], R7
R7, #054h
[R6], R7
DPP0
R7, #030h
R11, #1
[R12], R7
R11, #1
R7, [R12]
R7.7, Erase_OK
R7.5, Erase_Polling
R7, #0F0h
R11, #1
[R12], R7
;load auxilary register R5 with command address
;(used in command cycle 1)
;load auxilary register R6 with command address
;(used in command cycle 2)
;push data page pointer 0 and load it to point ;to
;segment 2
;load register R7 with 1st CI enable command
;command cycle 1
;load register R7 with 2cd CI enable command
;command cycle 2
;load register R7 with Block Erase command
;command cycle 3
;load register R7 with 1st CI enable command
;command cycle 4
;load register R7 with 2cd CI enable command
;command cycle 5
;restore DPP0: following addressing to the Flash
;will use EXTended instructions
;R11 contains the segment of the block to be erased
;R12 contains the segment offset address of the
;block to be erased
;load register R7 with erase confirm code
;use EXTended addressing for next MOV instruction
;command cycle 6: the EPC starts execution of
;Erasing Command
;use EXTended addressing for next MOV instruction
;read Flash Status register (FSB) in R7
;Check if FSB.7 = ‘1’ (i.e. R7.7 = ‘1’)
;Check if FSB.5 = 1 (Erasing Error)
;Programming failed: Flash remains in Write
;Operation.
;To go back to normal Read operations, a Read/Reset
;command
;must be performed
;load register R7 with Read/Reset command
;use EXTended addressing for next MOV instruction
;address is don’t care for Read/Reset command
;here place specific Error handling code
;When erasing operation finished succesfully,
;Flash is set back automatically to normal Read Mode
ST10F280
33/186

Related parts for ST10F280