The ST10F276 is a new derivative of the STMicroelectronics ST10 family of 16-bit single-chip CMOS
microcontrollers. This document aims to describe the differences between the ST10F168 and ST10F276
and is intended for hardware or software designers who are adapting existing applications based on the
ST10F168 to the ST10F276.
This document will present the modified functionalities of the ST10F276, then the new ones before
looking at the modified and new registers. For each part, the differences with the ST10F168 that have an
impact will be shown and some advice on the way they can be handled will be given.
A23 segment address line
CAN2_TxD CAN2 TransmitData Output
SDA I2C Interface Serial Data
& V
EA
STBY
5/33
A21 segment address line
CAN_RxD CAN Receive Data Input
A22 segment address line
CAN_TxD CAN TransmitData Output
A23 segment address line
EA
V
ss
Modified featuresAN2169
Pin no.ST10F276 pin functionST10F168 pin function
V
144XTAL4
84RPDVpp / RPD
56V18 1.8v decoupling pin
Digital supply voltage
DD
V
digital supply voltage
DD
1.1.2 Pin 99
On the ST10F168, pin 99 is EA and used upon reset to select the start from internal flash or
external memory.
Now, on the ST10F276, it has an the additional function of providing the 5V power supply to the
device in standby mode (new power saving mode) and is therefore named EA
Hardware impact
For an application not using the Stand by mode, no change is required on the PCB. However,
for the application to use it , the EA
- V
pin must be separated from the common 5v and
STBY
have a specific supply path.
Software impact
- V
STBY
.
None.
1.1.3 Pins 143 & 144
These pins were a Vss-VDD pair in the ST10F168. Now, on the ST10F276, they are used as
XTAL3-XTAL4 pair for connection to an optional 32Khz crystal to clock the device during powerdown.
Hardware impact
PCB must be redesigned. In case the optional 32Khz is not used, XTAL3 must be linked to
ground as it was in the ST10F168 but XTAL4 shall be left open.
Software impact
In case the optional 32Khz is not used, the bit OFF32 of the RTCCON register shall be set.
Prior to setting the OFF32 bit in RTCCON register, the RTC must be enabled by setting
RTCEN, bit 4 of XPERCON, and XPEN, bit3 of SYSCON.
1.1.4 Pin 84
This pin was named Vpp/RPD on the ST10F168 and was the 12v input pin Flash programming.
In the ST10F276, it is now only used as RPD.
Hardware impact
This pin is no longer designed to accept 12V inputs. Its ratings are the same as any other pin: -
0.5V to V
+ 0.5V.
DD
Software impact
None.
6/33
AN2169Modified features
1.1.5 Pin 56
For the ST10F168, this is VDD pin connected to 5Volts.
For the ST10F276, it is a 1.8V decoupling pin and named V18. A decoupling capacitor must be
connected between this pin and the nearest V
ss
pin.
Hardware impact
The application board should be re-designed in order to introduce the decoupling capacitor.
Software impact
None
1.2 Maximum CPU frequency
ST10F168ST10F276
Maximum CPU Frequency (MHz) 25 64
1.2.1 Hardware impact
None.
1.2.2 software impact
None.
1.3 XRAM
The ST10F168 has only 6Kbytes of extension RAM while the ST10F276 has 66Kbytes.
The XRAM address range in the ST10F168 is 00’D000h-00’E7FFh and is enabled if XPEN (bit
2 of SYSCON register) is set.
The XRAM of the ST10F276 is divided into 2 ranges named XRAM1 of 2Kbytes and XRAM2 of
64 Kbytes:
●The XRAM1 address range is 00’E000h - 00’E7FFh if enabled (XPEN set -bit 2 of
SYSCON register and XRAM1EN set -bit 2 of XPERCON register.
●The XRAM2 address range is 0F’0000h - 0F’FFFFh if enabled (XPEN set -bit 2 of
SYSCON register and XRAM2EN set -bit 3 of XPERCON register).
1.3.1 Hardware impact
None
1.3.2 Software impact
The memory mapping of the application will be impacted by the difference in XRAM size and by
the location of XRAM2 in the segment 15 while in the ST10F168, the whole XRAM is in page 3
of segment 0.
7/33
Modified featuresAN2169
Variables and PEC transfers
For architecture reasons, the PEC destination and source pointers must be in the segment 0.
Therefore all RAM variables and arrays that will be PEC addressed must be located within
either the DPRAM (00’F600h - 00’FDFFh) or the XRAM1 (00’E000h - 00’E7FFh).
About Toolchain memory model
A change in the Toolchain configuration will be needed to take into account the XRAM2 new
location. In the ST10F168, all the XRAM is in page 3 and is then automatically addressed using
DPP3 that points to the page 3 (in order to access the DPRAM and the SFR/ESFR). For the
ST10F276, it will be necessary to dedicate a DPP to access some of the XRAM2.
Example for ST10F276 in case of Small Memory Model with Tasking toolchain:
The Small memory model allows to have a total code size up to 16M, up to 64K of fast
accessible 'normal user data' in three different memory configurations and the possibility to
access far/huge data, if more than 64K of data is needed.
The three memory configurations possible for this 64K of 'normal user data' are:
●Default
The four DPP registers are assumed to contain their system startup value (0-3), providing
one linear data area of 64K in the first segment (00’0000h - 00’FFFFh).
●Addresses Linear
DPP3 contains page number 3, allowing access to SYSTEM (extended) SFR registers and
bit addressable memory. DPP0 - DPP2 provide a linear data area of 48K anywhere in
memory.
●Paged
DPP3 contains page number 3, allowing access to SYSTEM (extended) SFR registers and
bit addressable memory. DPP0, DPP1 and DPP2 contain the page number of a data area
of 16K anywhere in memory.
The Default configuration can no longer be used. The other configurations offer the following
possibilities:
●with Addresses Linear configuration nearly all the XRAM2 block is covered with DPPs but
then accesses to constants must be made via EXTP instructions
●Paged configuration allows to assign up to two DPPs to XRAM2 and one DPP for
constants.
1.4 Flash memory
Table 2.Flash Memories key characteristics
ST10F168ST10F276
Flash Size256K Bytes832K Bytes
Flash
Organization
Programming
voltage
8/33
4 banks4 banks, 17 blocks
12V5 Volts
AN2169Modified features
ST10F168ST10F276
Programming
method
Program/Erase
cycles
10 Kcycles, 20 years data retention100 Kcycles, 20 years data retention
1.4.1 Hardware impact
The 12 volts input on pin 84 is no longer needed.
1.4.2 Software impact
The mapping of the application and the programming and erasing routines are impacted.
Note:On the ST10F168, Bank 0 and Bank 1L may be remapped from segment 0 to segment 1 by
setting SYSCON.ROMS1.
On the ST10F276, sectors in segment 0 may be remapped to segment 1 by setting
SYSCON.ROMS1.
9/33
Modified featuresAN2169
1.5 A/D converter
The Analog Digital converter has been re-designed between the ST10F168 and ST10F276.
The ST10F276 still provides an Analog / Digital Converter with 10-bit resolution and a sample &
hold circuit on-chip.
1.5.1 Hardware / Software impact: conversion timing control
The A/D converter is not fully compatible versus ST10F168 (timing and programming model).
As for the ST10F168, the sample time ( for loading the capacitors) and the conversion time are
programmable and can be adjusted to the external circuitry. The total conversion time is
compatible with the formula used for ST10F168, while the meaning of the bit fields ADCTC and
ADSTC is no longer compatible.
Table 3.ST10F276 Conversion timing table
ADCTCADSTCSampleComparisonExtraTotal Conversion
0000TCL * 120TCL * 240TCL * 28TCL * 388
0001TCL * 140TCL * 280TCL * 16TCL * 436
0010TCL * 200TCL * 280TCL * 52TCL * 532
0011TCL * 400TCL * 280TCL * 44TCL * 724
1100TCL * 240TCL * 120TCL * 52TCL * 772
1101TCL * 280TCL * 560TCL * 28TCL * 868
1110TCL * 400TCL * 560TCL * 100TCL * 1060
1111TCL * 800TCL * 560TCL * 52TCL * 1444
1000TCL * 480TCL * 960TCL * 100TCL * 1540
1001TCL * 560TCL * 1120TCL * 52TCL * 1732
1010TCL * 800TCL * 1120TCL * 196TCL * 2116
1011TCL * 1600TCL * 1120TCL * 164TCL * 2884
1.5.2 Hardware impact
Table 4.ADC differences
ParameterSymbol
Analog Reference
voltage
Reference supply
current
running mode
power-down mode
V
AREF
I
AREF
Limit values for
ST10F168
min.max.min.max.
+ 0.1
4.0
-
-
V
DD
Limit values for ST10F276
4.5
-
-
VDD + 0.1
5000
1
Unit
V
µA
10/33
Loading...
+ 23 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.