Details, datasheet, quote on part number: TMS320F240
CategorySemiconductors => Microcontrollers (MCU) => Performance MCUs => Real-time Control => C24x 16-bit Series
Part familyTMS320F240 16-bit, 5V fixed point DSP w/ Flash
TitleTMS320 Family
Description16-bit, 5V fixed point DSP w/ Flash 132-BQFP 0 to 70
CompanyTexas Instruments, Inc.
ROHSNot Compliant
DatasheetDownload TMS320F240 datasheet
Find where to buy
  Mecanical Data
Pin nbPackage typeInd stdJEDEC codePackage qtyCarrierDevice markWidth (mm)Length (mm)Thick (mm)Pitch (mm)
132PQBQFPS-PQFP-GTMS320F240PQ 24.1327.443.56.635
Application notes
• A Software Modularity Strategy for Digital Control Systems | Doc
• Code Composer Studio™ IDE v2.2 Profiler
This application note will outline and discuss the Code Composer Studio Profiler and how to use it in accurately profiling an application. We will explain the various types of profiling and will detail the differences between simulator profiling and emulat | Doc
• A Variable-Speed Sensorless Drive System for Switched Reluctance Motors
With the advent of high-speed digital signal processors (DSPs) specialized for motion control applications, it has become possible to control motors without mechanical (speed or position) sensors. This is achieved by algorithms that estimate the desired qu | Doc
• Implementation of Speed Field Oriented Control of 3-Phase PMSM Motor Using 'F240
This application report presents a solution to control a 3-phase Permanent Magnet Synchronous motor using the Texas Instruments (TItm) TMS320F240 digital signal processor (DSP). This processor is part of a new family of DSPs that enable cost-effective desi | Doc
• 3 Phase Current Measurements Using a Single Line Resistor on TMS320F240
Most inverter control systems require a knowledge of the phase currents. The simplest method of obtaining these currents is to measure them directly. Depending on the motor winding connections, this requires at least two sensors to be applied directly to t | Doc
• DSP Solution for Permanent Magnet Synchronous Motor
This document presents a solution to control a permanent magnet synchronous motor using the TMS320C24x. This new family of DSPs enables cost-effective design of intelligent controllers for brushless motors which can fulfill enhanced operations, consisting | Doc
• TMS320F240 DSP Solution for Obtaining Resolver Angular Position and Speed
This application report presents a TMS320F240 DSP solution for obtaining the angular position and speed of a resolver. A resolver is an absolute mechanical position sensor used, for example, in servo applications. It is basically a rotating transformer. Th | Doc
• Flash Programming Solutions for the TMS320F28xxx DSCs
Flash programming is a process that occurs during all stages of a TMS320F28xxx digital signal controller (DSC) development cycle: firmware debug, prototyping, production, and field reprogramming. Several solutions are available to accommodate programming f | Doc
• Cost-Effective, Simple Power Supply Solution forTMS320C24x DSPs
The task of generating a power supply for DSPs in space-constrained control applications can be a challenging task because of the need to minimize its cost and size. Therefore, this application report provides information on a simplified approach for desig | Doc
• DSP Solution for AC Induction Motor
The Motor Control industry is a strong aggressive sector. Each industry to remain competitive, must reduce costs but also has to answer to power consumption reduction and EMI radiation reduction issues imposed by governments and power plant lobbies. The | Doc
• TMS320C/F240 Evaluation Board Initialization Software
The TMS320C/F240 Evaluation Module provides a tool that makes it easier to design the software elements of a system when taking the initial steps in the development of a new application.This note allows the user, once the necessary tools have been installe | Doc
• Getting Started in C and Assembly Code with the TMS320LF240x DSP (Rev. A)
This application report presents basic code for initializing and operating the TMS320LF240x DSP devices. Two functionally equivalent example programs are presented: one written in assembly language and the other in C language. Detailed discussions of each | Doc
• Semiconductor and IC Package Thermal Metrics (Rev. C) | Doc
• Implementing Speech-Recognition Algorithms on the TMS320C2xx Platform
This application report presents the hidden-Markov-model-based speech-recognition system using a 16-bit fixed-point digital signal processor (DSP) from Texas Instruments (TI). It addresses the problems that have been encountered and the compromises that ha | Doc
• Migrating Code Composer v4.12 Projects to Code Composer Studio v2.0
This application report describes the process of migrating an existing Code Composer v4.12 project to a Code Composer Studio? Integrated Development Environment (IDE) v2 project. | Doc
• Writing a C Callable Assembly Function Using the TMS320C2000
Mixing C and assembly language is an important task of digital signal processing (DSP) programming. It is very common for a software designer to write the kernel in C language and write some critical functions in DSP assembly language for improving the per | Doc
• Implementing JPEG with TMS320C2xx Assembly Language Software
JPEG compression/decompression technique is widely used for still image applications. There are two major ways to implement JPEG algorithm--hardware and software. The hardware approach is good for speed but it has less flexibility and it costs more.The sof | Doc
• COFF to DSK Translator
Development platforms available for digital signal processor (DSP) designers today are mainly the evaluation module (EVM) and the DSP starter kit (DSK). Executable code generated on these two platforms is not compatible and migration from one platform to t | Doc
• Implementing Triple Conversion Single Phase Online UPS Using TMS320C240 (Rev. A)
Uninterruptible power supplies (UPS) play an important role in interfacing critical loads such as computers, communication systems, medical/life support systems, and industrial controls to the utility power grid. Among the various UPS topologies, on-line U | Doc
• Using C to Access Data Stored in Program Space Memory on the TMS320C24x DSP
Efficient utilization of available memory in a TMS320C24x? DSP sometimes requires the placement of data in program space memory (as opposed to data space memory). In particular, the on-chip flash (or ROM) in the program space provides a large nonvolatile m | Doc
• Implementation Sensorless Speed Controlled Brushless DC Drive Using TMS320F240
The DSP Controller TMS320F240 from Texas Instruments is suitable for a wide range of motor drives. TMS320F240 provides a single chip solution by integrating on-chip not only a high computational power but also all the peripherals necessary for electric mot | Doc
• Average Current Mode Controlled Power Factor Correction Converter..TMS320LF2407A (Rev. A)
Low cost, high performance DSP controllers with integrated peripherals such as, analog-to-digital (A/D) converters and pulse width modulator (PWM), have enabled the power supply designers with a new tool for implementing control for their power conversion | Doc
• Motor Speed Measurement Considerations Using TMS320C24x DSPs
The TMS320C24x? generation of DSPs provide appropriate internal hardware for interfacing with low-cost, external-speed sensors for motor speed measurement applications. The periodic output signal from the speed sensor is applied to the capture input pin of | Doc
• Implem. of a Current Controlled Switched Reluctance Motor Drive Using TMS320F240
The DSP controller TMS320F240 from Texas Instruments is suitable for a wide range of motor drives and power electronic applications. TMS320F240 reduces chip count of a system by integrating most of the important power electronics peripherals on chip and th | Doc
• DSP Solutions for the Switched Reluctance Motor
This document deals with solutions to control a switched reluctance motor using the TMS320C24x. This new DSP family enables cost-effective design of intelligent controllers for switched reluctance motors. Two speed control algorithms are presented, they al | Doc
• Interfacing TMS320C20x DSPs to Intel 28Fxxx Flash Memories
This application report describes how the Texas Instruments (TI)(tm) TMS320C20x digital signal processor (DSP) can be interfaced to the Intel(tm) 28F010 flash memory. The 28Fxxx flash memory are 5V memories that use a 12V supply to modify the contents of t | Doc
• DC 12-24V 30A Three Phase Power Hardware
Texas Instruments TMS320C24x DSP Controller family is suitable for a wide range of motor drives and power electronics applications. To help the customer with this DSP Controller family and thus to reduce both the development time and the time to market, Te | Doc
• 3.3 V DSP for Digital Motor Control
New generations of motor control digital signal processors (DSPs) lower their supply voltages from 5V to 3.3V to offer higher performance at lower cost. Replacing traditional 5V digital control circuitry by 3.3V designs introduce no additional system cost | Doc
• Switched Reluctance Motor Control - Operation & Example Using TMS320F240 (Rev. A)
This report describes the basic operation of switched reluctance motors (SRMs) and demonstrates how a TMS320F240 DSP-based SRM drive from Texas Instruments (TM) can be used to achieve a wide variety of control objectives. The first part of the report offer | Doc
• Implementation of a Speed Controlled Brushless DC Drive Using TMS320F240
The DSP Controller TMS320F240 from Texas Instruments is suitable for a wide range of motor drives. TMS320F240 provides a single chip solution by integrating on-chip not only a high computational power but, also, all the peripherals necessary for electric | Doc
• Speed Field-Oriented Control of a 3-Phase AC Motor Using the TMS320F240
Since the integration of high computational DSP power with all necessary motor control peripherals into a single chip, TMS320F240, it has become possible to design and implement a highly efficient and accurate AC induction drive control. The AC induction d | Doc


Features, Applications

D High-Performance Static CMOS Technology D Includes the T320C2xLP Core CPU

­ Object Compatible With the TMS320C2xx ­ Source Code Compatible With TMS320C25 ­ Upwardly Compatible With ­ 132-Pin Plastic Quad Flat Package (PQ Suffix) ­ 50-ns Instruction Cycle Time Industrial and Automotive Temperature Available Memory ­ 544 Words × 16 Bits of On-Chip Data/Program Dual-Access RAM ­ 16K Words × 16 Bits of On-Chip Program Flash EEPROM ­ 224K Words × 16 Bits of Total Memory Address Reach (64K Data, 64K Program and 64K I/O, and 32K Global Memory Space) Event-Manager Module ­ 12 Compare/Pulse-Width Modulation (PWM) Channels ­ Three 16-Bit General-Purpose Timers With Six Modes, Including Continuous Upand Up/Down Counting ­ Three 16-Bit Full-Compare Units With Deadband ­ Three 16-Bit Simple-Compare Units ­ Four Capture Units (Two With Quadrature Encoder-Pulse Interface Capability)

Module 28 Individually Programmable, Multiplexed I/O Pins Phase-Locked-Loop (PLL)-Based Clock Module Watchdog Timer Module (With Real-Time Interrupt) Serial Communications Interface (SCI) Module Serial Peripheral Interface (SPI) Module Six External Interrupts (Power Drive Protect, Reset, NMI, and Three Maskable Interrupts) Four Power-Down Modes for Low-Power Operation Scan-Based Emulation Development Tools Available: ­ Texas Instruments (TI) ANSI C Compiler, Assembler/Linker, and C-Source Debugger ­ Scan-Based Self-Emulation (XDS510) ­ Third-Party Digital Motor Control and Fuzzy-Logic Development Support


The TMS320F240 (F240) device is a member of a family of DSP controllers based on the TMS320C2xx generation of 16-bit fixed-point digital signal processors (DSPs). This family is optimized for digital motor/motion control applications. The DSP controllers combine the enhanced TMS320 architectural design of the C2xLP core CPU for low-cost, high-performance processing capabilities and several advanced peripherals optimized for motor/motion control applications. These peripherals include the event manager module, which provides general-purpose timers and compare registers to generate to 12 PWM outputs, and a dual10-bit analog-to-digital converter (ADC), which can perform two simultaneous conversions within 6.1 µs. See the functional block diagram.

Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.

is a trademark of Texas Instruments. Other trademarks are the property of their respective owners.

PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.

Description. 1 PQ Package (Top View). 4 Terminal Functions. 5 Functional Block Diagram. 11 Architectural Overview. 12 System-Level Functions. 12 Device Memory Map. 12 Peripheral Memory Map. 14 Digital I/O and Shared Pin Functions. 15 Digital I/O Control Registers. 17 Device Reset and Interrupts. 17 Clock Generation. 26 Low-Power Modes. 28 Functional Block Diagram of the TMS320F240 DSP CPU. 29 F240 DSP Core CPU. 32 Internal Memory. 36

Peripherals. 38 External Memory Interface. 38 Event-Manager (EV) Module. 39 Analog-to-Digital Converter (ADC) Module. 42 Serial Peripheral Interface (SPI) Module. 44 Serial Communications Interface (SCI) Module. 46 Watchdog (WD) and Real-Time Interrupt (RTI) Module. 48 Scan-Based Emulation. 50 TMS320F240 Instruction Set. 50 Development Support. 57 Device and Development-Support Tool Nomenclature 58 Documentation Support. 59 Absolute Maximum Ratings. 60 Recommended Operating Conditions. 60 Electrical Characteristics Over Recommended Operating Free-Air Temperature Range. 61 Register File Compilation. 96 Mechanical Data. 103

REVISION HISTORY REVISION DATE PRODUCT STATUS HIGHLIGHTS Removed is an obsolete device. Updated descriptions of the following pins in the Terminal Functions table: PWM1/CMP1­PWM6/CMP6 ­ OSCBYP ­ TRST Updated the following figures: ­ Figure 3, Shared Pin Configuration ­ Figure 6, System Module Interrupt Structure ­ Figure 12, Analog-to-Digital Converter Module ­ Figure 16, TMS320 Device Nomenclature ­ Figure 20, Recommended Crystal/Clock Connection Added the following figures: ­ Figure 31, Case With Crystal ­ Figure 32, Case With External Oscillator Updated the following tables: ­ Table 15, Development Support Tools ­ Table 16, TMS320F240-Specific Development Tools ­ Table 20, Register File Compilation [ADCTRL1 and ADCTRL2] Updated the following sections: ­ Low-Power Modes ­ Flash EEPROM ­ Capture Unit ­ Analog-to-Digital Converter (ADC) Module [Digital Value equation] ­ Development Support ­ External Reference Crystal With PLL-Circuit-Enabled Clock Option ­ 10-Bit Dual Analog-to-Digital Converter (ADC)


Related products with the same datasheet
Some Part number from the same manufacture Texas Instruments, Inc.
TMS320F240A DSP Controllers
TMS320F240PQ ti TMS320F240, 16-bit, 5V Fixed Point DSP With Flash
TMS320F241 DSP Controller
TMS320F241FN ti TMS320F241, 16-bit , 5V Fixed Point DSP With Flash
TMS320F241PGE DSP Controllers
TMS320F241PGS ti TMS320F241, 16-bit , 5V Fixed Point DSP With Flash
TMS320F243 DSP Controller
TMS320F243FN DSP Controllers
TMS320F243PGE ti TMS320F243, 16-bit, 5V Fixed Point DSP With Flash
TMS320F2801 32-Bit Digital Signal Controller With Flash
TMS320F2810PBKA ti TMS320F2810, Digital Signal Processor
TMS320F2811 32-Bit Digital Signal Controller With Flash
TMS320F2811PBKA Floating-point Digital Signal Processors
TMS320F2811PBKQ 32-Bit Digital Signal Controller With Flash
TMS320F2812GHHA ti TMS320F2812, Digital Signal Processor
TMS320FN Digital Signal Processors
Same catergory

5962-9750701HXC : Quad-sharc DSP Multiprocessor Family. PERFORMANCE ADSP-21060 Core Processor 4) 480 MFLOPS Peak, 320 MFLOPS Sustained 25 ns Instruction Rate, Single-Cycle Instruction Execution­Each of Four Processors 16 Mbit Shared SRAM (Internal to SHARCs) 4 Gigawords Addressable Off-Module Memory Twelve 40 Mbyte/s Link Ports (Three per SHARC) Four 40 Mbit/s Independent Serial Ports (One from Each SHARC).

ADSP-2184N : 16-Bit, 80MIPS, 1.8V, 2 Serial Ports, Host Port, 20KB RAM. PERFORMANCE 12.5 ns Instruction Cycle Time @1.8 V (Internal), 80 MIPS Sustained Performance Single-Cycle Instruction Execution Single-Cycle Context Switch 3-Bus Architecture Allows Dual Operand Fetches in Every Instruction Cycle Multifunction Instructions Power-Down Mode Featuring Low CMOS Standby Power Dissipation with 200 CLKIN Cycle Recovery from.

DSP56F805FV80 : DSP56800. DSP56F805 16-bit Digital Signal Processor. to 40 MIPS at 80MHz core frequency DSP and MCU functionality in a unified, C-efficient architecture Hardware DO and REP loops MCU-friendly instruction set supports both DSP and controller functions: MAC, bit manipulation unit, 14 addressing modes × 16-bit words Program Flash × 16-bit words Program RAM × 16-bit words Data Flash × 16-bit words Data RAM × 16-bit.

MAP-CA : Digital Signal Processor Chip. Equator makes no warranty for the use of its products, assumes no responsibility for any errors which may appear in this document, and makes no commitment to update the information contained herein. Equator reserves the right to change or discontinue this product at any time, without notice. There are no express or implied licenses granted hereunder.

PDSP16330 : FFT and Co-ordinate Conversion Processors. = Pythagoras Processor ;; Package Type = Flatpack ;; No. Of Pins = 100.

SM320C50GFAM50 : TMS320 Family->TMS320C5X Fixed Point DSP. ti SM320C50, Digital Signal Processors.

SM320VC5421PGE20EP : TMS320 Family. ti SM320VC5421-EP, Military Enhanced Plastic Fixed-point Digital Signal Processor.

SMJ320C6201B : TMS320 Family. 1200 - 1600 Mips Fixed-point DSP (digital Signal Processor).

TMS320DM640 : Video/imaging Fixed-point Digital Signal Processorhigh-performance Digital Media Processor (TMS320DM641/TMS320DM640) 2.5-, 2-, 1.67-ns Instruction Cycle Time 400-, 500-, 600-MHz Clock Rate Eight 32-Bit Instructions/cycle 3200, 4000, 4800 Mips Fully Software-compatible With C64x VelociTI.2 Extensions to Velociti Advanced Very-long-instruction-word (VLIW).

TMS320LC541BPZ-66 : TMS320 Family. ti TMS320LC541, Digital Signal Processor. Separate 16-Bit Data Memory Buses and One Program Memory Bus 40-Bit Arithmetic Logic Unit (ALU) Including a 40-Bit Barrel Shifter and Two Independent 40-Bit Accumulators × 17-Bit Parallel Multiplier Coupled a 40-Bit Dedicated Adder for Non-Pipelined Single-Cycle Multiply/Accumulate (MAC) Operation Compare, Select, and Store Unit (CSSU) for the Add/Compare.

TMS320VC5409GGU-80 : TMS320 Family. ti TMS320VC5409, Fixed-point Digital Signal Processor (DSP).

TMS320C6455 : Fixed-Point Digital Signal Processor The TMS320C64x+™ DSPs (including the TMS320C6455 device) are the highest-performance fixed-point DSP generation in the TMS320C6000™ DSP platform. The C6455 device is based on the third-generation high-performance, advanced VelociTI™ very-long-instruction-word (VLIW) architecture developed by Texas Instruments (TI),.

MSC7118 : Low-Cost 16-bit DSP With DDR Controller ? ?S t a r C o r e SC1400 DSP extended core with one SC1400 DSP core, 256 Kbyte of internal SRAM M1 memory, 16 way 16 Kbyte instruction cache (ICache), four-entry write buffer, programmable interrupt controller (PIC), and low-power Wait and Stop processing modes..

MSC7116 : Low-Cost 16-bit DSP With DDR Controller And 10/100 Mbps Ethernet MAC ? ?S t a r C o r e SC1400 DSP extended core with one SC1400 DSP core, 192 Kbyte of internal SRAM M1 memory, 16 way 16 Kbyte instruction cache (ICache), four-entry write buffer, programmable interrupt controller (PIC), and low-power Wait and Stop processing modes. ? 192 Kbyte M2 memory.

TMS320C6671 : Fixed And Floating-Point Digital Signal Processor The TMS320C6671 Fixed and Floating Point Digital Signal Processor is based on TI\'s KeyStone multicore architecture. Integrated with the C66x CorePac DSP runing at 1.0 to 1.25 GHz. The device supports high-performance signal processing applications such as mission critical, medical imaging, test, and automation.

0-C     D-L     M-R     S-Z