All inputs of the C16x family have Schmitt-Trigger input characteristics. These Schmitt-Triggers are intended to always provide proper internal low and high levels, even if anundefined voltage level (between TTL-VIL and TTL-VIH) is externally applied to the pin.The hysteresis of these inputs, however, is very small, and can not be properly used in anapplication to suppress signal noise, and to shape slow rising/falling input transitions.Thus, it must be taken care that rising/falling input signals pass the undefined area of theTTL-specification between VIL and VIH with a sufficient rise/fall time, as generally usualand specified for TTL components (e.g. 74LS series: gates 1V/us, clock inputs 20V/us).The effect of the implemented Schmitt-Trigger is that even if the input signal remains inthe undefined area, well defined low/high levels are generated internally. Note that allinput signals are evaluated at specific sample points (depending on the input and theperipheral function connected to it), at that signal transitions are detected if twoconsecutive samples show different levels. Thus, only the current level of an input signalat these sample points is relevant, that means, the necessary rise/fall times of the inputsignal is only dependant on the sample rate, that is the distance in time between twoconsecutive evaluation time points. If an input signal, for instance, is sampled throughsoftware every 10us, it is irrelevant, which input level would be seen between thesamples. Thus, it would be allowable for the signal to take 10us to pass through theundefined area. Due to the sample rate of 10us, it is assured that only one sample canoccur while the signal is within the undefined area, and no incorrect transition will bedetected. For inputs which are connected to a peripheral function, e.g. capture inputs, thesample rate is determined by the clock cycle of the peripheral unit. In the case of theCAPCOM unit this means a sample rate of 400ns @ 20MHz CPU clock. This requiresinput signals to pass through the undefined area within these 400ns in order to avoidmultiple capture events.For input signals, which do not provide the required rise/fall times, external circuitry mustbe used to shape the signal transitions.In the attached diagram, the effect of the sample rate is shown. The numbers 1 to 5 in thediagram represent possible sample points. Waveform a) shows the result if the inputsignal transition time through the undefined TTL-level area is less than the time distancebetween the sample points (sampling at 1, 2, 3, and 4). Waveform b) can be the result ifthe sampling is performed more than once within the undefined area (sampling at 1, 2, 5,3, and 4).Sample points:1. Evaluation of the signal clearly results in a low level2. Either a low or a high level can be sampled here. If low is sampled, no transition willbe detected. If the sample results in a high level, a transition is detected, and anappropriate action (e.g. capture) might take place.3. Evaluation here clearly results in a high level. If the previous sample 2) had alreadydetected a high, there is no change. If the previous sample 2) showed a low, atransition from low to high is detected now.
標(biāo)簽: Signal Input Fall Rise
上傳時(shí)間: 2013-10-23
上傳用戶:copu
All inputs of the C16x family have Schmitt-Trigger input characteristics. These Schmitt-Triggers are intended to always provide proper internal low and high levels, even if anundefined voltage level (between TTL-VIL and TTL-VIH) is externally applied to the pin.The hysteresis of these inputs, however, is very small, and can not be properly used in anapplication to suppress signal noise, and to shape slow rising/falling input transitions.Thus, it must be taken care that rising/falling input signals pass the undefined area of theTTL-specification between VIL and VIH with a sufficient rise/fall time, as generally usualand specified for TTL components (e.g. 74LS series: gates 1V/us, clock inputs 20V/us).The effect of the implemented Schmitt-Trigger is that even if the input signal remains inthe undefined area, well defined low/high levels are generated internally. Note that allinput signals are evaluated at specific sample points (depending on the input and theperipheral function connected to it), at that signal transitions are detected if twoconsecutive samples show different levels. Thus, only the current level of an input signalat these sample points is relevant, that means, the necessary rise/fall times of the inputsignal is only dependant on the sample rate, that is the distance in time between twoconsecutive evaluation time points. If an input signal, for instance, is sampled throughsoftware every 10us, it is irrelevant, which input level would be seen between thesamples. Thus, it would be allowable for the signal to take 10us to pass through theundefined area. Due to the sample rate of 10us, it is assured that only one sample canoccur while the signal is within the undefined area, and no incorrect transition will bedetected. For inputs which are connected to a peripheral function, e.g. capture inputs, thesample rate is determined by the clock cycle of the peripheral unit. In the case of theCAPCOM unit this means a sample rate of 400ns @ 20MHz CPU clock. This requiresinput signals to pass through the undefined area within these 400ns in order to avoidmultiple capture events.
標(biāo)簽: C16x 微控制器 輸入信號(hào) 時(shí)序圖
上傳時(shí)間: 2014-04-02
上傳用戶:han_zh
FPGA的CPU設(shè)計(jì)
上傳時(shí)間: 2013-11-20
上傳用戶:yqs138168
為了提高門禁系統(tǒng)的安全便利性,提出了一種基于國(guó)密算法的CPU卡的門禁系統(tǒng)的解決方案。首先對(duì)門禁系統(tǒng)的組成進(jìn)行了介紹,接著論述了非接觸CPU卡的相對(duì)于非接觸邏輯加密卡的特點(diǎn)及優(yōu)勢(shì);基于國(guó)密算法SM1的特點(diǎn)以及配合落實(shí)住建部重要門禁系統(tǒng)密碼應(yīng)用安全管理工作要求,提出了一種基于國(guó)密SM1算法CPU卡的門禁系統(tǒng)解決方案。基于國(guó)密算法CPU卡的門禁系統(tǒng)解決方案能夠滿足最新門禁系統(tǒng)市場(chǎng)需求,具有安全、靈活多樣等多種的特點(diǎn)。
標(biāo)簽: CPU 國(guó)密算法 門禁系統(tǒng) 方案
上傳時(shí)間: 2013-11-01
上傳用戶:xiaoyunyun
CPU卡安全認(rèn)證技術(shù)
上傳時(shí)間: 2013-11-02
上傳用戶:lizx30340
信捷PLC CPU 處理器
上傳時(shí)間: 2014-01-23
上傳用戶:wbwyl
手機(jī)CPU排行
上傳時(shí)間: 2013-10-19
上傳用戶:tzrdcaabb
對(duì)于如何從MIFARE Classic卡片升級(jí)到PLUS CPU 卡片在“MIFARE S50、S70升級(jí)PLUS CPU卡方案”文檔中已有詳細(xì)說明,那么原來使用的PLUS CPU卡片如何進(jìn)行升級(jí)了?帶著這個(gè)問題,我們將與您共同探討,后面的內(nèi)容將向您提供一種完美、可靠、易用的解決方案,謝謝您的關(guān)注與支持!
上傳時(shí)間: 2014-12-31
上傳用戶:VRMMO
This example shows how to update at regulate period the WWDG counter using theEarly Wakeup interrupt (EWI). The WWDG timeout is set to 262ms, refresh window set to 41h and the EWI isenabled. When the WWDG counter reaches 40h the EWI is generated and in the WWDGISR the counter is refreshed to prevent a WWDG reset and led connected to PC.07is toggled.The EXTI line9 is connected to PB.09 pin and configured to generate an interrupton falling edge.In the NVIC, EXTI line9 to 5 interrupt vector is enabled with priority equal to 0and the WWDG interrupt vector is enabled with priority equal to 1 (EXTI IT > WWDG IT). The EXTI Line9 will be used to simulate a software failure: once the EXTI line9event occurs (by pressing Key push-button on EVAL board) the correspondent interruptis served, in the ISR the led connected to PC.07 is turned off and the EXTI line9pending bit is not cleared. So the CPU will execute indefinitely EXTI line9 ISR andthe WWDG ISR will never be entered(WWDG counter not updated). As result, when theWWDG counter falls to 3Fh the WWDG reset occurs.If the EXTI line9 event don抰 occurs the WWDG counter is indefinitely refreshed inthe WWDG ISR which prevent from WWDG reset. If the WWDG reset is generated, after resuming from reset a led connected to PC.06is turned on. In this example the system is clocked by the HSE(8MHz).
上傳時(shí)間: 2013-11-11
上傳用戶:gundamwzc
FPGA的CPU設(shè)計(jì)
上傳時(shí)間: 2015-01-01
上傳用戶:lansedeyuntkn
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1