CY8C3866AXI-040 can communication problem consultation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Robin_Peng
Level 5
Level 5
Distributor - Macnica(GC)
100 replies posted 50 replies posted 50 questions asked

我现有用3866芯片做了一个我别的单片机进行CAN通信的功能,目前可以确定我3866的硬件没有问题,因为这板子和ARM 通信没有问题,现在要和一个新的单片机做CAN通信,现在另外一个单片机发出来的信号用试波器在总线量有信号了,在3866的接收脚上量也有信号了,但是3866的的这个中断进不了。

  请问一般是什么原因造成的。谢谢

11.png

0 Likes
1 Solution
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

很可能是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的介绍。

Roy Liu

View solution in original post

0 Likes
1 Reply
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

很可能是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的介绍。

Roy Liu
0 Likes