完善资料让更多小伙伴认识你,还能领取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, |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1476 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1531 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3678 浏览 1 评论
3871 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2485 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
757浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
689浏览 5评论
732浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
986浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
788浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-18 01:53 , Processed in 0.767800 second(s), Total 73, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2264