完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好
在PMSP单/双FOC SDK v3.4版本说明中它说: ENCODER速度传感器功能:所选定时器的一个输入捕捉引脚必须接地,根据使用的重新映射和基本原理:tiM2时为IC4,TIM3为IC4,TIM4为IC3,TIM5为IC4 ; 我正在使用STM3210B-MCKIT(MB459)以及提供编码器反馈能力的Shinano电机。在此设置中,TIM2将用于MCU引脚PA0-PA3,或外设TIM2通道1-4。 根据“已知限制”,需要PA3(TIM2 Ch 4(IC4))接地。 但是我注意到,在电机开发套件(UM0426)的原理图上,TIM2 Ch4没有接地 - 相反,它用于模拟电压读数。 在我们的应用中,我们使用3x大厅的滑板,但没有编码器。请您澄清“已知限制”说明吗? 也许“已知限制”注释应指定霍尔效应传感器,但没有编码器功能?我很困惑。请澄清一下。 谢谢 卢克 #编码器释放小钞限制 以上来自于谷歌翻译 以下为原文 Hi In the PMSP single/dual FOC SDK v3.4 RELEASE NOTE it says: ENCODER speed sensor function: one Input Capture pin of the selected timer must be grounded, according to the remapping in use and this rationale: IC4 in case of TIM2, IC4 in case of TIM3, IC3 in case of TIM4, IC4 in case of TIM5; I am using STM3210B-MCKIT (MB459) along with the supplied Shinano motor which has the capability of encoder feedback. In this setup, TIM2 would be used over MCU pins PA0-PA3, or in terms of peripherals TIM2 channels 1-4. According to the 'Known Limitations' then, it is required that PA3 (TIM2 Ch 4 (IC4)) is grounded. However I note that on that on the schematic diagram for the motor development kit (UM0426) that TIM2 Ch4 is not grounded - rather, it is used for analog voltage reading. In our application we use 3x hall snesors, but no encoder. Would you kindly clarify the 'Known limitations' note, please? Perhaps the 'Known limitations' note should specify Hall Effect sensors, but without the encoder function? I am perplexed. Kindly clarify. Thanks Luke #encoder-release-note-limitation |
|
相关推荐
1个回答
|
|
|
Ciao Luke,
限制仅适用于编码器,不会影响霍尔传感器。 此外,STM32F10B是一个普通的purpouses板,所以我们不能设置它可以重复用于其他purpouse的引脚。即使此引脚与评估板中的固定电压一起使用,编码器管理也能正常工作,因为该引脚只对该引脚的上升沿或下降沿有效。但我建议尽可能避免它。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Luke, The limitation is only for Encoder and not affect the Hall sensors. Moreover the STM32F10B is a general purpouses board and so we can't setup it groundig a pin that can be reused for other purpouses. The Encoder managemet works even if this pin is used with a fixed voltage like in the evaluation board because the algorthm is sensible just to a rising or falling edge on that pin. But I suggest to avoid it if possible. Ciao Gigi |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
658浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
940浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 20:36 , Processed in 0.765697 second(s), Total 71, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
11110