amobbs.com 阿莫电子技术论坛

标题: 请问 Q-touch Library 完成一次测量需要多少个指令周期? [打印本页]

作者: betwins    时间: 2009-9-27 11:38
标题: 请问 Q-touch Library 完成一次测量需要多少个指令周期?
请问 Q-touch Library 完成一次测量需要多少个指令周期?
  
Datasheet 中有个 表:
也有提到 说 1mS 关中断,



Clock speed (MHz) Cycle time (us) Suitable dwell times
----------------- --------------- --------------------
      1              1            1~2 cycles (1us to 2us)
      2              0.5          1~5 cycles (0.5us to 2.5us)
      4              0.25         1~10 cycles (0.25us to 2.5us)
      8              0.125        2~10 cycles (0.25us to 1.25us)
      10             0.1          3~25 cycles (0.3us to 2.5us)
      16             0.0625       4~25 cycles (0.25us to 1.5625s)
      20             0.05         5~50 cycles (0.25us to 2.5us)

----------------------------------------------------------------------------*/
作者: ddaitt999    时间: 2009-9-27 19:59
指令周期??这个不好计算吧,执行一次测量函数需要2个毫秒左右吧(4M的内部RC振荡器)。
作者: guantingwei    时间: 2009-9-27 21:23
这个不是特别确定,根据具体选择的电路参数有所差异,感应电容的大小当然也占了很大一部分。
作者: dujun168    时间: 2012-1-6 15:02
mark




欢迎光临 amobbs.com 阿莫电子技术论坛 (https://www.amobbs.com/) Powered by Discuz! X3.4