电子工程世界电子工程世界电子工程世界

关键词

搜索

型号

搜索

AN2618

产品描述eTPU host interface
文件大小273KB,共23页
制造商ST(意法半导体)
官网地址http://www.st.com/
下载文档 全文预览

AN2618概述

eTPU host interface

文档预览

下载PDF文档
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
国防科技大学,索尼杯团队故事
本帖最后由 paulhyde 于 2014-9-15 09:48 编辑 在今年的全国大学生电子设计竞赛中,我们小组幸运地夺得了本科组的索尼杯大奖。获此殊荣,我们非常高兴。现在回想起过去一年多时间里的点点滴滴 ......
songbo 电子竞赛
编码器信号输入问题
请大家推荐一款PCI总线的或USB接口的正交编码信号采集卡或模块,小弟不才,不甚明了!...
洗了八吨水 嵌入式系统
谁玩过RS232,请进
谁玩过RS232啊,不是一般3根线,DB9,2,3,5三根线就可以吗。 现在我的问题是,有两路RS232的数据,想通过一个RS232输出,谁做过相关的设计吗,如何实现那。 232数据1———————— ......
deart148 51单片机
ds1302的断电保护功能怎么用呀
用1302写的时钟,断电后又是初始界面,电池没起到作用,哪位大神会教教我,万分感谢 ...
狼牙小帅 51单片机
微波毫米波在战场烟尘中的传播
摘要:在分析战场烟尘介质特性的基础上,计算了微波!毫米波在战场烟尘中的衰减与相移,并利用粒子跟踪法对战场烟尘引起的衰减进行了计算机模拟.数值模拟与实验结果相一致,说明该方法是行之有效的....
JasonYoo 单片机
菜鸟提问,芯片上的黑胶有什么用
想自己做个系统,于是今天把我的电子词典拆了,发现有两个芯片被看上去好像黑色膏药的胶封住了,其中一个正是CPU。请问那块黑色膏药是什么啊,我搜索过了,不是那种四四方方的黑胶贴片。然后, ......
zhaozonghui 嵌入式系统

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 大学堂 TI培训 Datasheet 电子工程 索引文件: 1702  1037  1181  1724  1525  4  37  29  17  52 

器件索引   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

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved