ST10F269-T3 STMicroelectronics, ST10F269-T3 Datasheet

no-image

ST10F269-T3

Manufacturer Part Number
ST10F269-T3
Description
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST10F269-T3

Cpu Family
ST10
Device Core Size
16b
Frequency (max)
32MHz
Interface Type
ASC/I2C/SSC
Program Memory Type
Flash
Program Memory Size
256KB
Total Internal Ram Size
12KB
# I/os (max)
111
Number Of Timers - General Purpose
4
Operating Supply Voltage (typ)
5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
4.5V
On-chip Adc
16-chx10-bit
Instruction Set Architecture
CISC/RISC
Operating Temp Range
-40C to 125C
Operating Temperature Classification
Automotive
Mounting
Surface Mount
Pin Count
144
Package Type
TQFP
Lead Free Status / Rohs Status
Supplier Unconfirmed

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST10F269-T3
Quantity:
6 262
Part Number:
ST10F269-T3
Manufacturer:
ST
0
Part Number:
ST10F269-T3
Manufacturer:
ST
Quantity:
12 045
January 2009
16-BIT MCU WITH MAC UNIT, 256 KBYTE FLASH MEMORY AND 12 KBYTE RAM
HIGH PERFORMANCE 32MHz CPU WITH DSP
FUNCTION
– 16-BIT CPU WITH 4-STAGE PIPELINE
– 62.5ns INSTRUCTION CYCLE TIME AT 32MHz
– MULTIPLY/ACCUMULATE UNIT (MAC) 16 x 16-BIT
– REPEAT UNIT
– ENHANCED BOOLEAN BIT MANIPULATION FA-
– ADDITIONAL INSTRUCTIONS TO SUPPORT HLL
– SINGLE-CYCLE CONTEXT SWITCHING SUP-
MEMORY ORGANIZATION
– 256K BYTE ON-CHIP FLASH MEMORY SINGLE
– 100K ERASING/PROGRAMMING CYCLES.
– UP TO 16M BYTE LINEAR ADDRESS SPACE FOR
– 2K BYTE ON-CHIP INTERNAL RAM (IRAM)
– 10K BYTE ON-CHIP EXTENSION RAM (XRAM)
FAST AND FLEXIBLE BUS
– PROGRAMMABLE EXTERNAL BUS CHARACTE-
– 8-BIT OR 16-BIT EXTERNAL DATA BUS
– MULTIPLEXED OR DEMULTIPLEXED EXTERNAL
– FIVE PROGRAMMABLE CHIP-SELECT SIGNALS
– HOLD-ACKNOWLEDGE BUS ARBITRATION SUP-
INTERRUPT
– 8-CHANNEL PERIPHERAL EVENT CONTROLLER
– 16-PRIORITY-LEVEL INTERRUPT SYSTEM WITH
TIMERS
– TWO MULTI-FUNCTIONAL GENERAL PURPOSE
– TWO 16-CHANNEL CAPTURE / COMPARE UNITS
A/D CONVERTER
– 16-CHANNEL 10-BIT
– 6.06µs CONVERSION TIME AT 32MHz CPU CLOCK
4-CHANNEL PWM UNIT
SERIAL CHANNELS
– SYNCHRONOUS / ASYNCHRONOUS SERIAL
– HIGH-SPEED SYNCHRONOUS CHANNEL
MAX CPU CLOCK
MULTIPLICATION, 40-BIT ACCUMULATOR
CILITIES
AND OPERATING SYSTEMS
PORT
VOLTAGE WITH ERASE/PROGRAM CONTROLLER.
CODE AND DATA (5M BYTES WITH CAN)
RISTICS FOR DIFFERENT ADDRESS RANGES
ADDRESS/DATA BUSES
PORT
FOR SINGLE CYCLE INTERRUPT DRIVEN DATA
TRANSFER
56 SOURCES, SAMPLING RATE DOWN TO
31.25ns
TIMER UNITS WITH 5 TIMERS
CHANNEL
Rev 2
CAN1_RXD
CAN1_TXD
CAN2_RXD
CAN2_TXD
TWO CAN 2.0B INTERFACES OPERATING ON ONE
OR TWO CAN BUSSES (30 OR 2x15 MESSAGE
OBJECTS)
FAIL-SAFE PROTECTION
– PROGRAMMABLE WATCHDOG TIMER
– OSCILLATOR WATCHDOG
ON-CHIP BOOTSTRAP LOADER
CLOCK GENERATION
– ON-CHIP PLL
– DIRECT OR PRESCALED CLOCK INPUT
REAL TIME CLOCK
UP TO 111 GENERAL PURPOSE I/O LINES
– INDIVIDUALLY PROGRAMMABLE AS INPUT,
– PROGRAMMABLE THRESHOLD (HYSTERESIS)
IDLE AND POWER DOWN MODES
SINGLE VOLTAGE SUPPLY: 5V ±10% (EMBEDDED
REGULATOR FOR 2.7V CORE SUPPLY).
TEMPERATURE RANGE: -40 + 125°C
144-PIN LQFP PACKAGE
OUTPUT OR SPECIAL FUNCTION
10K Byte
Flash Memory
XRAM
256K Byte
CAN1
CAN2
16
16
8
Port 6
LQFP144 (20 x 20 x 1.40 mm)
ORDER CODE: ST10F269-T3
(Low-profile Quad Flat Pack)
8
32
Port 5
16
16
ST10F269-T3
CPU-Core and MAC Unit
BRG
Port 3
Interrupt Controller
15
BRG
PEC
Port 7
8
16
16
16
2.7V
XTAL1
Port 8
Watchdog
Oscillator
and PLL
8
2K Byte
Internal
Regulator
RAM
Voltage
1/162
XTAL2
16

Related parts for ST10F269-T3

ST10F269-T3 Summary of contents

Page 1

... SYNCHRONOUS / ASYNCHRONOUS SERIAL CHANNEL – HIGH-SPEED SYNCHRONOUS CHANNEL January 2009 ST10F269-T3 LQFP144 ( 1.40 mm) (Low-profile Quad Flat Pack) ORDER CODE: ST10F269-T3 ■ TWO CAN 2.0B INTERFACES OPERATING ON ONE OR TWO CAN BUSSES (30 OR 2x15 MESSAGE OBJECTS) ■ FAIL-SAFE PROTECTION – PROGRAMMABLE WATCHDOG TIMER – ...

Page 2

... ST10F269-T3 TABLE OF CONTENTS 1 - INTRODUCTION ........................................................................................................ 2 - PIN DATA ................................................................................................................... 3 - FUNCTIONAL DESCRIPTION ................................................................................... 4 - MEMORY ORGANIZATION ....................................................................................... 5 - INTERNAL FLASH MEMORY ................................................................................... 5.1 - OVERVIEW ................................................................................................................ 5.2 - OPERATIONAL OVERVIEW ...................................................................................... 5.3 - ARCHITECTURAL DESCRIPTION ............................................................................ 5.3.1 - Read Mode ................................................................................................................. 5.3.2 - Command Mode ......................................................................................................... 5.3.3 - Ready/Busy Signal ..................................................................................................... 5.3.4 - Flash Status Register ................................................................................................. 5.3.5 - Flash Protection Register ........................................................................................... 5.3.6 - Instructions Description .............................................................................................. ...

Page 3

... Alternate Functions of Port 3 ...................................................................................... 12.7 - PORT 4 ....................................................................................................................... 12.7.1 - Alternate Functions of Port 4 ...................................................................................... 12.8 - PORT 5 ....................................................................................................................... 12.8.1 - Alternate Functions of Port 5 ...................................................................................... 12.8.2 - Port 5 Schmitt Trigger Analog Inputs .......................................................................... 12.9 - PORT 6 ....................................................................................................................... 12.9.1 - Alternate Functions of Port 6 ...................................................................................... 12.10 - PORT 7 ....................................................................................................................... 12.10.1 - Alternate Functions of Port 7 ...................................................................................... 12.11 - PORT 8 ....................................................................................................................... 12.11.1 - Alternate Functions of Port 8 ...................................................................................... ST10F269-T3 PAGE ...

Page 4

... ST10F269-T3 TABLE OF CONTENTS 13 - A/D CONVERTER ...................................................................................................... 14 - SERIAL CHANNELS ................................................................................................. 14.1 - ASYNCHRONOUS / SYNCHRONOUS SERIAL INTERFACE (ASCO) ..................... 14.1.1 - ASCO in Asynchronous Mode .................................................................................... 14.1.2 - ASCO in Synchronous Mode ...................................................................................... 14.2 - HIGH SPEED SYNCHRONOUS SERIAL CHANNEL (SSC) ..................................... 15 - CAN MODULES ......................................................................................................... 15.1 - CAN MODULES MEMORY MAPPING ...................................................................... 15.1.1 - CAN1 .......................................................................................................................... 15.1.2 - CAN2 .......................................................................................................................... 15.2 - CAN BUS CONFIGURATIONS .................................................................................. ...

Page 5

... CLKOUT and READY ................................................................................................. 21.4.13 - External Bus Arbitration .............................................................................................. 21.4.14 - High-Speed Synchronous Serial Interface (SSC) Timing ........................................... 21.4.14.1 Master Mode................................................................................................................ 21.4.14.2 Slave mode.................................................................................................................. 22 - PACKAGE INFORMATION ....................................................................................... 23 - ORDERING INFORMATION ...................................................................................... 24 - DATASHEET VERSION INFORMATION ................................................................ ....................................................................................................... ST10F269-T3 PAGE 114 114 117 123 124 131 131 131 131 134 135 136 136 136 ...

Page 6

... I/O-capabilities. It also provides on-chip high-speed single voltage Flash memory, on-chip high-speed RAM, and clock generation via PLL. ST10F269-T3 is processed in 0.35µm CMOS technology. The MCU core and the logic is supplied with 2.7V on chip voltage regulator. The part is supplied with a single 5V supply and I/Os work at 5V ...

Page 7

... P7.1/POUT1 21 P7.2/POUT2 22 P7.3/POUT3 23 P7.4/CC28I0 24 P7.5/CC29I0 25 P7.6/CC30I0 26 P7.7/CC31I0 27 P5.0/AN0 28 P5.1/AN1 29 P5.2/AN2 30 P5.3/AN3 31 P5.4/AN4 32 P5.5/AN5 P5.6/AN6 33 34 P5.7/AN7 35 P5.8/AN8 36 P5.9/AN9 ST10F269-T3 ST10F269-T3 108 P0H.0/AD8 107 P0L.7/AD7 106 P0L.6/AD6 105 P0L.5/AD5 104 P0L.4/AD4 P0L.3/AD3 103 102 P0L.2AD2 101 P0L.A/AD1 100 P0L.0/AD0 ALE 97 READY 96 WR/WRL ...

Page 8

... ST10F269-T3 Table 1 : Pin Description Symbol Pin Type P6 ... ... P8.0 - P8.7 9-16 I/O 9 I/O ... ... 16 I/O P7.0 - P7.7 19-26 I ... ... I/O ... ... 26 I/O P5.0 - P5.9 27-36 I P5.10 - P5.15 39- 8/162 8-bit bidirectional I/O port, bit-wise programmable for input or output via direction bit. Programming an I/O pin as input forces the corresponding output driver to high impedance state ...

Page 9

... RxD0 ASC0 Data Input (Asynchronous) or I/O (Synchronous) P3.12 BHE External Memory High Byte Enable Signal WRH External Memory High Byte Write Strobe P3.13 SCLK SSC Master Clock Output / Slave Clock Input P3.15 CLKOUT System Clock Output (=CPU Clock) ST10F269-T3 Function 9/162 ...

Page 10

... External Access Enable pin. A low level applied to this pin during and after Reset forces the ST10F269-T3 to start the program from the external memory space. A high level forces the MCU to start in the internal memory space. ...

Page 11

... NMI trap routine. If bit PWDCFG = ‘0’ in SYSCON register, when the PWRDN (power down) instruction is executed, the NMI pin must be low in order to force the ST10F269- into power down mode. If NMI is high and PWDCFG =’0’, when PWRDN is executed, the part will continue to run in normal mode. ...

Page 12

... ST10F269-T3 Symbol Pin Type V 46, 72 82,93, 109, 126, 136, 144 V 18,45 55,71, 83,94, 110, 127, 139, 143 DC1 56 - DC2 17 - 12/162 Digital Supply Voltage during normal operation and idle mode. Digital Ground. 2.7V Decoupling pin: a decoupling capacitor of ≥ 330 nF must be connected between this pin and nearest V ...

Page 13

... FUNCTIONAL DESCRIPTION The architecture of the ST10F269-T3 combines advantages of both RISC and CISC processors and an advanced peripheral subsystem. The Figure 3 : Block Diagram 256K Byte Flash Memory 10K Byte XRAM P4.5 CAN1_RXD CAN1 P4.6 CAN1_TXD P4.4 CAN2_RXD CAN2 P4.7 CAN2_TXD Port 6 8 block diagram gives an overview of the different on-chip components and the high bandwidth internal bus structure of the ST10F269-T3 ...

Page 14

... Note Visibility of XBUS Peripherals is 00’C000h In order to keep the ST10F269-T3 compatible with the ST10C167 and with the ST10F167, the XBUS peripherals can be selected to be visible and / or range 00’C000h accessible on the external address / data bus. CAN1EN and CAN2EN bits of XPERCON register register must be set ...

Page 15

... Figure 4 : ST10F269-T3 On-chip Memory Mapping 14 05’0000 04’0000 10 0C 03’0000 02’0000 01’8000 05 04 01’0000 03 00’C000 02 00’6000 01 00’4000 00 00’0000 Data Absolute Page Memory Number Address * Bank 0L may be remapped from segment 0 to segment 1 (Bank 1L) by setting SYSCON-ROMS1 (before EINIT) Data Page Number and Absolute Memory Address are hexadecimal values ...

Page 16

... ST10F269-T3 XPERCON (F024h / 12h CAN1EN CAN1 Enable Bit ‘0’: Accesses to the on-chip CAN1 XPeripheral and its functions are disabled. P4.5 and P4.6 pins can be used as general purpose I/Os. Address range 00’EF00h-00’EFFFh is only directed to external memory if CAN2EN is also ‘0’. ...

Page 17

... CPU frequency up to 32MHz. Instruction fetches and data operand reads are performed with all addressing modes of the ST10F269-T3 instruction set. In order to optimize the programming time of the internal Flash, blocks of 8K Bytes, 16K Bytes, 32K Bytes, 64K Bytes can be used. But the size of the blocks does not apply to the whole memory space, see details in Table 2 ...

Page 18

... ST10F269-T3 Instructions and Commands All operations besides normal read operations are initiated and controlled by command sequences written to the Flash Command Interface (CI). The Command Interface (CI) interprets words written to the Flash memory and enables one of the following operations: – Read memory array – Program Word – ...

Page 19

... FSB.2, or Error on FSB.5 and Erase Time-out on FSB.3 bit. Any read attempt in Flash during EPC operation will automatically output these five bits. The EPC sets bit FSB.2, FSB.3, FSB.5, FSB.6 and FSB.7. Other bits are reserved for future use and should be masked. ST10F269-T3 19/162 ...

Page 20

... ST10F269-T3 Flash Status (see note for address FSB.7 Flash Status bit 7: Data Polling Bit Programming Operation: this bit outputs the complement of the bit 7 of the word being programmed, and after completion, will output the bit 7 of the word programmed. Erasing Operation: outputs a ‘0’ during erasing, and ‘1’ after erasing completion. ...

Page 21

... When this time-out period has elapsed, the erase starts. The status of the internal timer can be monitored through the level of FSB.3, if FSB.3 is ‘0’, the Block Erase command has been given and the time-out is running; if FSB.3 is ‘1’, the time-out has expired and the EPC is erasing the block(s). ST10F269- ...

Page 22

... ST10F269-T3 If the second command given is not an erase confirm or if the coded cycles are wrong, the instruction aborts, and the device is reset to Read Mode not necessary to program the block with 0000h as the EPC will do this automatically before the erasing to FFFFh. Read operations after the EPC has started, output the Flash Status Register ...

Page 23

... Note that Code Temporary Unprotection instruction must be used when it is necessary to modify the Flash with protected code (SCP), since the write/erase routines must be executed from a memory external to Flash space. Usually, the write/erase routines, executed in RAM, ends with a return to Flash space where a CTP instruction restore the protection. ST10F269-T3 23/162 ...

Page 24

... ST10F269-T3 Table 3 : Instructions Instruction Mne Cycle Read/Reset RD 1+ Read/Reset RD 3+ Program Word PW 4 Block Erase BE 6 Chip Erase CE 6 Erase Suspend ES 1 Erase Resume ER 1 Set Block/Code Protection SP 4 Read Protection RP 4 Status Block Temporary BTU 4 Unprotection Code Temporary CTU 1 Unprotection ...

Page 25

... Flash Memory Configuration The default memory configuration ST10F269-T3 Memory is determined by the state of the EA pin at reset. This value is stored in the Internal ROM Enable bit (named ROMEN) of the SYSCON register. When ROMEN = 0, the internal Flash is disabled and external ROM is used for startup control. ...

Page 26

... ST10F269-T3 5.5.2 - Basic Flash Access Control When accessing the Flash all command write addresses have to be located within the active Flash memory space. The active Flash memory space is that logical address range which is covered by the Flash after mapping. When using data page pointer (DPP) for addressing the Flash, make sure that address bit A15 and A14 of the command addresses are reflected in both LSBs of the selected data page pointer (A15 - DPPx ...

Page 27

... R7 with 1st CI enable command ;command cycle 1 ;load register R7 with 2cd CI enable command ;command cycle 2 ;load register R7 with Program Word command ;command cycle 3 ;restore DPP0: following addressing to the Flash ;will use EXTended instructions ;R11 contains the segment to be programmed ST10F269-T3 27/162 ...

Page 28

... ST10F269-T3 EXTS R11, #1 MOV [R12], R13 Data_Polling: EXTS R11, #1 MOV R7, [R12] MOV R6, R7 XOR R7, R13 JNB R7.7, Prog_OK JNB R6.5, Data_Polling EXTS R11, #1 MOV R7, [R12] XOR R7, R13 JNB R7.7, Prog_OK Prog_Error: MOV R7, #0F0h EXTS R11, #1 MOV [R12], R7 ... ... ... Prog_OK: .... .... 28/162 ;R12 contains the segment offset address to be ...

Page 29

... 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 ST10F269-T3 29/162 ...

Page 30

... Caution: TxD0 is only driven a certain time after reception of the zero Byte. 6) Internal Boot ROM. 30/162 5.6.1 - Entering the Bootstrap Loader The ST10F269-T3 enters BSL mode when pin P0L.4 is sampled low at the end of a hardware reset. In this case the built-in bootstrap loader is activated independent of the selected bus mode. ...

Page 31

... When the ST10F269-T3 has entered BSL mode, the following configuration is automatically set (values that deviate from the normal reset values, are marked): Watchdog Timer: Disabled Context Pointer CP: FA00h Stack Pointer SP: FA40h Register S0CON: 8011h Register S0BG: Acc. to ‘00’ Byte In this case, the watchdog timer is disabled, so the bootstrap loading sequence is not time limited ...

Page 32

... User Flash access This process may go through several iterations or may directly execute the final application. In all cases the ST10F269-T3 will still run in BSL mode, that means with the watchdog timer disabled and limited access to the internal Flash area. All code fetches from the internal Flash area (00’ ...

Page 33

... B Contr B Host – ------------------------------------------- - B Contr ≤ 2.5 % Figure 8 : Baud Rate Deviation Between Host and ST10F269- 2.5% B Low Note: Function (F This Baud rate deviation is a nonlinear function depending on the CPU clock and the Baud rate of the host. The maxima of the function (F increase with the host Baud rate due to the ...

Page 34

... SFRs. Additional hardware has been added for a separate multiply and divide unit, a bit-mask generator and a barrel shifter. Most of the ST10F269-T3’s instructions can be executed in one instruction cycle which requires 62.5ns at 32MHz CPU clock. For example, shift and rotate instructions are processed in one instruction cycle independent of the number of bits to be shifted ...

Page 35

... The co-processor instructions extend the ST10 CPU instruction set with multiply, multiply-accu- mulate, 32-bit signed arithmetic operations. A new transfer instruction CoMOV has also been added to take benefit of the new addressing capa- bilities. ST10F269-T3 Reset Value: 0xx0h ...

Page 36

... ST10F269-T3 6.1.1 - Features 6.1.1.1 - Enhanced Addressing Capabilities – New addressing modes including a double indi- rect addressing mode with pointer post-modifi- cation. – Parallel Data Move: this mechanism allows one operand move during Multiply-Accumulate in- structions without penalty. – New transfer instructions CoSTORE (for fast ac- cess to the MAC SFRs) and CoMOV (for fast memory to memory table transfer) ...

Page 37

... Instruction Set Summary The Table 4 lists the instructions of the ST10F269-T3. The various addressing modes, instruction opera- tion, parameters for conditional execution of instructions, opcodes and a detailed description of each instruction can be found in the “ST10 Family Programming Manual”. Table 4 : Instruction Set Summary ...

Page 38

... ST10F269-T3 Table 4 : Instruction Set Summary Mnemonic JNBS Jump relative and set bit if direct bit is not set CALLA, CALLI, CALLR Call absolute/indirect/relative subroutine if condition is met CALLS Call absolute subroutine in any code segment PCALL Push direct word register onto system stack and call absolute subroutine ...

Page 39

... ⊗], [Rw ⊗] [IDX i m ⊗ [ ⊗], [Rw ⊗] [IDX i n ⊗ [ ⊗] [Rw m ⊗] [IDX i ⊗], [Rw ⊗] [IDX CoReg n ⊗] , Coreg [Rw n ⊗], [Rw ⊗] [IDX i m ST10F269-T3 Repeatability Yes Yes Yes Yes Yes No No Yes Yes 39/162 ...

Page 40

... ST10F269-T3 Mnemonic CoMACM CoMACMu CoMACMus CoMACMsu CoMACM- CoMACMu- CoMACMus- CoMACMsu- CoMACM, rnd CoMACMu, rnd CoMACMus, rnd CoMACMsu, rnd CoMACMR CoMACMRu CoMACMRus CoMACMRsu CoMACMR, rnd CoMACMRu, rnd CoMACMRus, rnd CoMACMRsu, rnd CoADD CoADD2 CoSUB CoSUB2 CoSUBR CoSUB2R CoMAX CoMIN CoLOAD CoLOAD- CoLOAD2 ...

Page 41

... QX ] (IDX (Rwn) ← (Rwn) [Rwn] (Rwn) ← (Rwn [Rwn+ ] (Rwn) ← (Rwn [Rwn-] [Rwn + QR (Rwn) ← (Rwn (Rwn) ← (Rwn) - (QR [Rwn - Description ST10F269-T3 ⊗]” refer to these addressing modes. i Address Pointer Operation ) (no-op (i=0, (i=0, (QX ) (i, j =0, (QX ) (i, j =0, ...

Page 42

... When the READY function is enabled for a specific address window, each bus cycle within this window must be terminated with the active level defined by this RDYPOL bit in the associated BUSCON register. BUSCONx registers are described in Section 20.2 - System Configuration Registers. Note ST10F269- internal pull-up resistor on READY pin. ...

Page 43

... Figure 11 : Chip Select Delay Normal Demultiplexed Segment (P4) Address (P1) ALE Normal CSx Unlatched CSx BUS (P0) RD BUS (P0) WR ALE Lengthen Demultiplexed Bus Cycle Data Data Read/Write Delay ST10F269-T3 Bus Cycle Data Data Read/Write Delay 43/162 ...

Page 44

... When this counter reaches zero, a standard interrupt is performed corresponding source related vector location. PEC services are very well suited to perform the transmission or the reception of blocks of data. The ST10F269-T3 has 8 PEC channels, each of them offers such fast interrupt-driven data transfer capabilities. EXISEL (F1DAh / EDh ...

Page 45

... Interrupt Registers and Vectors Location List Table 7 shows all the available ST10F269-T3 interrupt sources and the corresponding hardware-related interrupt flags, vectors, vector locations and trap (interrupt) numbers: Table 7 : Interrupt Sources Source of Interrupt or PEC Service Request CAPCOM Register 0 CAPCOM Register 1 CAPCOM Register 2 ...

Page 46

... ST10F269-T3 Table 7 : Interrupt Sources (continued) Source of Interrupt or PEC Service Request CAPCOM Timer 1 CAPCOM Timer 7 CAPCOM Timer 8 GPT1 Timer 2 GPT1 Timer 3 GPT1 Timer 4 GPT2 Timer 5 GPT2 Timer 6 GPT2 CAPREL Register A/D Conversion Complete A/D Overrun Error ASC0 Transmit ASC0 Transmit Buffer ASC0 Receive ...

Page 47

... Vector RESET RESET RESET NMI NMITRAP STKOF STOTRAP STKUF STUTRAP UNDOPC BTRAP PRTFLT BTRAP ILLOPA BTRAP ILLINA BTRAP ILLBUS BTRAP [002Ch - 003Ch] ST10F269-T3 Reset Value 00h ILVL RW Vector Trap Location Number 00’0000h 00h 00’0000h 00h 00’0000h 00h 00’0008h 02h 00’0010h 04h 00’ ...

Page 48

... ST10F269- CAPTURE/COMPARE (CAPCOM) UNITS The ST10F269-T3 has two 16 channels CAPCOM units as described in Figure 12. These support generation and control of timing sequences channels with a maximum resolution of 250ns at 32MHz CPU clock. The CAPCOM units are typically used to handle high speed I/O tasks such as pulse and waveform generation, pulse ...

Page 49

... TxI when using a 32MHz CPU clock are listed in the Table 10. The numbers for the timer periods are based on a reload value of 0000h. Note that some numbers may be rounded to 3 significant figures. ST10F269-T3 TxIR TxIR , for the timer input Tx clocks ...

Page 50

... ST10F269-T3 Table 9 : Compare Modes Compare Modes Mode 0 Interrupt-only compare mode; several compare interrupts per timer period are possible Mode 1 Pin toggles on each compare match; several compare events per timer period are possible Mode 2 Interrupt-only compare mode; only one compare interrupt per timer period is generated Mode 3 Pin set ‘ ...

Page 51

... Timer Input Selection T2I / T3I / T4I 001b 010b 011b 2MHz 1MHz 500KHz 500ns 1µs 2µs 65.5ms 131ms ST10F269-T3 100b 101b 110b 128 256 512 250KHz 125KHz 62.5KHz 4µs 8µs 16µs 262.1ms 524.3ms 1.05s 111b 1024 31 ...

Page 52

... ST10F269-T3 Figure 15 : Block Diagram of GPT1 T2EUD CPU Clock n 2 n=3...10 T2IN CPU Clock n 2 n=3...10 T3IN T3EUD T4IN CPU Clock n 2 n=3...10 T4EUD 10.2 - GPT2 The GPT2 module provides precise event control and time measurement. It includes two timers (T5, T6) and a capture/reload register (CAPREL). Both ...

Page 53

... T5EUD CPU Clock n 2 n=2...9 T5IN CAPIN T6IN CPU Clock n 2 n=2...9 T6EUD U/D T5 GPT2 Timer T5 Mode Control Clear Capture GPT2 CAPREL T6 GPT2 Timer T6 Mode Control U/D ST10F269-T3 Interrupt Request Interrupt Request Reload Interrupt Request Toggle FF T60TL T6OUT to CAPCOM Timers 53/162 ...

Page 54

... ST10F269- PWM MODULE The pulse width modulation module can generate up to four PWM output signals using edge-aligned or centre-aligned PWM. In addition, the PWM module can generate PWM burst signals and Figure 17 : Block Diagram of PWM Module Clock 1 Input Control Clock 2 Run * User readable / writeable register ...

Page 55

... PARALLEL PORTS 12.1 - Introduction The ST10F269-T3 MCU provides up to 111 I/O lines with programmable capabilities bring very flexible adaptation of this MCU to wide range of applications. ST10F269-T3 has 9 groups of I/O lines gathered as following: – Port time 8-bit port named P0L (Low as less significant Byte) and P0H (high as most sig- nificant Byte) – ...

Page 56

... ST10F269-T3 Figure 18 : SFRs and Pins Associated with the Parallel Ports 56/162 ...

Page 57

... I/O’s Special Features 12.2.1 - Open Drain Mode Some of the I/O ports of ST10F269-T3 support the open drain capability. This programmable feature may be used with an external pull-up resistor, in order to get an AND wired logical function. This feature is implemented for ports P2, P3, P4, ...

Page 58

... ST10F269-T3 Figure 20 : Hysteresis for Special Input Thresholds Hysteresis Input level Bit state 12.2.3 - Output Driver Control The port output control registers POCONx allow to select the port output driver characteristics of a port. The aim of these selections is to adapt the output drivers to the application’s requirements, and to improve the EMI behaviour of the device ...

Page 59

... Reserved 8-bit 3 40h 41h 42h 43h 44h P2.15...12 45h P3.15, 3.13, 3.12 46h 47h 48h 49h ESFR PN1DC RW ST10F269-T3 Controlled Port Nibble 2 1 P0L.7...4 P0H.7...4 P1L.7...4 P1H.7...4 P2.11...8 P2.7...4 P3.11...8 P3.7...4 P4.7...4 P6.7...4 P7.7...4 P8.7...4 Reset Value: --00h PN1EC PN0DC P0L ...

Page 60

... ST10F269-T3 12.2.4 - Alternate Port Functions Each port line has one associated programmable alternate input or output function. – PORT0 and PORT1 may be used as address and data lines when accessing external memory. – Port 2, Port 7 and Port 8 are associated with the capture inputs or compare outputs of the CAP- COM units and/or with the outputs of the PWM module ...

Page 61

... RW RW SFR P0H.7 P0H.6 P0H.5 P0H.4 P0H.3 P0H.2 P0H.1 P0H ESFR DP0L.7 DP0L.6 DP0L.5 DP0L.4 DP0L.3 DP0L.2 DP0L.1 DP0L ESFR DP0H.7 DP0H.6 DP0H.5 DP0H.4 DP0H.3 DP0H.2 DP0H.1 DP0H ST10F269-T3 Reset Value: --00h Reset Value: --00h Reset Value: --00h Reset Value: --00h ...

Page 62

... ST10F269-T3 12.3.1 - Alternate Functions of PORT0 When an external bus is enabled, PORT0 is used as data bus or address/data bus. Note that an external 8-bit demultiplexed bus only uses P0L, while P0H is free for I/O (provided that no other bus mode is enabled). PORT0 is also used to select the system start-up configuration ...

Page 63

... The Figure 22 shows the structure of a PORT0 pin. Alternate 1 Direction MUX 0 Alternate Function Enable Alternate Data Output 1 Port Data MUX Output 0 1 MUX 0 ST10F269-T3 port output latch, otherwise P0H.y P0L.y Output Buffer Clock Input y = 7...0 Latch 63/162 ...

Page 64

... ST10F269-T3 12.4 - PORT1 The two 8-bit ports P1H and P1L represent the higher and lower part of PORT1, respectively. Both halves of PORT1 can be written (via a PEC transfer) without effecting the other half. If this port is used for general purpose I/O, the direction of each line can be configured via the corresponding direction registers DP1H and DP1L ...

Page 65

... The Figure 24 shows the structure of a PORT1 pin. 1 “1” MUX 0 Alternate Function Enable Alternate Data Output 1 Port Data MUX Output 0 Clock 1 MUX Input 0 Latch ST10F269-T3 b) CC27IO CC26IO CC25IO CC24IO CAPCOM2 Capture Inputs only P1H.y P1L.y Output Buffer y = 7...0 65/162 ...

Page 66

... ST10F269-T3 12.5 - Port 2 If this 16-bit port is used for general purpose I/O, the direction of each line can be configured via the corresponding direction register DP2. Each port line can be switched into push/pull or open drain mode via the open drain control register ODP2. ...

Page 67

... EX6IN Fast External Interrupt 6 Input EX7IN Fast External Interrupt 7 Input a) CC15IO CC14IO CC13IO CC12IO CC11IO CC10IO CC9IO CC8IO CC7IO CC6IO CC5IO CC4IO CC3IO CC2IO CC1IO CC0IO CAPCOM1 Fast External Interrupt Input ST10F269-T3 Alternate Function T7IN T7 External Count Input b) c) EX7IN T7IN ...

Page 68

... ST10F269-T3 The pins of Port 2 combine internal bus data with alternate data output before the port latch input. Figure 26 : Block Diagram of a Port 2 Pin Write ODP2.y Open Drain Latch Read ODP2.y Write DP2.y Direction Latch Read DP2.y 1 MUX Alternate 0 Data Output Write Port P2.y Compare Trigger Read P2 ...

Page 69

... SFR P3.8 P3.7 P3 SFR DP3 DP3 DP3 DP3 DP3 . ESFR ODP3 ODP3 ODP3 ODP3 ODP3 . ST10F269-T3 Reset Value: 0000h P3.5 P3.4 P3.3 P3.2 P3 Reset Value: 0000h DP3 DP3 DP3 DP3 DP3 . Reset Value: 0000h ODP3 ODP3 ODP3 ODP3 ODP3 . ...

Page 70

... ST10F269-T3 12.6.1 - Alternate Functions of Port 3 The pins of Port 3 serve for various functions which include external timer control lines, the two serial interfaces and the control lines BHE/WRH and CLKOUT. Table 16 : Port 3 Alternative Functions Port 3 Pin P3.0 T0IN CAPCOM1 Timer 0 Count Input P3 ...

Page 71

... Note: Enabling the CLKOUT function automati- cally enables the P3.15 output driver. Set- ting bit DP3.15=’1’ is not required. Alternate Data Output Port Data & Output 1 MUX 0 Alternate Data Input ST10F269-T3 P3.y Output Buffer Clock Input Latch y = 13, 11...0 71/162 ...

Page 72

... ST10F269-T3 Pin P3.12 (BHE/WRH) is another pin with an alternate output function, however, its structure is slightly different. After reset the BHE or WRH function must be used depending on the configuration. In either of these cases, there is no Figure 29 : Block Diagram of Pins P3.15 (CLKOUT) and P3.12 (BHE/WRH) Write DP3.x ...

Page 73

... Note: Only bit 6 and 7 are implemented, all other bit will be read as “0”. SFR P4.7 P4 SFR DP4.7 DP4.6 DP4.5 DP4.4 DP4.3 DP4.2 DP4.1 DP4 ESFR ODP4.7 ODP4 ST10F269-T3 Reset Value: --00h P4.5 P4.4 P4.3 P4.2 P4 Reset Value: --00h Reset Value: --00h ...

Page 74

... ST10F269-T3 12.7.1 - Alternate Functions of Port 4 During external bus cycles that use segmentation (address space above 64K Bytes) a number of Port 4 pins may output the segment address lines. The number of pins that is used for segment address output determines the external address space which is directly accessible. The other pins of Port 4 may be used for general purpose I/O ...

Page 75

... Figure 31 : Block Diagram of a Port 4 Pin Write DP4.y Direction Latch Read DP4.y Write P4.y Port Output Latch Read P4.y 1 “1” MUX 0 Alternate Function Enable Alternate Data 1 Output MUX 0 1 MUX 0 ST10F269-T3 P4.y Output Buffer Clock Input Latch y = 7...0 75/162 ...

Page 76

... ST10F269-T3 Figure 32 : Block Diagram of P4.4 and P4.5 Pins Write DP4.x Direction Latch Read DP4.x Write P4.x Port Output Latch Read P4.x CANy.RxD XPERCON.a (CANyEN) XPERCON.b (CANzEN) 76/162 1 “1” MUX 0 “0” 1 MUX Alternate Function 0 Enable Alternate Data 1 Output MUX 0 1 MUX 0 & ...

Page 77

... MUX 0 1 "0" MUX Alternate Function 0 Enable Alternate 1 Data Output MUX 0 1 MUX 0 ≤ 1 SFR P5.8 P5 ST10F269-T3 1 MUX MUX 0 1 "1" MUX MUX 0 1 MUX MUX 0 Output Buffer Clock Input Latch (CAN Channel Reset Value: XXXXh P5.6 P5.5 P5.4 P5.3 P5 ...

Page 78

... ST10F269-T3 12.8.1 - Alternate Functions of Port 5 Each line of Port 5 is also connected to one of the multiplexer of the Analog/Digital Converter. All port lines (P5.15...P5.0) can accept analog signals (AN15...AN0 converted by the ADC. No special programming is required for pins that Table 18 : Port 5 Alternate Functions ...

Page 79

... DIS.10 DIS.9 DIS.8 DIS.7 DIS SFR P6.7 P6 SFR DP6.7 DP6.6 DP6.5 DP6.4 DP6.3 DP6.2 DP6.1 DP6 ST10F269-T3 Analog Switch P5.y/ANy y = 15...0 Reset Value: 0000h P5DI P5DI P5DI P5DI DIS.5 DIS.4 DIS.3 DIS Reset Value: --00h P6.5 P6.4 P6.3 P6 Reset Value: --00h ...

Page 80

... ST10F269-T3 DP6.y Port Direction Register DP6 Bit y DP6 Port line P6 input (high impedance) DP6 Port line P6 output ODP6 (F1CEH / E7H ODP6.y Port 6 Open Drain Control Register Bit y ODP6 Port line P6.y output driver in push-pull mode ODP6 Port line P6.y output driver in open drain mode 12 ...

Page 81

... CS0 will be in push/pull output driver mode directly after reset. 1 MUX MUX "0" "1" MUX 0 Alternate Function Enable Alternate 1 Data Output MUX 0 1 MUX 0 ST10F269-T3 P6.y Output Buffer Clock Input Latch y = (0... 81/162 ...

Page 82

... ST10F269-T3 Figure 38 : Block Diagram of Pin P6.5 (HOLD) Write ODP6.5 Open Drain Latch Read ODP6.5 Write DP6.5 Direction Latch Read DP6.5 Write P6.5 Port Output Latch Read P6.5 Alternate Data Input 82/162 Clock 1 MUX Input 0 Latch P6.5/HOLD Output Buffer ...

Page 83

... ODP7 Port line P7.y output driver in open drain mode SFR P7.7 P7 SFR DP7.7 DP7.6 DP7.5 DP7.4 DP7.3 DP7.2 DP7.1 DP7 ESFR ODP7.7 ODP7.6 ODP7.5 ODP7.4 ODP7.3 ODP7.2 ODP7.1 ODP7 ST10F269-T3 Reset Value: --00h P7.5 P7.4 P7.3 P7.2 P7 Reset Value: --00h Reset Value: --00h ...

Page 84

... ST10F269-T3 12.10.1 - Alternate Functions of Port 7 The upper 4 lines of Port 7 (P7.7...P7.4) serve as capture inputs or compare (CC31IO...CC28IO) for the CAPCOM2 unit. The usage of the port lines by the CAPCOM unit, its accessibility via software and the precautions are the same as described for the Port 2 lines. ...

Page 85

... Latch Read P7.y EXOR the alternate data output with the port latch output, which allows to use the alternate data directly or inverted at the pin driver. Alternate Data Output =1 Port Data Output EXOR 1 MUX 0 ST10F269-T3 P7.y/POUTy Output Buffer Clock Input Latch y = 0...3 85/162 ...

Page 86

... ST10F269-T3 Figure 41 : Block Diagram of Port 7 Pins P7.7...P7.4 Write ODP7.y Open Drain Latch Read ODP7.y Write DP7.y Direction Latch Read DP7.y 1 MUX Alternate 0 Data Output Write Port P7.y Compare Trigger Read P7.y 86/162 Output Latch ≥ MUX 0 Alternate Latch Data Input ...

Page 87

... ODP8. SFR P8.7 P8 SFR DP8.7 DP8.6 DP8.5 DP8.4 DP8.3 DP8.2 DP8.1 DP8 ESFR ODP8.7 ODP8.6 ODP8.5 ODP8.4 ODP8.3 ODP8.2 ODP8.1 ODP8 ST10F269-T3 Reset Value: --00h P8.5 P8.4 P8.3 P8.2 P8 Reset Value: --00h Reset Value: --00h ...

Page 88

... ST10F269-T3 12.11.1 - Alternate Functions of Port 8 The 8 lines of Port 8 serve as capture inputs or as compare outputs (CC23IO...CC16IO) for the CAPCOM2 unit. The usage of the port lines by the CAPCOM unit, its accessibility via software and the precautions are the same as described for the Port 2 lines. ...

Page 89

... Port 2 pins. Output Latch ≥ MUX 0 Alternate Latch Data Input Alternate Pin Data Input ST10F269-T3 P8.y CCzIO Output Buffer Clock Input Latch y = (7... (16...23) 89/162 ...

Page 90

... For applications which require less than 16 analog input channels, the remaining channel inputs can be used as digital input port pins. The A/D converter of the ST10F269-T3 supports different conversion modes: – Single channel single conversion: the analog level of the selected channel is sampled once and converted ...

Page 91

... Reload Register 2 Baud Rate Timer S0M S0STP S0FE Clock Serial Port Control Shift Clock Receive Shift Register Receive Buffer Register S0RBUF Register S0TBUF Internal Bus ST10F269- supported in CPU 16 S0PE S0OE Receive Interrupt S0RIR Request Transmit Interrupt S0TIR Request Error Interrupt S0EIR ...

Page 92

... ST10F269-T3 Asynchronous Mode Baud rates For asynchronous operation, the Baud rate generator provides a clock with 16 times the rate of the established Baud rate. Every received bit is sampled at the 7th, 8th and 9th cycle of this clock. The Baud rate for asynchronous operation of serial channel ASC0 and the required reload value for a given Baud ...

Page 93

... ASCO in Synchronous Mode In synchronous mode, data are transmitted or received synchronously to a shift clock which is generated by the ST10F269-T3. Half-duplex communication up to 4MBaud (at 32MHz of f mode. Figure 45 : Synchronous Mode of Serial Channel ASC0 CPU Clock S0R S0REN S0OEN Output S0LB TDX0/P3.10 Pin Input/Output Receive RXD0/P3 ...

Page 94

... ST10F269-T3 Synchronous Mode Baud Rates For synchronous operation, the Baud rate generator provides a clock with 4 times the rate of the established Baud rate. The Baud rate for synchronous operation of serial channel ASC0 can be determined by the following formula: f CPU B = Sync (S0BRS)] x [(S0BRL CPU ...

Page 95

... High Speed Synchronous Serial Channel (SSC) The High-Speed Synchronous Serial Interface SSC provides flexible communication between the ST10F269-T3 and other microcontrollers, microprocessors external peripherals. The SSC supports full-duplex and half-duplex synchronous communication. The serial clock signal can be generated by the SSC itself (master ...

Page 96

... ST10F269-T3 Baud Rate Generation The Baud rate generator is clocked by f stopped through the global enable bit SSCEN in register SSCCON. Register SSCBR is the dual-function Baud Rate Generator/Reload register. Reading SSCBR, while the SSC is enabled, returns the content of the timer. Reading SSCBR, while the SSC is disabled, returns the programmed reload value. In this mode the desired reload value can be written to SSCBR ...

Page 97

... Bytes (1M Byte per CS line). 15.2 - CAN Bus Configurations Depending on application, CAN bus configuration may be one single bus with a single or multiple interfaces or a multiple bus with a single or multiple interfaces. The ST10F269-T3 is able to support these 2 cases. Single CAN Bus The single CAN ...

Page 98

... RxD TxD * CAN Transceiver CAN_H CAN bus CAN_H * Open drain output 98/162 Multiple CAN Bus The ST10F269-T3 provides 2 CAN interfaces to support such kind of bus configuration as shown in Figure 49. Figure 49 : Connection to Two Different CAN Buses (e.g. for gateway application) * +5V 2.7kΩ CAN_H CAN_H ...

Page 99

... RTCOFF bit of RTCCON register, the user may switch off the clock oscillator when entering the power down mode RTCAI RTCSI RTCCON Basic Clock IT Programmable PRESCALER Register RTCAL RTCPH Reload = RTCDH RTCL ST10F269-T3 CCxIC - - - - - - Clock Oscillator RTCPL RTCDL /64 20 bit DIVIDER 99/162 ...

Page 100

... ST10F269-T3 16.1 - RTC registers 16.1.1 - RTCCON: RTC Control Register The functions of the RTC are controlled by the RTCCON control register. If the RTOFF bit is set, the RTC dividers and counters clock is disabled and registers can be written, when the ST10 chip enters power down mode the clock oscillator will be switch off. The RTC has 2 interrupt sources, one is triggered every basic clock period, the other one is the alarm ...

Page 101

... PRESCALER register, the new value is loaded in the DIVIDER. RTCDL (EC0Ah RTCDH (EC0Ch Note: Those registers are not reset, and are read only. XBUS RTCPL RW XBUS RESERVED RTCPL bit word counter XBUS RTCDL R XBUS RESERVED ST10F269-T3 Reset Value: XXXXh Reset Value: --- RTCPH Reset Value: XXXXh Reset Value: --- RTCDH 101/162 ...

Page 102

... ST10F269-T3 When RTCD increments to reach 00000h, The 20-bit word stored into RTCPH, RTCPL registers is loaded in RTCD. Figure 53 : DIVIDER Counters RTCDH Bit 15 to bit 4 of RTCPH and RTCDH are not used. When reading, the return value of those bit will be zeros. 16.1.4 - RTCH & RTCL: RTC Programmable COUNTER Registers The RTC has 2 x 16-bit programmable counters which count rate is based on the basic time reference (for example 1 second) ...

Page 103

... Alarm interrupt request (RTCAI) is linked with EXI3SS. 3. Timed interrupt request (RTCSI) is linked with EXI2SS. XBUS RTCAL RW XBUS RTCAH RW ESFR EXI5ES EXI4ES EXI3ES ESFR EXI5SS EXI4SS EXI3SS ST10F269-T3 Reset Value: XXXXh Reset Value: XXXXh Reset Value: 0000h EXI2ES EXI1ES RW RW Reset Value: 0000h EXI2SS EXI1SS ...

Page 104

... ST10F269-T3 Interrupt control registers are common with CAPCOM1 Unit: CC10IC (RTCSI) and CC11IC (RTCAI). CCxIC CC10IC: FF8Ch/C6h CC11IC: FF8Eh/C7h Source of interrupt Request Flag External interrupt 2 CC10IR External interrupt 3 CC11IR 104/162 SFR CCxIR CCxIE RW RW Enable Flag Interrupt Vector CC10IE CC10INT CC11IE ...

Page 105

... Notes: 1. More than one reset indication flag may be set. After EINIT, all flags are cleared. 2. Power-on is detected when a rising edge from V 3. These bits cannot be directly modified by software. SFR PONR LHWR SHWR HR /2. CPU /128. CPU = > 2 recognized on the internal 2.7V supply ST10F269-T3 Reset Value: 00xxh SWR WDTR WDTIN 105/162 0 RW ...

Page 106

... ST10F269-T3 The PONR flag of WDTCON register is set if the output voltage of the internal 2.7V supply falls below the threshold (typically 2V) of the power-on detection circuit. This circuit is efficient to detect major failures of the external 5V supply but if the internal 2.7V supply does not drop under 2 volts, the PONR flag is not set ...

Page 107

... RSTIN pin is low or when RSTIN pin TCL 5 TCL Reset Configuration Latching point of PORT0 for system start-up configuration ST10F269-T3 Conditions Power-on t > 1040 TCL RSTIN 4 TCL < t < 1038 TCL RSTIN WDT overflow SRST execution voltage drops below the RPD 9 1st Instruction External Fetch EXTERNAL FETCH 107/162 ...

Page 108

... ST10F269-T3 Figure 55 : Asynchronous Reset Sequence Internal Fetch CPU Clock Asynchronous Reset Condition RSTIN RPD RSTOUT PORT0 PLL factor latch command Internal reset signal INTERNAL FETCH Flash read signal Note: 1) RSTIN rising edge to internal latch of PORT0 is 3 CPU clock cycles (6 TCL) if the PLL is bypassed and the prescaler is on ...

Page 109

... RSTIN pin level is sampled high while RPD level is high. 1 1024 TCL 2) Internally pulled low If V > 2.5V Asynchronous RPD 3) Reset is not entered. Reset Configuration voltage drops below the threshold voltage (typically 2.5V for 5V operation), the RPD ST10F269- TCL TCL Latching point of PORT0 ...

Page 110

... ST10F269-T3 The short hardware reset ends and the MCU restarts.To be processed as a short hardware reset, the external RSTIN signal must last a maximum of 1038 TCL (4 TCL + 10 TCL + 1024 TCL). The system configuration is latched from PORT0 after a duration of 8 TCL / 4 CPU clocks (6 TCL / 3 CPU clocks if PLL is bypassed) and in case of external fetch, ALE, RD and R/W pins are driven to their inactive level ...

Page 111

... If bit PWDCFG of SYSCON register is set, an internal pull-up resistor is activated at the end of the reset sequence. This pull-up charges the capacitor connected to RPD pin. If the bidirectional reset function is not used, the simplest way to reset ST10F269- connect external components as shown in Figure 59. It works with reset from application (hardware or manual) and with power-on. The value of C1 capacitor, connected on RSTIN pin with internal pull-up resistor (50kΩ ...

Page 112

... On power-on totally discharged, a low level on RPD pin forces an asynchronous hardware reset. C0 capacitor starts to charge through R0 and at the end of reset sequence ST10F269-T3 restarts. RPD pin threshold is typically 2.5V. Depending on the delay of the next applied reset, the MCU can enter a synchronous reset or an asynchronous reset ...

Page 113

... WRCFG BUS ALE - 4 4 ACT0 CTL0 1 To Port 4 Logic To Port 6 Logic X External Hardware a) a) Manual hardware reset1 b) For automatic power-up and interruptible power-down mode V DD External D1 Hardware External Reset Source PORT0 BSL BTYP BTYP Internal X ST10F269- ADP EMU Internal Internal 113/162 ...

Page 114

... ST10F269- POWER REDUCTION MODES Two different power reduction modes with different levels of power reduction have been implemented in the ST10F269-T3. In Idle mode only CPU is stopped, while peripheral still operate. In Power Down mode both CPU and peripherals are stopped. Both mode are software activated by a protected instruction and are terminated in different ways as described in the following sections ...

Page 115

... If the interrupt was disabled, the device executes the instruction following PWRDN instruction, and C0 the Interrupt Request Flag (bit CCxIR in the respective CCxIC register) remains set until it is 1µF Typical cleared by software. Note: ST10F269-T3 Reset Value: 0000h EXI2ES EXI1ES ...

Page 116

... ST10F269-T3 Figure 62 : Simplified Powerdown Exit Circuitry enter PowerDown external interrupt reset Figure 63 : Powerdown Exit Sequence When Using an External Interrupt (PLL x 2) XTAL1 CPU clk Internal Powerdown signal External Interrupt RPD ExitPwrd (internal) 116/162 V DD stop pll D Q stop oscillator System clock ...

Page 117

... SPECIAL FUNCTION REGISTER OVERVIEW The following table lists all SFRs which are implemented in the ST10F269-T3 in alphabetical order. Bit-addressable SFRs are marked with the letter “b” in column “Name”. SFRs within the Extended SFR-Space (ESFRs) are marked with the letter “E” in column “Physical Address”. ...

Page 118

... ST10F269-T3 Table 31 : Special Function Registers Listed by Name (continued) Physical Name address CC9 FE92h CC9IC b FF8Ah CC10 FE94h CC10IC b FF8Ch CC11 FE96h CC11IC b FF8Eh CC12 FE98h CC12IC b FF90h CC13 FE9Ah CC13IC b FF92h CC14 FE9Ch CC14IC b FF94h CC15 FE9Eh CC15IC b FF96h CC16 FE60h ...

Page 119

... MAC Unit Accumulator - Low Word EEh MAC Unit Control Word 87h CPU Multiply Divide Control Register 06h CPU Multiply Divide Register – High Word 07h CPU Multiply Divide Register – Low Word ST10F269-T3 Description Reset value 0000h - - 00h 0000h - - 00h 0000h ...

Page 120

... ST10F269-T3 Table 31 : Special Function Registers Listed by Name (continued) Physical Name address MRW b FFDAh MSW b FFDEh ODP2 b F1C2h E ODP3 b F1C6h E ODP4 b F1CAh E ODP6 b F1CEh E ODP7 b F1D2h E ODP8 b F1D6h E ONES b FF1Eh P0L b FF00h P0H b FF02h P1L b FF04h P1H b FF06h P2 b FFC0h P3 b FFC4h ...

Page 121

... SSC Receive Interrupt Control Register 58h SSC Transmit Buffer (write only) B9h SSC Transmit Interrupt Control Register 0Ah CPU Stack Overflow Pointer Register 0Bh CPU Stack Underflow Pointer Register 89h CPU System Configuration Register ST10F269-T3 Description Reset value 0000h 0000h 0000h 0000h 0000h 0000h 0000h ...

Page 122

... ST10F269-T3 Table 31 : Special Function Registers Listed by Name (continued) Physical Name address T0 FE50h T01CON b FF50h T0IC b FF9Ch T0REL FE54h T1 FE52h T1IC b FF9Eh T1REL FE56h T2 FE40h T2CON b FF40h T2IC b FF60h T3 FE42h T3CON b FF42h T3IC b FF62h T4 FE44h T4CON b FF44h T4IC b FF64h T5 FE46h T5CON b FF46h ...

Page 123

... Device Identifier - 10Dh: ST10F269-T3 identifier. 1 IDMEM (F07Ah / 3Dh MEMTYP R MEMSIZE Internal Memory Size is calculated using the following formula: Size = 4 x [MEMSIZE] (in K Byte) - 040h for ST10F269-T3 (256K Byte) MEMTYP Internal Memory Type - 3h for ST10F269-T3 (Flash memory). 1 IDPROG (F078h / 3Ch PROGVPP R PROGVDD ...

Page 124

... ST10F269-T3 20.2 - System Configuration Registers The ST10F269-T3 has registers used for different configuration of the overall system. These registers are described below. SYSCON (FF12h / 89h STKSZ ROMS1 SGTDIS ROMEN BYTDIS CLKEN WRCFG CSCFG Notes: 1. These bit are set directly or indirectly according to PORT0 and EA pin configuration during reset sequence. ...

Page 125

... CSWEN3 CSREN3 RDYPOL3 RDYEN3 SFR BUS ACT0 ALE CTL0 SFR BUSACT1 ALECTL1 SFR BUSACT2 ALECTL2 SFR BUSACT3 ALECTL3 ST10F269-T3 Reset Value: 0xx0h BTYP MTTC0 RWDC0 Reset Value: 0000h BTYP MTTC1 RWDC1 Reset Value: 0000h BTYP MTTC2 RWDC2 Reset Value: 0000h BTYP ...

Page 126

... ST10F269-T3 BUSCON4 (FF1Ah / 8Dh CSWEN4 CSREN4 RDYPOL4 RDYEN4 Notes: 1. BTYP (bit 6 and 7) are set according to the configuration of the bit l6 and l7 of PORT0 latched at the end of the reset sequence. 2. BUSCON0 is initialized with 0000h pin is high during reset pin is low during reset, bit BUSACT0 and ALECTRL0 are set (’ ...

Page 127

... RP0H default value is "FFh". 2. These bits are set according to Port 0 configuration during any reset sequence. 3. RP0H is a read only register. ESFR CLKSEL OSC = 0 OSC = 1 OSC = f OSC = OSC = OSC = OSC = OSC ST10F269-T3 Reset Value: --XXH SALSEL CSSEL WRC 2 R 127/162 ...

Page 128

... ST10F269-T3 EXICON (F1C0h / E0h EXI7ES EXI6ES RW RW EXIxES(x=7...0) External Interrupt x Edge Selection Field (x=7... Fast external interrupts disabled: standard mode EXxIN pin not taken in account for entering/exiting Power Down mode Interrupt on positive edge (rising) Enter Power Down mode if EXiIN = ‘0’, exit if EXxIN = ‘1’ (referred as ‘high’ active level) ...

Page 129

... CAN1EN and CAN2EN are ’0’ also ’1’: The on-chip Real Time Clock is enabled and can be accessed. SFR Area xxIR xxIE RW RW Function ESFR RTCEN RW ST10F269-T3 Reset Value: --00h ILVL RW Reset Value: --05h XRAM2EN XRAM1EN CAN2EN GLVL RW 0 CAN1EN RW 129/162 ...

Page 130

... ST10F269-T3 When both CAN are disabled via XPERCON setting, then any access in the address range 00’EE00h - 00’EFFFh will be directed to external memory interface, using the BUSCONx register corresponding to address matching ADDRSELx register. P4.4 and P4.7 can be used as General Purpose I/O when CAN2 is not enabled, and P4.5 and P4 ...

Page 131

... Absolute Maximum Ratings. 21.2 - Parameter Interpretation The parameters listed in the following tables represent the characteristics of the ST10F269-T3 and its demands on the system. Where the ST10F269-T3 logic provides signals with their respective timing characteristics, the symbol “CC” for Controller Characteristics, is included in the “Symbol” column. ...

Page 132

... Notes: 1. ST10F269-T3 pins are equipped with low-noise output drivers which significantly improve the device’s EMI performance. These low-noise drivers deliver their maximum current only until the respective target output level is reached. After this, the output current ...

Page 133

... Guaranteed by design characterization.. Figure 64 : Supply / Idle Current as a Function of Operating Frequency I [mA] 100 < -0.5V). The absolute sum of input overload currents on all port pins may not exceed 50mA. The OV =25°C, 20µ =85°C and 60µ ST10F269-T3 |100| mA =125°C. A 93.6mA 52mA 30 f CPU . I ...

Page 134

... ST10F269-T3 21.3.1 - A/D Converter Characteristics , ± 10 Table 32 : A/D Converter Characteristics Symbol V SR Analog Reference voltage AREF V SR Analog input voltage AIN I CC Reference supply current AREF running mode power-down mode C CC ADC input capacitance AIN Not sampling Sampling t CC Sample time ...

Page 135

... A complete conversion will take 14 t time includes the conversion itself, the sample time and the time required to transfer the digital value to the result register. clock. This allows adjusting the A/D converter of the ST10F269-T3 to the properties of the system: started, first the Fast programming the respective times to their absolute possible minimum ...

Page 136

... For timing purposes a port pin is no longer floating when V It begins to float when a 100mV change from the loaded V 21.4.2 - Definition of Internal Timing The internal operation of the ST10F269-T3 is controlled by the internal CPU clock f edges of the CPU clock can trigger internal (for example pipeline) or external (for example bus cycles) operations ...

Page 137

... XTAL 16MHz XTAL 6.4MHz XTAL 32MHz XTAL f x 1.5 6.67 to 21.33MHz XTAL 64MHz XTAL 12.8MHz XTAL and V IL ST10F269-T3 TCL TCL TCL TCL TCL TCL 1 Notes Default configuration 2 Direct drive CPU clock via prescaler . IH2. 3 137/162 ...

Page 138

... Oscillator Watchdog. If bit OWDDIS is set, then the PLL is switched off. 138/162 21.4.6 - Oscillator Watchdog (OWD) An on-chip watchdog oscillator is implemented in the ST10F269-T3. This feature is used for safety operation with external crystal oscillator (using direct drive mode with or without prescaler). This (i.e. the CPU watchdog oscillator operates as following: ...

Page 139

... XTAL CPU Minimum Maximum Minimum 1 31.25 – 15.625 2 12.5 – 6.25 2 12.5 – 6.25 2 – 3.125 – 2 – 3.125 – and IH2 ST10F269- 3/15 = 3.8% = 3TCL 3.8/100) min NOM = 3TCL x 0.962 NOM = 45.1ns ( 32MHz) min CPU ≤ 32MHz. CPU CPU XTAL = XTAL ...

Page 140

... ST10F269-T3 Figure 69 : External Clock Drive XTAL1 21.4.9 - Memory Cycle Variables The tables below use three variables which are derived from the BUSCONx registers and represent the special characteristics of the programmed memory cycle. The following table describes, how these variables are to be computed. ...

Page 141

... C 36.875 + t – C – 11. – 26.875 + t – 26.875 + t – 32 – – 17. 11. – C 17. – F 17. – F ST10F269-T3 Variable CPU Clock 1/2 TCL = 1 to 32MHz Minimum Maximum TCL - TCL - 15 TCL - TCL - - – – TCL + 6 2TCL - 3TCL - – 2TCL - 20 – 3TCL - 20 – ...

Page 142

... ST10F269-T3 Table 35 : Multiplexed Bus Characteristics Symbol Parameter t Address/Unlatched CS hold 27 after RD ALE falling edge to Latched Latched CS low to Valid Data Latched CS hold after RD ALE fall. edge to RdCS, WrCS 42 (with RW delay ALE fall. edge to RdCS, WrCS 43 (no RW delay Address float after RdCS, 44 WrCS (with RW delay) ...

Page 143

... Figure 70 : External Memory Cycle: Multiplexed Bus, With / Without Read / Write Delay, Normal ALE CLKOUT ALE t 6 CSx A23-A16 (A15-A8) BHE Read Cycle Address/Data Bus (P0) RD Write Cycle Address/Data Bus (P0) WR WRL WRH Address Address Address ST10F269- Data In Address Data Out 143/162 ...

Page 144

... ST10F269-T3 Figure 71 : External Memory Cycle: Multiplexed Bus, With / Without Read / Write Delay, Extended ALE CLKOUT t 5 ALE t 6 CSx t 6 A23-A16 (A15-A8) BHE Read Cycle t 6 Address/Data Bus (P0) RD Write Cycle Address/Data Bus (P0) WR WRL WRH 144/162 Address t 7 Address Address ...

Page 145

... Figure 72 : External Memory Cycle: Multiplexed Bus, With / Without Read / Write Delay, Normal ALE, Read / Write Chip Select CLKOUT ALE t A23-A16 (A15-A8) BHE Read Cycle Address/Data Bus (P0) RdCSx Write Cycle Address/Data Bus (P0) WrCSx Address Address Address ST10F269- Address Data Data Out 145/162 ...

Page 146

... ST10F269-T3 Figure 73 : External Memory Cycle: Multiplexed Bus, With / Without Read / Write Delay, Extended ALE, Read / Write Chip Select CLKOUT t ALE t 6 A23-A16 (A15-A8) BHE Read Cycle t 6 Address/Data Bus (P0) RdCSx Write Cycle Address/Data Bus (P0) WrCSx 146/162 Address t 7 Address Address Data In ...

Page 147

... C 5.625 + > – 26.875 + t 2t ST10F269-T3 Variable CPU Clock 1/2 TCL = 1 to 32MHz Minimum Maximum – TCL - 10 – TCL - 15 – 2TCL - – TCL - – 2TCL - – 3TCL - – 2TCL - – 3TCL - – 3TCL - ...

Page 148

... ST10F269-T3 Table 36 : Demultiplexed Bus Characteristics Symbol Parameter t CC Latched CS hold after RD Address setup to RdCS, 82 WrCS (with RW-delay Address setup to RdCS, 83 WrCS (no RW-delay RdCS to Valid Data In 46 (with RW-delay RdCS to Valid Data In 47 (no RW-delay RdCS, WrCS Low Time 48 (with RW-delay RdCS, WrCS Low Time ...

Page 149

... Figure 74 : External Memory Cycle: Demultiplexed Bus, With / Without Read / Write Delay, Normal ALE CLKOUT ALE CSx A23-A16 A15-A0 (P1) BHE Read Cycle Data Bus (P0) (D15-D8) D7-D0 RD Write Cycle Data Bus (P0) (D15-D8) D7-D0 WR WRL WRH Note: 1. Un-latched CSx = TCL =10 41u Address Data Out ST10F269- 41u 28h t 18 Data 149/162 ...

Page 150

... ST10F269-T3 Figure 75 : External Memory Cycle: Demultiplexed Bus, With / Without Read / Write Delay, Extended ALE CLKOUT t ALE t CSx A23-A16 A15-A0 (P1) BHE Read Cycle Data Bus (P0) (D15-D8) D7-D0 RD Write Cycle Data Bus (P0) (D15-D8) D7-D0 WR WRL WRH 150/162 Address Data Data Out ...

Page 151

... Figure 76 : External Memory Cycle: Demultiplexed Bus, With / Without Read / Write Delay, Normal ALE, Read / Write Chip Select CLKOUT ALE A23-A16 A15-A0 (P1) BHE Read Cycle Data Bus (P0) (D15-D8) D7-D0 RdCSx Write Cycle Data Bus (P0) (D15-D8) D7-D0 WrCSx Address Data Out ST10F269- Data 151/162 ...

Page 152

... ST10F269-T3 Figure 77 : External Memory Cycle: Demultiplexed Bus, no Read / Write Delay, Extended ALE, Read / Write Chip Select CLKOUT t ALE A23-A16 A15-A0 (P1) BHE Read Cycle Data Bus (P0) (D15-D8) D7-D0 RdCSx Write Cycle Data Bus (P0) (D15-D8) D7-D0 WrCSx 152/162 Address Data Data Out ...

Page 153

... A 14 – 4 – 45.25 – 14 – – refers to the current bus cycle. F ST10F269-T3 Variable CPU Clock 1/2TCL = 1 to 32MHz Minimum Maximum 2TCL 2TCL TCL – 6 – TCL – 10 – – 4 – – 4 – 2TCL + 14 – 14 – 4 – ...

Page 154

... ST10F269-T3 Figure 78 : CLKOUT and READY t 32 CLKOUT ALE RD, WR Synchronous READY t 58 Asynchronous READY 3) Notes: 1. Cycle as programmed, including MCTC wait states (Example shows 0 MCTC WS). 2. The leading edge of the respective command depends on RW-delay. 3. READY sampled HIGH at this sampling point generates a READY controlled wait state, READY sampled LOW at this sampling point terminates the currently running bus cycle ...

Page 155

... HOLD HLDA BREQ CSx (P6.x) Others Notes: 1. The ST10F269-T3 will complete the currently running bus cycle before granting bus access. 2. This is the first possibility for BREQ to become active. 3. The CS outputs will be resistive high (pull-up) after = -40 to +125° 50pF L Maximum CPU Clock ...

Page 156

... Notes: 1. This is the last chance for BREQ to trigger the indicated regain-sequence. Even if BREQ is activated earlier, the regain-sequence is initiated by HOLD going high. Please note that HOLD may also be de-activated without the ST10F269-T3 requesting the bus. 2. The next ST10F269-T3 driven bus cycle may start here. ...

Page 157

... TCL * (<SSCBR> 300 t t 301 302 t t 304 303 t t 305 306 1st Out Bit 2nd Out Bit t 308 2nd.In Bit ST10F269-T3 = 50pF L Variable Baud rate (<SSCBR>=0001h-FFFFh) Unit Maximum Minimum Maximum – 8 TCL 262144 TCL – 300 t – 300 10 – ...

Page 158

... ST10F269-T3 21.4.14.2 Slave mode ±10 0V, CPU clock = 32MHz Symbol Parameter t SR SSC clock cycle time 310 t SR SSC clock high time 311 t SR SSC clock low time 312 t SR SSC clock rise time 313 t SR SSC clock fall time 314 t CC Write data valid after shift edge ...

Page 159

... ST10F269-T3 www.st.com. ECOPACK® 0,076 mm 0.03 inch SEATING PLANE 0,25 mm .010 inch GAGE PLANE K Inches (approx) Minimum Typical Maximum 0.002 ...

Page 160

... ST10F269- ORDERING INFORMATION Salestype ST10F269-T3 160/162 Temperature range -40° 125°C Package LQFP144 ( 1.40 mm) ...

Page 161

... DATASHEET VERSION INFORMATION Date Revision Mar-2003 1 29-Jan-2009 2 Description of change Initial release Added document revision number on page 1. Replaced TQFP with LQFP throughout document. Added ECOPACK® information. Added datasheet version information. ST10F269-T3 161/162 ...

Page 162

... Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States Please Read Carefully: © 2009 STMicroelectronics - All rights reserved STMicroelectronics group of companies of America www.st.com ST10F269-T3 162/162 ...

Related keywords