Jun 04, 2020
01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2020
01:32 AM
QuadDec is configured to compare Interrupt. Why is there an interrupt when QuadDec is started?
The QuadDec is startup with the following interface:
QuadDec_Int_StartEx(QuadDec_Hall_Int);
QuadDec_Hall_Start();
QuadDec_Hall_Enable();
QuadDec_Hall_TriggerCommand(QuadDec_Hall_MASK, QuadDec_Hall_CMD_RELOAD);
Solved! Go to Solution.
1 Solution
Attachments are accessible only for community members.
Jun 04, 2020
08:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2020
08:46 PM
这个需要看你的中断配置,正交解码器可以配置CC和TC中断,start之后有中断不能作为异常的依据。
我在042的工程里面写了一个CC中断的测试工程,可以正常进入和退出中断程序,你可以参考一下。
更多的信息,你可以参考TRM:https://www.cypress.com/file/126171/download
同时可以参考组件的datasheet。
1 Reply
Attachments are accessible only for community members.
Jun 04, 2020
08:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 04, 2020
08:46 PM
这个需要看你的中断配置,正交解码器可以配置CC和TC中断,start之后有中断不能作为异常的依据。
我在042的工程里面写了一个CC中断的测试工程,可以正常进入和退出中断程序,你可以参考一下。
更多的信息,你可以参考TRM:https://www.cypress.com/file/126171/download
同时可以参考组件的datasheet。