The STM32TS60 device incorporates the high-performance ARM, Cortex-M3, 32-bit RISC
core, operating at a 72-MHz frequency, with high-speed embedded memories (32 Kbytes
Flash memory and 10 Kbytes SRAM), and an extensive range of enhanced I/Os and
peripherals connected to two APB buses. It offers two 12-bit ADCs, two general purpose
16-bit timers, as well as standard and advanced communication interfaces: two I
SPIs, one USART, and a USB.
The device operates from a 2.4 to 3.6 V power supply. It is available in the –40 to +85 °C
temperature range. A comprehensive set of power-saving modes allow the design of
low-power applications.The STM32TS60 device is available in a UFBGA144 7 mm x 7 mm
package and die form (unsawn wafer).
2
Cs, two
6/27 Doc ID 16925 Rev 3
STM32TS60Description
2.1 Device overview
Table 1.STM32TS60 device features and peripheral counts
Peripheral
Flash (Kbytes)32
SRAM (Kbytes)10
General-purpose timers2
SPI2
2
C2
Communication
I
USART1
USB1
GPIOs138
12-bit synchronized ADC (number of channels)2 (64)
CPU frequency72 MHz
Operating voltage2.4 to 3.6 V
Operating temperatures
Ambient –40 to 85 °C (see Ta bl e 5 )
Junction –40 to 125 °C (see Ta b le 5 )
Packages
Device
UFBGA144
Unsawn wafer
Doc ID 16925 Rev 37/27
DescriptionSTM32TS60
SW/JTAG
ARM®
Cortex
TM
-M3 CPU
f
MAX
= 72 MHz
NVIC
8-channel
DMA
BUS MATRIX
Dbus
System
Ibus
Flash
Interface
OBL
64-bit
Flash memory
32 Kbytes
SRAM
10 Kbytes
AHB f
MAX
=48MHz
SUPPLY
SUPERVISOR
POR/PDR
PVD
JTRST
JTDI
JTCK/SWCLK
JTMS/SWDAT
JTDO
AHB/APB2
BRIDGE
AHB/APB1
BRIDGE
PMSE
I/O
VDD
COL[1:81] as AF
ANALOG
ROW[1:64] as AF
12bit ADC
(x2)
MUX
SPI1
WAKEUP / IOs
APB2 f
MAX
=48MHz
NRESET
PMAD
SRAM 128x32bit
APB1 f
MAX
=24MHz
TIMER2
TIMER3
USART2
SPI2
I2C1
USB 2.0 FS
SRAM 512bytes
WWD
I2C2
SYSTIC
SRAM 128x32bit
SRAM 128x32bit
SRAM 128x32bit
DM,DP as AF
SDA,SCL as AF
RX,TX as AF
SDA,SCL as AF
MISO,MOSI,SCK
STANDBY I/F
IWDG
PLL
RC OSC 40kHz
OSC_IN
OSC_OUT
XTAL OSC 8MHz
RC OSC 8MHz
RTC / AWU
POWER
3.3 V to 1.8 V
VOLTAGE RE G.
VDD
VSS
NSS, as AF
4 channels as AF
4 channels as AF
GPIO A to I
MISO,MOSI,SCK
NSS, as AF
PA0 as AF
138 GPIO
Figure 1.STM32TS60 device block diagram
8/27 Doc ID 16925 Rev 3
STM32TS60Description
2.2 Peripheral overview
2.2.1 ARM Cortex-M3 core with embedded Flash and SRAM
The ARM Cortex-M3 processor is the latest generation of ARM processors for embedded
systems. It has been developed to provide a low-cost platform that meets the needs of MCU
implementation, with a reduced pin count and low power consumption, while delivering
outstanding computational performance and an advanced system response to interrupts.
The ARM Cortex-M3 32-bit RISC processor features exceptional code efficiency, delivering
the high performance expected from an ARM core in the memory size usually associated
with 8- and 16-bit devices.
The STM32TS60 device, having an embedded ARM core, is therefore compatible with all
ARM tools and software.
Figure 1 shows the general block diagram of the device family.
2.2.2 Embedded Flash memory
32 Kbytes of embedded Flash is available for storing programs and data.
2.2.3 CRC (cyclic redundancy check) calculation unit
The CRC (cyclic redundancy check) calculation unit is used to get a CRC code from a 32-bit
data word and a fixed generator polynomial.
Among other applications, CRC-based techniques are used to verify data transmission or
storage integrity. In the scope of the EN/IEC 60335-1 standard, they offer a means of
verifying the Flash memory integrity. The CRC calculation unit helps compute a signature of
the software during runtime, to be compared with a reference signature generated at
link-time and stored at a given memory location.
2.2.4 Embedded SRAM
The 10 Kbytes of embedded SRAM can be accessed (read/write) at CPU clock speed with 0
wait states.
2.2.5 Nested vectored interrupt controller (NVIC)
The STM32TS60 embeds a nested vectored interrupt controller which can handle up to 43
maskable interrupt channels (not including the 16 interrupt lines of Cortex-M3) and 16
priority levels. Features include:
●Closely coupled NVIC which gives low-latency interrupt processing
●Interrupt entry vector table address which is passed directly to the core
●Closely coupled NVIC core interface
●Early processing of interrupts is allowed
●Processing of “late arriving” higher priority interrupts
●Support for tail-chaining
●Processor state is automatically saved
●Interrupt entry is restored on interrupt exit with no instruction overhead
Doc ID 16925 Rev 39/27
DescriptionSTM32TS60
This hardware block provides flexible interrupt management features with minimal interrupt
latency.
2.2.6 External interrupt/event controller (EXTI)
The external interrupt/event controller consists of 19 edge detector lines used to generate
interrupt/event requests. Each line can be independently configured to select the trigger
event (rising edge, falling edge, both edges) and can be masked independently. A pending
register maintains the status of the interrupt requests. The EXTI can detect an external line
with a pulse width shorter than the internal APB2 clock period. Up to 138GPIOs can be
connected to the 9 external interrupt lines.
2.2.7 Clocks and startup
System clock selection is performed at startup, however the internal RC 8-MHz oscillator is
selected as the default CPU clock on reset. An external 4-16 MHz clock can be selected, in
which case it is monitored for failure. If failure is detected, the system automatically switches
back to the internal RC oscillator. A software interrupt is generated if enabled. Similarly, full
interrupt management of the PLL clock entry is available when necessary (for example, on
failure of an indirectly used external crystal, resonator or oscillator).
Several prescalers allow the configuration of the AHB frequency, the high-speed APB
(APB2), and the low-speed APB (APB1) domains. The maximum frequency of the AHB and
the high-speed APB domains is 72 MHz. The maximum allowed frequency of the low-speed
APB domain is 36 MHz.
2.2.8 Boot modes
At startup, boot pins are used to select one of three boot options:
●The boot from the user Flash
●The boot from the system memory
●The boot from the embedded SRAM
The boot loader is located in the system memory. It is used to reprogram the Flash memory
by using USART2. For further details please refer to AN2606.
2.2.9 Power supply supervisor
The device has an integrated power-on reset (POR)/power-down reset (PDR) circuitry. It is
always active, and ensures correct operation starting from/down to 2 V. The device remains
in reset mode when V
external reset circuit.
The device features an embedded programmable voltage detector (PVD) that monitors the
V
power supply and compares it to the V
DD
when V
threshold. The interrupt service routine can then generate a warning message and/or put
the MCU into a safe state. The PVD is enabled by software.
drops below the V
DD
is below a specified threshold, V
DD
threshold. An interrupt can be generated
threshold and/or when VDD is higher than the V
PVD
PVD
POR/PDR
, without the need for an
PVD
10/27 Doc ID 16925 Rev 3
STM32TS60Description
2.2.10 Voltage regulator
The regulator has three operating modes: Main (MR), Low power (LPR) and Power-down.
●MR is used in the nominal regulation mode (Run)
●LPR is used in Stop mode
●Power-down is used in Standby mode: the regulator output is in high impedance where
the kernel circuitry is powered down, inducing zero consumption (but the contents of
the registers and SRAM are lost).
This regulator is always enabled after reset. It is disabled in Standby mode, providing high
impedance output.
2.2.11 Low power modes
The STM32TS60 device supports three Low power modes to achieve the best compromise
between Low power consumption, short startup time, and available wakeup sources:
●Sleep mode
In Sleep mode, only the CPU is stopped. All peripherals continue to operate and can
wake up the CPU when an interrupt/event occurs.
●Stop mode
Stop mode achieves the lowest power consumption while retaining the content of
SRAM and the registers. All clocks in the 1.8 V domain are stopped, the PLL, the HSI
RC and the HSE crystal oscillators are disabled. The voltage regulator can also be put
in either Normal or in Low power mode. The device can be woken up from Stop mode
by any of the EXTI line. The EXTI line source can be one of the 9 external lines, the
PVD output, the RTC alarm, or the USB wakeup.
●Standby mode
Standby mode is used to achieve the lowest power consumption. The internal voltage
regulator is switched off so that the entire 1.8 V domain is powered off. The PLL, the
HSI RC and the HSE crystal oscillators are also switched off. After entering Standby
mode, the SRAM and register contents are lost except for registers in the backup
domain and Standby circuitry.
The device exits Standby mode when an external reset (NRST pin), an IWDG reset, a
rising edge on the WKUP pin, or an RTC alarm occurs.
Note:The RTC, the IWDG, and the corresponding clock sources are not stopped by entering Stop
or Standby mode.
2.2.12 PMatrix scanning engine (PMSE)
The PMSE handles the acquisition of the touch panel with a reduced CPU load. It
automatically controls the column and row I/Os and generates the trigger signals for the
ADCs and for the PMAD. Up to 81 columns and 64 rows are supported by the PMSE. Its
powerful implementation allows high frequency rates (up to 250 kHz) to be targeted with a
reduced power consumption. Several power consumption schemes are available to improve
system operation:
●Normal scanning mode
●Fast scanning mode
●Standby mode
The PMSE can be served by the DMA controller.
Doc ID 16925 Rev 311/27
DescriptionSTM32TS60
2.2.13 PMatrix area detection (PMAD)
The PMAD works in combination with the PMSE. It reduces the CPU load by processing the
information provided by the PMSE. It returns information on the touched areas.
The PMAD can be served by the DMA controller.
2.2.14 Direct memory access (DMA)
The flexible 8-channel general-purpose DMA is able to manage memory-to-memory,
peripheral-to-memory, and memory-to-peripheral transfers. The DMA controller supports
circular buffer management avoiding the generation of interrupts when the controller
reaches the end of the buffer.
Each channel is connected to dedicated hardware DMA requests, with support for a
software trigger on each channel. Configuration is made by software and transfer sizes
between source and destination are independent.
The DMA can be used with the main peripherals: SPIx, I
2
Cx, USART2, general-purpose
timers TIMx, ADCx, PMSE, and PMAD.
2.2.15 Real-time clock (RTC) and backup registers
The real-time clock provides a set of continuously running counters which can be used with
suitable software to provide a clock calendar function, and provide an alarm interrupt and a
periodic interrupt. It is clocked by the internal low-power RC oscillator having a typical
frequency of 40 kHz. The RTC can be calibrated using an external 512 Hz output to
compensate for any natural crystal deviation. A 20-bit prescaler is used for the time base
clock and is, by default, configured to generate a time base of 1 second from a clock at
32.768 kHz. The backup registers include ten 16-bit registers which are used to store 20
bytes of user application data.
2.2.16 Timers and watchdogs
The STM32TS60 device includes two general-purpose timers, two watchdog timers and a
SysTick timer.
Ta bl e 2 compares the features of the advanced-control and general-purpose timers.
Table 2.Timer feature comparison
Timer
Counter
resolution
TIM2
and
16-bit
TIM3
General-purpose timers (TIMx)
12/27 Doc ID 16925 Rev 3
There are up to two synchronizable general-purpose timers embedded in the STM32TS60
device. These timers are based on a 16-bit auto-reload up/down counter and a 16-bit
prescaler. They feature four independent channels each for input capture/output compare,
PWM or one-pulse mode output. Their counters can be frozen in debug mode. Any of the
general-purpose timers can be used to generate PWM outputs. They all have independent
DMA request generation.
Counter
type
Up,
down,
up/down
Prescaler
factor
Any integer
between 1
and 65536
DMA request
generation
Capture/compare
channels
Ye s4N o
Complementary
outputs
STM32TS60Description
These timers are capable of handling quadrature (incremental) encoder signals and the
digital outputs from one to three hall-effect sensors.
Independent watchdog (IWDG)
The independent watchdog is based on a 12-bit downcounter and an 8-bit prescaler. It is
clocked from an independent 40 kHz internal RC and, as it operates independently of the
main clock, it can operate in Stop and Standby modes. It can be used either as a watchdog
to reset the device when a problem occurs, or as a free-running timer for application timeout
management. It is hardware- or software-configurable through the option bytes. The counter
can be frozen in debug mode.
Window watchdog (WWDG)
The window watchdog is based on a 7-bit downcounter that can be set as free-running. It
can be used as a watchdog to reset the device when a problem occurs. It is clocked from the
main clock. It has an early warning interrupt capability and the counter can be frozen in
debug mode.
SysTick timer
This timer is dedicated for OS, but could also be used as a standard downcounter. It
features:
●A 24-bit downcounter
●Auto-reload capability
●Maskable system interrupt generation when the counter reaches 0
●Programmable clock source
2.2.17 I²C bus
I²C bus interfaces can operate in multimaster and slave modes. They can support standard
and fast modes.
They support dual slave addressing (7-bit only) and both 7/10-bit addressing in master
mode. A hardware CRC generation/verification is embedded.
They can be served by DMA and they support SM Bus 2.0/PM Bus.
The USART interface is able to communicate at up to 2.25 Mbit/s. It provides hardware
management of the CTS and RTS signals and IrDA SIR ENDEC support. It is also
ISO 7816 compliant and has LIN master/slave capability.
The USART interface can be served by the DMA controller.
2.2.19 Serial peripheral interface (SPI)
The SPI interfaces are able to communicate up to18 Mbits/s (SPI1) and 9 Mbits/s (SPI2) in
slave and master modes in full-duplex and simplex communication modes. The 3-bit
prescaler gives eight master mode frequencies and the frame is configurable to 8 or 16 bits.
The hardware CRC generation/verification supports basic SD Card/MMC modes.
Both SPI interfaces can be served by the DMA controller.
Doc ID 16925 Rev 313/27
DescriptionSTM32TS60
2.2.20 Universal serial bus (USB)
The STM32TS60 device embeds a USB device peripheral compatible with the USB fullspeed 12 Mbs. The USB interface implements a full-speed (12 Mbit/s) function interface. It
has a software-configurable endpoint setting and suspend/resume support. The dedicated
48-MHz clock is generated from the internal main PLL (the clock source must use a HSE
crystal oscillator).
2.2.21 GPIOs (general-purpose inputs/outputs)
Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as
input (with or without pull-down), or as peripheral alternate function. Most of the GPIO pins
are shared with digital or analog alternate functions. All GPIOs are high current-capable
except for analog inputs.
The I/Os alternate function configuration can be locked, if needed, following a specific
sequence to avoid spurious writing to the I/Os registers. I/O toggling speed is up to 18 MHz.
2.2.22 Analog-to-digital converter (ADC)
Two 12-bit analog-to-digital converters are embedded into STM32TS60 device and each
ADC shares up to 64 external channels, performing conversions in single-shot mode only
(scan mode is not supported by the STM32TS60).
The ADC can be served by the DMA controller.
2.2.23 Temperature sensor
The temperature sensor has to generate a voltage that varies linearly with temperature. The
conversion range is between 2.4 V < V
< 3.6 V. The temperature sensor is internally
DD
connected to the ADC1_IN16 input channel which is used to convert the sensor output
voltage into a digital value.
2.2.24 Serial wire JTAG debug port (SWJ-DP)
The ARM SWJ-DP interface is embedded. It is a combined JTAG and serial wire debug port
that enables either a serial wire debug or a JTAG probe to be connected to the target. The
JTAG TMS and TCK pins are shared with SWDIO and SWCLK, respectively, and a specific
sequence on the TMS pin is used to switch between JTAG-DP and SW-DP.
1. I = input pin, O = output push-pull, I/O = input/output, OD = output open drain, S = supply pin
2. Under reset, I0s are configured in input floating mode.
3. FT = 5 V tolerant
Doc ID 16925 Rev 321/27
Memory mappingSTM32TS60
4 Memory mapping
The memory map is shown in Figure 3.
Figure 3.Memory map
0x6000 0000
Reserved
0xFFFF FFFF
0xE010 0000
0xE000 0000
6
0xC000 0000
5
0xB000 0000
4
0x8000 0000
3
0x6000 0000
2
0x4000 0000
1
0x2000 0000
0
0x0000 0000
Cortex - M3 internal
peripherals
Peripherals
(APB1 and APB2)
SRAM
Code
0x4002 3400
0x4002 3000
0x4002 2400
0x4002 2000
0x4002 1400
7
0x1
FFF FFF
F
0x1
FFF F80
0x1
FFF F80
0x1
FFF F00
801 FFF
0x0
0x0
800 000
0x0000 0000
Reserved
F
Option bytes
0
System memory
0
Reserved
F
Flash memory
0
Aliased to Flash or system
memory depending on
BOOT pins
0x4002 1000
0x4002 0400
0x4002 0000
0x4001 4000
0x4001 3C00
0x4001 3800
0x4001 3400
0x4001 3000
0x4001 2C00
0x4001 2800
0x4001 2400
0x4001 2000
0x4001 1C00
0x4001 1800
0x4001 1400
0x4001 1000
0x4001 0C00
0x4001 0800
0x4001 0400
0x4001 0000
0x4000 7400
0x4000 7000
0x4000 6C00
0x4000 6400
0x4000 6000
0x4000 5C00
0x4000 5800
0x4000 5400
0x4000 4800
0x4000 4400
0x4000 3C00
0x4000 3800
0x4000 3400
0x4000 3000
0x4000 2C00
0x4000 2800
CRC
Reserved
Flash interface
Reserved
RCC
Reserved
DMA
Reserved
ADC2
ADC1
PMSE
SPI1
PMAD
Port I
Port H
Port G
Port F
Port E
Port D
Port C
Port B
Port A
EXTIT
AFIO
Reserved
PWR
BKP
Reserved
USB SRAM 256x16-bit
USB registers
I2C2
I2C1
Reserved
USART2
Reserved
SPI2
Reserved
WDG
WWDG
RTC
Not used/Reserved
22/27 Doc ID 16925 Rev 3
0x4000 0800
0x4000 0400
0x4000 0000
Reserved
TIM3
TIM2
ai17407
STM32TS60Package characteristics
Seating plane
Z
A2
A4
A3
Zddd
A1
A
X
Y
D1
e
F
D
F
E1 E
e
M
eee
M
ZYX
Zfff
(144 balls)Øb
M
Ø
Ø
Ball A1
A
A0AS_ME
5 Package characteristics
In order to meet environmental requirements, ST offers these devices in different grades of
ECOPACK
®
packages, depending on their level of environmental compliance. ECOPACK®
specifications, grade definitions and product status are available at www.st.com.
ECOPACK
®
is an ST trademark.
Figure 4.UFBGA144 - 7 x 7 mm ultra low profile fine pitch ball grid array package
outline
1. Drawing is not to scale.
Doc ID 16925 Rev 323/27
Package characteristicsSTM32TS60
Table 4.UFBGA144 - 7 x 7 mm ultra low profile fine pitch ball grid array package
mechanical data
millimetersinches
Symbol
TypMinMaxTypMinMax
A0.5300.4600.6000.02090.01810.0236
A10.0800.0600.1000.00310.00240.0039
A20.4500.4000.5000.01770.01570.0197
A30.1300.0800.1800.00510.00310.0071
A40.3200.2700.3700.01260.01060.0146
b0.2500.2000.3000.00980.00790.0118
D7.0006.9507.0500.27560.27360.2776
D15.5005.4505.5500.21650.21460.2185
E7.0006.9507.0500.27560.27360.2776
E15.5005.4505.5500.21650.21460.2185
e0.5000.4500.5500.01970.01770.0217
F0.7500.7000.8000.02950.02760.0315
ddd0.1000.0039
eee0.1500.0059
(1)
fff0.0500.0020
1. Values in inches are converted from mm and rounded to four decimal digits.
24/27 Doc ID 16925 Rev 3
STM32TS60Ordering information
6 Ordering information
Table 5.Ordering information scheme for package devices
Example:STM32TS60ZH6
Device family
STM32 = ARM-based 32-bit microcontroller
Device sub-family
TS = touchscreen family
Touch sensing technology
60 = multitouch resistive
Pin count
Z = 144 pins
Package
H = UFBGA
Temperature range
6 = industrial temperature range –40°C to 85°C
For further information on any aspect of this device, please contact your nearest ST Sales
Office.
The category of second Level Interconnect is marked on the package and on the inner box
label, in compliance with JEDEC Standard JESD97. The maximum ratings related to
soldering conditions are also marked on the inner box label.
The STM32TS60 is no longer an ASIC MCU but a standard STM32
MCU. Consequently, the title of this document has been changed
and the Features and Description were updated, re-written, and/or
edited.
ballout top view”, “STM32TS60 dual-chip (master) UFBGA144
ballout top view”, and “STM32TS60 dual-chip (slave) device
UFBGA144 ballout top view” and replaced them with Figure 2:
STM32TS60 device UFBGA144 ballout.
Added Section 4: Memory mapping.
Removed “Application diagrams” section.
Replaced the title “Package mechanical data” with Package
characteristics.
Table 5: Ordering information scheme for package devices: updated
title; removed ‘xx’ (firmware configuration) and ‘y’ (firmware revision)
which are no longer part of the ordering scheme.
Added Table 6: Ordering information for die devices.
26/27 Doc ID 16925 Rev 3
STM32TS60
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.