參數(shù)資料
型號: AN2933
英文描述: Understanding the eTPU Channel Hardware
中文描述: 理解硬件頻道的eTPU
文件頁數(shù): 30/40頁
文件大?。?/td> 741K
代理商: AN2933
Understanding the eTPU Channel Hardware, Rev. 0
Using the Channel Hardware
Freescale Semiconductor
30
Another important use for a double match is when two asynchronous timebases are used, such as time and
angle. A single pin action can be programmed into both OPACs and the first occurring will switch the pin.
The service request can be made on the first or the second that occurs, or on a specific match.
The two matches may not even be related. One could be used to switch the output pin, and the other as a
wake-up call for an unrelated function. Or one could be used to qualify a transition and the other for an
unrelated function.
Finally, there are cases where both matches have identical OPACs and are working with the same TCR.
The application may calculate the operations separately, and the separate action units would simply be a
means to simplify the software.
4.1.3
Using Double Transitions
The most obvious need for the DoubleTransition modes is to detect two transitions that occur too close
together for the latency of the system. For example, a pulse width can be measured to the accuracy of one
TCR count. However, there are other situations where the double transition circuitry in the eTPU channels
can provide significant functionality.
If a pulse edge is noisy, a single capture register will detect the first programmed transition of the pin and
record its time. If two transitions are programmed in a SingleTransition mode, the presence and timing of
a second edge can be recorded. This can be done by programing the second IPAC to the same or opposite
sense of IPACA.
Sometimes a pin transition needs to be recorded, but the edge need not be serviced until some later event.
In that situation, a DoubleTransition mode can be selected and IPACB can be programmed to NoDetect.
The transition will be recorded and the timebase captured, but the channel will not be serviced as a result.
A subsequent match, or even an event on another channel, can be used to service the detected transition.
Remember that even though the transition did not request service, its TDL will be used to resolve the
thread vector.
4.1.4
Combining Matches and Transitions
In the case of a noisy input edge, the first transition may be detected and processed and the channel may
be setup for the following transition much faster than the noise on the first transition settles out. The most
common way to handle this noise is to block out a subsequent transition for a selected time after the first
one is first detected. By using a MatchB (m2) mode, Transition A is blocked until Match A occurs. The
software may setup Match A to be a fixed time or a time derived from the expected period of the input
transitions.
The operation can be carried a step further, using the Ordered (_o) modes. In these modes, the matches
establish an acceptance window for the transition. In other modes, the second transition may not be
blocked, but service is requested on the first or second match.
In MCUs where the input and output pin are separately connected, one channel can indeed do an input
function and output function simultaneously. A particular case of this arises in some MCUs where the
analog to digital converter requires a time or angle trigger signal. It is possible to drive the ADC trigger
相關(guān)PDF資料
PDF描述
AN30210A Analog IC
AN304 Single Differential Amplifier
AN305 Optoelectronic
AN3100 General Purpose Amplifier Biasing
AN3129S Analog IC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN294 制造商:SILABS 制造商全稱:SILABS 功能描述:Si825X FREQUENCY COMPENSATION SIMULATOR FOR DIGITAL BUCK CONVERTERS
AN295 制造商:Panasonic Industrial Company 功能描述:IC
AN296 制造商:SILABS 制造商全稱:SILABS 功能描述:USING THE Si3400 AND Si3401 POE PD CONTROLLERS IN ISOLATED AND NON-ISOLATED DESIGNS
AN2-B0-11-615-533-C 制造商:Carling Technologies 功能描述:A-SERIES CIRCUIT BREAKER - Bulk
AN2-B0-22-624-543-C 制造商:Carling Technologies 功能描述:A-SERIES CIRCUIT BREAKER - Bulk