參數(shù)資料
型號(hào): AN2848
英文描述: Programming the eTPU
中文描述: 編程的eTPU
文件頁數(shù): 6/16頁
文件大?。?/td> 528K
代理商: AN2848
Programming the eTPU, Rev. 0
Function Design – Hardware
Freescale Semiconductor
6
systems implemented. Along the way, a number of difficult problems posed by the unique nature of the
eTPU have been discovered and solved. This application note contains some of the wisdom of prior
experience for the benefit of new engineers.
3
Function Design – Hardware
The first step in applying the eTPU to a timing and control problem is to determine if the application fits
within the capabilities of the eTPU. To do this requires a working understanding of the architecture of the
timing channels. A detailed treatment of this will be covered in another application note, but here is a
summary of the general capabilities and limitations of the channel hardware:
RESOLUTION – The channel hardware can set a pin high or low, or toggle it immediately or at
some time in the future. This occurs when a free running counter/timer matches a register value.
The size of the register is 24 bits, and the counter can be incremented as fast as the frequency of
MCU system clock. This is the finest resolution available for timing.
MAXIMUM TIME – The timer/counter can be slowed by prescaling, and the TCR range is 24
bits. If the TCR resolution is 100 nanoseconds, then the counter range is about 1.67 seconds.
More significantly, signal timing can incorporate software counters, enabling virtually any
maximum time length.
MINIMUM TIME – The channel has two match comparators, and a pulse can be set to start at one
time and end at another after only a single tick of the selected counter/timer. Thus, the minimum
time pulse that can be produced is 2 times the system clock.
INPUT LIMITS – The above limits are virtually the same for input transition measurements.
TIME BASES – While there are two time bases provided, the range of one counter is sufficient to
enable virtually any combination of pulse times. The second one can be driven by an
asynchronous external source, or be controlled by special Angle Clock circuitry provided in the
eTPU. The Angle Clock is a subject of a future note, but in general it is a system where the angle
of a spinning shaft can be tracked and the extrapolated angle can be used to time input or output
events.
INTERACTION OF EVENTS – The channel hardware can be configured into a number of
operating modes, where, for example, output pulses can be timed by two different time bases,
input pulses windowed by timers, or outputs can be used to enable timers all without direct
software intervention.
SYNCHRONIZATION – Since all channels operate from the same timer/counters, software can
be used to synchronize inputs and outputs with quite complicated algorithms. For example, a
spark pulse can be made to start at a projected time before the firing angle, and fire exactly on the
angle, tracking as closely as possible the variation in speed of an engine.
LATENCY – Since the channels have only two action units for each pin, the eTPU requires
software intervention before a third transition can be acted upon. This means that while it is
possible to accurately produce or measure a narrow single pulse, a third transition can only be
produced or detected after the eTPU engine has begun to service the channel. The minimum time
相關(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 等級(jí): 材料: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è)計(jì):包含蓋 材料:金屬 - 鋁 顏色:自然色 厚度:0.110"(2.79mm) 特性:PCB 支座,防水 等級(jí):IP67, IP68, NEMA 4X,6,6P,12,13 材料可燃性等級(jí):- 發(fā)貨信息:從 Digi-Key 運(yùn)送 重量: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è)計(jì):包含蓋 材料:金屬 - 鋁 顏色:黑 厚度:0.110"(2.79mm) 特性:PCB 支座,防水 等級(jí):IP67, IP68, NEMA 4X,6,6P,12,13 材料可燃性等級(jí):- 發(fā)貨信息:從 Digi-Key 運(yùn)送 重量: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 等級(jí): 材料: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 等級(jí): 材料:Acrylonitrile Butadiene Styrene (ABS) 顏色:Red