TMS320F28335PGFA Microcontroller: Where and How to Use It?

28 December 2023


Ⅰ. TMS320F28335PGFA description

Ⅱ. Characteristics of TMS320F28335PGFA

Ⅲ. Specifications and performance indicators of TMS320F28335PGFA

Ⅳ. Programming method of TMS320F28335PGFA

Ⅴ. TMS320F28335PGFA price

Ⅵ. How to use TMS320F28335PGFA?

Ⅶ. Where is TMS320F28335PGFA used?

Ⅷ. What are the functions of TMS320F28335PGFA in the UAV control system?



In this article, we will introduce a microcontroller TMS320F28335PGFA with excellent performance and reliability. It is equipped with powerful processing power and rich peripherals to provide outstanding performance and flexibility for your projects. Whether in the fields of industrial control, communications, automotive electronics, etc., it can meet your requirements and help you achieve innovation.



Ⅰ. TMS320F28335PGFA description

2844540eaf98d85e0df3413ab1f3bfdd.png

TMS320F28335PGFA is a digital signal processor chip produced by Texas Instruments. It belongs to the TMS320F2833x series and is a high-performance chip designed for real-time control applications. It is packaged in a 176-pin LQFP. Through its powerful processing capabilities and rich peripherals, it can meet various real-time control and digital signal processing needs. It is widely used in industrial control, power electronics, automotive electronics, instrumentation and communications and other fields. It is understood that TMS320F28335 is also the main control chip used by Xiaopeng P7 OBC.


Alternatives and equivalents:

TMS320F28334PGFA

TMX320F28335PGFA



Ⅱ. Characteristics of TMS320F28335PGFA


TMS320F28335PGFA is based on TI's C28x core and is a 32-bit fixed-point DSP core. It has 512 KB of flash memory and 68 KB of RAM. Among them, flash memory is used to store program code and data, and RAM is used to store temporary data and variables. Additionally, it can operate at operating frequencies up to 150 MHz. It provides a rich set of interfaces and peripherals, including analog-to-digital converters (ADCs), serial communication interfaces (SPI, SCI, I2C), enhanced PWM controllers, general-purpose input/output pins (GPIOs), and GTC etc. At the same time, it supports a variety of communication interfaces such as SPI, SCI, Ethernet, CAN and USB, making it suitable for application fields such as communications, automotive electronics and industrial control.



Ⅲ. Specifications and performance indicators of TMS320F28335PGFA


1. The specifications of TMS320F28335PGFA are shown in the figure.

0a0e3283b1dea4711d8e1294b3a6dbc4.png


2. The main performance indicators of TMS320F28335PGFA are as follows:


• Its operating temperature range is -40°C to 125°C.


• It supports various communication interfaces such as CAN, SPI, I2C, etc. These interfaces enable TMS320F28335PGFA to perform high-speed and stable data transmission with other devices or systems to meet various communication needs.


• The chip has a built-in 12-bit ADC module and supports 12 input sampling channels.


• It has a built-in 32-bit floating point unit, which enables high-precision calculations and ensures the accuracy of calculation results.


• The chip's maximum memory bandwidth is 450MB/s.


• The chip's maximum frequency is 150MHz, enabling high-speed data processing.


• It has multiple timers and PWM outputs for control applications.


• TMS320F28335PGFA has 256KB of flash memory and 68KB of RAM, which can store large amounts of data and programs.



Ⅳ. Programming method of TMS320F28335PGFA


When programming with TMS320F28335PGFA, we need to understand the hardware structure and instruction set of the chip to choose the appropriate programming language and development environment. Below we introduce several main aspects of the programming process.


1. Development environment: In order to facilitate users to program and debug, Texas Instruments provides a variety of development environments for users to choose from, such as TrueStudio development environment and Code Composer Studio development environment. We can choose the appropriate development environment according to our own needs.


2. Hardware structure: Before programming the TMS320F28335PGFA, we must familiarize ourselves with the hardware architecture of this chip. Understanding the pin definitions is essential because they determine how the chip is connected to external circuitry. It is also essential to familiarize ourselves with the internal memory and peripheral interfaces because they determine the functionality and performance of the chip. Only then can we program and control it better.


3. Programming language: TMS320F28335PGFA supports multiple programming languages, including assembly language, C language and C++ language, etc. We can choose the appropriate programming language based on our habits and project needs.


4. Instruction set: TMS320F28335PGFA supports multiple instruction sets such as logical operations, arithmetic operations, and data transfer. During the programming process, we need to flexibly use these instruction sets to complete the implementation of the algorithm.



Ⅴ. TMS320F28335PGFA price 


a2b96c929f8dd5ef8661f9d0126599e0.png


TMS320F28335PGFA has been attracting attention since the end of last year, and its price has been rising since July last year. However, since March this year, its price has continued to fall, and has now fallen to 75 yuan. The official website price of the chip is 14.867 dollar (approximately RMB 105.83), and the market price has been inverted for three consecutive months.



Ⅵ. How to use TMS320F28335PGFA?


First, we connect the TMS320F28335PGFA with appropriate clock sources, power supplies, peripheral interfaces, etc. to ensure the correctness and stability of the hardware circuitry. According to the specific application requirements, we initialize the registers and memory of the TMS320F28335PGFA, including configuring pins, allocating memory space, and setting operating modes. Then, we write control algorithms and signal processing programs using programming languages such as assembly language or C language to realize the required control and signal processing functions. Then, we compile the written program as a target file and download it to TMS320F28335PGFA for debugging and testing to ensure the correctness and reliability of the program. According to the actual application needs and performance requirements, we optimize the program to improve the efficiency and energy efficiency of TMS320F28335PGFA. During the use process, we need to maintain and upgrade TMS320F28335PGFA regularly to ensure the stability and scalability of the system.



Ⅶ. Where is TMS320F28335PGFA used?


TMS320F28335PGFA can be used in the following areas:


• High-performance motor drive: The TMS320F28335PGFA is well-suited for motor drive systems, including DC motor drive and stepper motor control. It is capable of achieving high-speed and precise control of motors, along with the implementation of advanced motion control algorithms.


• Power electronic equipment: The chip is widely used in power electronic equipment for inverter control, current control and power factor correction. Through efficient energy conversion and precise power management, it can help equipment achieve more stable, reliable and efficient operation.


• Renewable energy systems: The chip is suitable for solar cell systems, wind energy conversion systems and other renewable energy systems. It can handle functions such as power control, maximum power point tracking and grid interface.


• Medical devices: The TMS320F28335PGFA serves multiple functions, including data acquisition, signal processing, and control within medical devices. Its applications extend to medical imaging equipment and life support systems. In medical imaging, the TMS320F28335PGFA excels at swiftly and precisely processing extensive image data, enhancing doctors' ability to diagnose conditions with greater accuracy. Additionally, in life support systems, it facilitates real-time monitoring of patients' physiological parameters, ensuring the ongoing safety of patients' lives.


• Industrial automation control system: TMS320F28335PGFA can be used in high-performance industrial controllers, motion control systems, robot control and other fields. It can realize complex real-time control algorithms and fast data processing.



Ⅷ. What are the functions of TMS320F28335PGFA in the UAV control system?


The application of TMS320F28335PGFA in UAVs mainly involves the following aspects. The first is data collection and processing. With built-in ADC and DMA functions, it can collect and process sensor data in real time, such as accelerometer, gyroscope, barometer, and GPS. Next is communication and data transmission. TMS320F28335PGFA uses communication interfaces (such as CAN, SPI and SCI) to exchange data and communicate with other UAV system modules, including ground stations, remote controllers, image transmission systems, etc. In addition, it can be used for flight control. It uses the DSP core to calculate and implement real-time flight control algorithms, including attitude stabilization, position control, navigation and flight mode switching. Finally, there is fault detection and fault handling. Through the built-in fault detection function, the TMS320F28335PGFA can monitor the status and parameters of the UAV system in real time for fault detection and safe processing.




Frequently Asked Questions


1. What are some of the key features of the TMS320F28335PGFA?


The key features include on-chip peripherals for PWM generation, ADC, communication interfaces like UART and SPI, and support for high-resolution PWM for motor control applications.


2. What are the applications of TMS320?


Typical areas of application of the TMS320 include speech signal processing, telecommunications, robotics, radar signal and sonar signal processing, seismology, image processing, audio recording and reproduction, biomedical instrumentation, acoustic noise measurements and automatic test equipment.


3. What is the TMS320F28335PGFA?


The TMS320F28335PGFA is a member of the TMS320C2000™ series of DSPs manufactured by Texas Instruments. It is specifically designed for real-time control applications.


4. Can the TMS320F28335PGFA be used in automotive applications?


Yes, the TMS320F28335PGFA is suitable for automotive applications, particularly in areas such as motor control in electric vehicles and other control systems within automotive electronics.