完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,
我实际上正在开发一个基于Touch RC Acquisition的项目。 我已经从ST网站下载了这个例子,但我不明白为什么采集引脚连接在定时器1上,而根据STM8触摸传感驱动器用户手册,这个引脚应连接到定时器3引脚。 谢谢你的帮助, 最好的祝福, 禄 #stm8-touch-library-rc-st #stm8-touch-library-rc-st 以上来自于谷歌翻译 以下为原文 Hello, I am actually working on a project based on the Touch RC Acquisition. I have downloaded the example from the ST website, but I didn't understand why the acquisition pin is wired on Timer 1 while according the STM8 Touch-Sensing Driver User Manual, this pin should be wired on a Timer 3 pin. Thanks for your help, Best regards, Lo�c #stm8-touch-library-rc-st #stm8-touch-library-rc-st |
|
相关推荐
2个回答
|
|
嗨,Loic,
STM8S触摸感应库不直接使用定时器的输入捕捉。每个定时器的输入捕获数量受到限制,已经开发出专用的过采样方法(参见AN2927)。由于这种方法,可以使用STM8S器件的任何I / O.但你是正确的,为了测量充电或放电电极电容的时间,触摸感应库使用定时器2或定时器3。 我希望AN2927的读取能帮助您理解RC采集原理以及它如何摆脱定时器输入捕获。 最好的祝福, 蒂埃里, 你好, 我实际上正在开发一个基于Touch RC Acquisition的项目。 我已经从ST网站下载了这个例子,但我不明白为什么采集引脚连接在定时器1上,而根据STM8触摸传感驱动器用户手册,这个引脚应连接到定时器3引脚。 谢谢你的帮助, 最好的祝福, 卢瓦克 以上来自于谷歌翻译 以下为原文 Hi Loic, The STM8S touch sensing library is not directly using the input capture of the timer. The number of input captures per timer being limited, a dedicated oversampling methodology (see AN2927) has been developed. Thanks to this approach any I/O of the STM8S device can be used. But you are right that to measure the time to charge or discharge the electrode capacitance, the touch sensing library is using either the Timer 2 or the Timer 3. I hope that the reading of the AN2927 will help you to understand the RC acquisition principle and how it gets rid of the timer input capture. Best Regards, Thierry, Hello, I am actually working on a project based on the Touch RC Acquisition. I have downloaded the example from the ST website, but I didn't understand why the acquisition pin is wired on Timer 1 while according the STM8 Touch-Sensing Driver User Manual, this pin should be wired on a Timer 3 pin. Thanks for your help, Best regards, Loïc |
|
|
|
谢谢蒂埃里,
然而,我有一个新问题,因为有些日子,我已经将stm8_tsl_conf.h文件改编为我的应用程序(一块板有一个RC电容触摸和一个STM8L151微控制器),但STM8没有检测到接触。 电极的宽度为9.25mm,因为绝缘体的厚度为2mm。 我试图修改阈值,但没有结果。 我还有一个问题,在stm8_tsl_conf.h文件的第11步中,掩码还应该是屏蔽还是只有密钥? 我有2.4.0版本的触摸库,我使用Raisonance编译器 最好的祝福, 卢瓦克, 以上来自于谷歌翻译 以下为原文 Thank you Thierry, However I have a new problem since some days, I have adapted the stm8_tsl_conf.h file to my application (one board with one RC capactive touch and a STM8L151 microcontrolleur) but the STM8 doesn't detect contact. The electrode has a width of 9.25 mm because the insulator has a thickness of 2 mm. I tried to modifie the thresholds, but no result. I have also a question, in the 11th step of the stm8_tsl_conf.h file, the mask should coutain also the shield or only the key ? I have the 2.4.0 version of the touch library and I use the Raisonance Compiler Best Regards, Loïc, |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2355 浏览 1 评论
3101 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1670 浏览 1 评论
3490 浏览 6 评论
5838 浏览 21 评论
829浏览 4评论
1204浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
473浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1186浏览 3评论
1237浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-9-5 18:16 , Processed in 1.012760 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191