ST10F168SQ6 STMicroelectronics, ST10F168SQ6 Datasheet - Page 17

no-image

ST10F168SQ6

Manufacturer Part Number
ST10F168SQ6
Description
MCU 256KB FLASH 12K RAM 144-TQFP
Manufacturer
STMicroelectronics
Series
ST10r
Datasheets

Specifications of ST10F168SQ6

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST10F168SQ6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
ST10F168SQ6 ST10F168-Q3
Manufacturer:
ST
0
Programming a block of data
The following code is provided as an example to program a block of data. Flash to be programmed is from
address 01’9000h to 01’9FFEh (included). Source data (data to be copied into flash) is located in external
RAM from address 05’1000h (to 05’1FFEh, implicitly) :
; code shown below assumes that flash is mapped in segment 1
; ie. bit ROMS1 = ‘1’ in SYSCON register
; Flash must be enabled, ie. bit ROMEN = ‘1’ in SYSCON.
MOV
OR
MOV
MOV
MOV
SCXT
MOV
MOV
#define FCR 08000h
EXTS
MOV
MOV
NOP
NOP
POP
R0, #0AA50h
R0, #01h
R1, #09000h
R2, #09FFEh
R3, #09000h
DPP2,#20d
R4, #050d
R7, #08000h
#1, #2
FCR, R7
[R7], R7
DPP2
; AA5xh : Multi Word programming command
; Selects segment 1 in Flash memory
; First Flash Segment Offset Address
; Last Flash Segment Offset Address
; Source data address: use DPP2 as
; data page pointer
; Source is in page 20 (first page of
; segment 5): save previous DPP2 value
; and load it with source page number
; 50ns is 20MHz CPU clock frequency
; R7 used for Flash trigger sequence
; Flash can be mapped in segment 0 or 1
; first part
; second part
; WARNING: place 2 NOP operations after
; the Unlock sequence to avoid all possible
; pipeline conflicts in STEAK programs
; restore DPP2
ST10F168
17/74

Related parts for ST10F168SQ6