EEWORLDEEWORLDEEWORLD

Part Number

Search

AN2618

Description
eTPU host interface
File Size273KB,23 Pages
ManufacturerSTMicroelectronics
Websitehttp://www.st.com/
Download Datasheet View All

AN2618 Overview

eTPU host interface

AN2618
Application note
eTPU host interface
Introduction
The eTPU is the new generation of Time Processing Unit (TPU). Besides the hardware
enhancement, significant improvements have been made to the accompanying software
development tools; these tools make the enhanced Time Processing Unit (eTPU) easy to
use. A high level language (C) compiler has been developed to allow the user to program
the eTPU by using C language instead of microcode.
To program the eTPU effectively, the programmer still needs to have a clear understanding
of how the eTPU hardware works. Coding in C, the programmer can focus more on the
application logic and leave the mechanics of the eTPU programming to the compiler (i.e.,
register usage and tracking, parameter packing, micro-instruction packing, etc.). With the
help of the eTPU simulator and debugger, eTPU software can be developed much like the
software for the host CPU. Productivity of software development can be significantly
improved.
The introduction of the eTPU C compiler also changes the way the host interfaces to the
eTPU functions. With the help of the compiler, the same symbol can be referenced by the
both eTPU and host software. The host software can interface with eTPU functions via API
functions, instead of accessing physical memory locations and registers. For each eTPU
function, a host interface API function can now be developed as a part of the eTPU C
program. The host application can call these API functions to interface with the eTPU. The
references to these API functions and symbols for parameters are resolved at compile time.
The implementation details of the eTPU functions are hidden from the host application. This
design improves the flexibility of the eTPU functions’ implementation and the portability of
the host application code. This application note discusses how to build the host interface for
eTPU functions.
This application note shows how to build the host interface to access eTPU functions. The
eTPU PWM driver is used as an example to illustrate what the host needs to do to configure
eTPU module, channel and initialize PWM function. The appRev 2lication note also
describes the details of how to export eTPU software information to the host compiler. The
working code example is presented in the Appendix. The user can compile both host and
eTPU code, then download to actual hardware for testing.
September 2013
Rev 2
1/23
www.st.com
I would like to ask an expert whether a four-wire PT100 thermal resistor can be connected as a two-wire or three-wire system?
Our company's DCS module supports three-wire thermal resistors, but I see that our company's on-site thermal resistors have four wiring terminals, namely ABCD, but others only connect two wires, that ...
eeleader-mcu MCU
Help: CCS5.1 MSP430 Application uart driver cannot be used
It worked fine with XP before! :) But when I installed CCS5.1:funk: on Win7 Ultimate, the device manager always fails to recognize "MSP430 Application UART". When I manually installed an existing driv...
Leo417love TI Technology Forum
Where is the SqlClient.dll file?
Why is there no SqlClient.dll file in my computer???? Is there any program missing???...
jacyko Embedded System
STM32 and GPRS communication
I am a student doing a graduation thesis. There are many things I don't understand. I would like to ask you for advice. I hope you can give me some advice. I am working on an STM32 chip that needs to ...
ayn stm32/stm8
consult
How to add ports to an asymmetric coplanar waveguide? Why are the simulated S parameters different from those in the paper when adding them at the position shown in the figure or on the end face of th...
15651125073 RF/Wirelessly
C2000 Information
...
qinkaiabc Microcontroller MCU

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

Index Files: 98  2864  2117  1501  583  2  58  43  31  12 
Datasheet   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Room 1530, 15th Floor, Building B, No. 18 Zhongguancun Street, Haidian District, Beijing Telephone: (010) 82350740 Postal Code: 100190
Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号