尊敬的
我想使用 RM46L852上的电机编码器和霍尔传感器输入。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
两个端口(ECAP5和 ETPWM7A)用作参考原理图中的一个输入(ETPWM7A)。
怀伊使用两个端口作为一个输入?
[/报价]该控制是为两种不同的基板开发的、它们具有用于 J1连接器的不同引脚排列。 对于 DRV803x RevB EVM、J1引脚30和引脚80用于捕获霍尔传感器信号并路由到 ECAP5和 ECAP6。
[引用 userid="395442" URL"~/support/microcontrollers/other-microcontrollers-group/other/f/other-microcontrollers-forum/1008491/rm46l852-about-sensor-interface-of-rm46l852/3727954 #3727954"]这是否意味着 N2HET 和 ECAP 端口可以接受霍尔传感器和编码器输入?[/quot]您可以使用 ECAP 或 N2HET 来捕获霍尔传感器的信号。 N2HET 也可被设定为运行 eQEP。
[引用 userid="395442" URL"~/support/microcontrollers/other-microcontrollers-group/other/f/other-microcontrollers-forum/1008491/rm46l852-about-sensor-interface-of-rm46l852/3727954 #3727954"]是否不需要使用 eQEP 端口进行编码器输入?您不必使用 eQEP。 但是、与使用 N2HET 相比、使用 ECAP 和 eQEP 更容易。