- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
我现有用3866芯片做了一个我别的单片机进行CAN通信的功能,目前可以确定我3866的硬件没有问题,因为这板子和ARM 通信没有问题,现在要和一个新的单片机做CAN通信,现在另外一个单片机发出来的信号用试波器在总线量有信号了,在3866的接收脚上量也有信号了,但是3866的的这个中断进不了。
请问一般是什么原因造成的。谢谢
Solved! Go to Solution.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
很可能是CAN 组件的Interrupt 参数没配置好。TopDesign里双击CAN组件,点到Interrupt,Enable Interrupts要勾选,如果你是要TX中断,要勾选 Message transmitted, 再点到 Transmit Butters里, IRQ要勾选。另外参考 一下 https://www.cypress.com/documentation/application-notes/an52701-psoc-3-and-psoc-5lp-getting-started-... 中的CAN Interrupt Configuration的介绍。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
很可能是CAN 组件的Interrupt 参数没配置好。TopDesign里双击CAN组件,点到Interrupt,Enable Interrupts要勾选,如果你是要TX中断,要勾选 Message transmitted, 再点到 Transmit Butters里, IRQ要勾选。另外参考 一下 https://www.cypress.com/documentation/application-notes/an52701-psoc-3-and-psoc-5lp-getting-started-... 中的CAN Interrupt Configuration的介绍。