Other Parts Discussed in Thread: HALCOGEN
TI工程师:
您好!我在使用HALCOGEN生成Hercules的N2HET代码时,发现生成PWM,检测EDGE和CAP,都只支持0~7,也就是8个通道。然而我的应用每一个NHET模块都超过8个通道,有什么解决方案吗?我看到芯片datasheet上NHET每个模块都支持最高32个pin的。
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.
然而我的应用每一个NHET模块都超过8个通道,有什么解决方案吗
您不能使用 HALCoGen 创建超过 8 个输入捕获的 N2HET 代码。但是您可以尝试下面的方法
https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/952008/rm48l952-period-capture-for-more-than-8-signals/3517717?tisearch=e2e-sitesearch&keymatch=N2HET%20channel%20more%20than%208#3517717
由于我手边没有该开发板,所以无法为您测试。