Input Signal Rise and Fall Tim - 免费下载

单片机编程资源 文件大小:94 K

📋 资源详细信息

文件格式
PDF
所属分类
上传用户
上传时间
文件大小
94 K
所需积分
2 积分
推荐指数
⭐⭐⭐⭐⭐ (5/5)

💡 温馨提示:本资源由用户 zpne 上传分享,仅供学习交流使用。如有侵权,请联系我们删除。

资源简介

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 an
undefined 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 an
application 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 the
TTL-specification between VIL and VIH with a sufficient rise/fall time, as generally usual
and 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 in
the undefined area, well defined low/high levels are generated internally. Note that all
input signals are evaluated at specific sample points (depending on the input and the
peripheral function connected to it), at that signal transitions are detected if two
consecutive samples show different levels. Thus, only the current level of an input signal
at these sample points is relevant, that means, the necessary rise/fall times of the input
signal is only dependant on the sample rate, that is the distance in time between two
consecutive evaluation time points. If an input signal, for instance, is sampled through
software every 10us, it is irrelevant, which input level would be seen between the
samples. Thus, it would be allowable for the signal to take 10us to pass through the
undefined area. Due to the sample rate of 10us, it is assured that only one sample can
occur while the signal is within the undefined area, and no incorrect transition will be
detected. For inputs which are connected to a peripheral function, e.g. capture inputs, the
sample rate is determined by the clock cycle of the peripheral unit. In the case of the
CAPCOM unit this means a sample rate of 400ns @ 20MHz CPU clock. This requires
input signals to pass through the undefined area within these 400ns in order to avoid
multiple capture events.
For input signals, which do not provide the required rise/fall times, external circuitry must
be used to shape the signal transitions.
In the attached diagram, the effect of the sample rate is shown. The numbers 1 to 5 in the
diagram represent possible sample points. Waveform a) shows the result if the input
signal transition time through the undefined TTL-level area is less than the time distance
between the sample points (sampling at 1, 2, 3, and 4). Waveform b) can be the result if
the 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 level
2. Either a low or a high level can be sampled here. If low is sampled, no transition will
be detected. If the sample results in a high level, a transition is detected, and an
appropriate action (e.g. capture) might take place.
3. Evaluation here clearly results in a high level. If the previous sample 2) had already
detected a high, there is no change. If the previous sample 2) showed a low, a
transition from low to high is detected now.

立即下载此资源

提示:下载后请用压缩软件解压,推荐使用 WinRAR 或 7-Zip

资源说明

📥 下载说明

  • 下载需消耗 2积分
  • 24小时内重复下载不扣分
  • 支持断点续传
  • 资源永久有效

📦 使用说明

  • 下载后用解压软件解压
  • 推荐 WinRAR 或 7-Zip
  • 如有密码请查看说明
  • 解压后即可使用

🎁 积分获取

  • 上传资源获得积分
  • 每日签到免费领取
  • 邀请好友注册奖励
  • 查看详情 →

相关标签

点击标签查看更多相关资源:

相关资源推荐