UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
7,143 Views
Registered: ‎11-11-2013

Zynq CAN bus problem

 

Hi there,

I used CAN controller in PS, and tested with the example code  "xcanps_polled_example" in loopback mode. It works.

 

Then I changed the loopback work mode to the normal mode. Meanwhile I connected the rx and tx pins together outside to make it a loopback outof zynq. 

 

Then I ran the firmware to test the CAN bus. It appears that CAN didn't receive any from tx pin. Could you please help?

 

thx

Sam

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
7,126 Views
Registered: ‎07-30-2007

Re: Zynq CAN bus problem

0 Kudos
Explorer
Explorer
7,078 Views
Registered: ‎11-11-2013

Re: Zynq CAN bus problem

Thanks for your reply. My problem is different. 

But I found the cause to the problem: 

The constrant for CAN bus is that at least 2 nodes on the bus (the Tx node wait for the Rx node(s) to ACKnowledge the message, otherwise it is deemed invalid by all receiving nodes.  The zynq node won't ACK its own message.

I will try to test the CAN bus by a different approach. 

0 Kudos