參數(shù)資料
型號: AN2848
英文描述: Programming the eTPU
中文描述: 編程的eTPU
文件頁數(shù): 12/16頁
文件大?。?/td> 528K
代理商: AN2848
Programming the eTPU, Rev. 0
Simulating the eTPU Function
Freescale Semiconductor
12
Issue an initialization Host Service Request (HSR) to the channel. Note that a service request is
necessary for an eTPU function thread to execute. No eTPU operation can occur until at least one
HSR is issued. However, depending on the eTPU software, once a channel is started, the eTPU
software can schedule new service threads without additional HSRs from the host. Also, it is
possible for a software thread on one channel to cause a service request on another channel.
Interact with the eTPU threads according to the system design. This can involve simple reading or
writing parameters, or coordinated interrupt handling and service requests.
7
Simulating the eTPU Function
When a function under development is simulated on the Ash Ware stand-alone simulator, the simulator
script files take the place of the host CPU. The simulator is a powerful development tool which is seldom
used to its fullest capacity. However, after an hour or two in the training class, most users become
sufficiently proficient to analyze and debug common designs. Here are some of the more useful features
of the stand-alone simulator:
Setting up one or more channels using commands similar to your host code. This includes
interconnecting channels of the eTPU to test more complex systems.
Providing external input pin stimuli through a script file. The pin transition can be timed to
simulate a number of external inputs, and can be interleaved with “host” operations in the script
file.
Displaying output pin action against time in a logic analyzer window. Hint: if you are having
trouble finding your output signal, try checking the “Auto Scroll” button.
Reading and modifying memory and watching source symbolic values.
Breakpointing the script or the code of any function.
Reading or modifying the contents of internal registers.
Stepping through the code by instruction, source line, or thread.
Tracing through recent history cycle by cycle.
Post processing performance analysis.
Automated testing.
8
Summary
The eTPU is a very powerful device, more complicated and with many more dimensions than a CPU. The
unique channel design allows the processing engine to meet the drive requirements of practically any
physical control system. However, with the power comes a complexity that can be daunting to the new
user. This note was intended to suggest some steps for a successful design approach, and to point out
possible traps and pitfalls in eTPU systems design. The advice is drawn from experience with real systems.
In addition to the design hints, it suggests sources for further information.
相關(guān)PDF資料
PDF描述
AN2897 Using the eTPU Angle Clock
AN2904FHQ AN2904FHQ - Sound input/output interface IC for digital still camera
AN2933 Understanding the eTPU Channel Hardware
AN30210A Analog IC
AN304 Single Differential Amplifier
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN-2850 功能描述:罩類、盒類及殼類產(chǎn)品 3.54 x 1.42 x 1.18" NATURAL FINISH ALUM RoHS:否 制造商:Bud Industries 產(chǎn)品:Boxes 外部深度:6.35 mm 外部寬度:6.35 mm 外部高度:2.56 mm NEMA 額定值: IP 等級: 材料:Acrylonitrile Butadiene Styrene (ABS) 顏色:Red
AN-2850-A 功能描述:BOX ALUM NATURAL 3.54"L X 1.42"W 制造商:bud industries 系列:AN-A 零件狀態(tài):有效 容器類型:帶安裝法蘭的盒子 大小/尺寸:3.540" 長 x 1.420" 寬(89.92mm x 36.07mm) 高度:1.180"(29.97mm) 面積(L x W):5.03"(32.5cm) 設(shè)計:包含蓋 材料:金屬 - 鋁 顏色:自然色 厚度:0.110"(2.79mm) 特性:PCB 支座,防水 等級:IP67, IP68, NEMA 4X,6,6P,12,13 材料可燃性等級:- 發(fā)貨信息:從 Digi-Key 運送 重量:0.375 磅(170.1g) 標(biāo)準(zhǔn)包裝:1
AN-2850-AB 功能描述:BOX ALUM BLACK 3.54"L X 1.42"W 制造商:bud industries 系列:AN-A 零件狀態(tài):有效 容器類型:帶安裝法蘭的盒子 大小/尺寸:3.540" 長 x 1.420" 寬(89.92mm x 36.07mm) 高度:1.180"(29.97mm) 面積(L x W):5.03"(32.5cm) 設(shè)計:包含蓋 材料:金屬 - 鋁 顏色:黑 厚度:0.110"(2.79mm) 特性:PCB 支座,防水 等級:IP67, IP68, NEMA 4X,6,6P,12,13 材料可燃性等級:- 發(fā)貨信息:從 Digi-Key 運送 重量:0.375 磅(170.1g) 標(biāo)準(zhǔn)包裝:1
AN-2850-B 功能描述:罩類、盒類及殼類產(chǎn)品 3.54 x 1.42 x 1.18" BLACK ALUMINUM RoHS:否 制造商:Bud Industries 產(chǎn)品:Boxes 外部深度:6.35 mm 外部寬度:6.35 mm 外部高度:2.56 mm NEMA 額定值: IP 等級: 材料:Acrylonitrile Butadiene Styrene (ABS) 顏色:Red
AN-2851 功能描述:罩類、盒類及殼類產(chǎn)品 2.52 x 2.28 x 1.38" NATURAL FINISH ALUM RoHS:否 制造商:Bud Industries 產(chǎn)品:Boxes 外部深度:6.35 mm 外部寬度:6.35 mm 外部高度:2.56 mm NEMA 額定值: IP 等級: 材料:Acrylonitrile Butadiene Styrene (ABS) 顏色:Red