cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
421 Views
Registered: ‎06-04-2018

Problems using Linux driver for CAN PS on Zynq Ultrascale +

Were are using petalinux.

The driver is loaded for the CAN PS IP.

The driver is working for most of the cases. But when sending messages with RTR bit set, only one message on 2 are sent correctly.

We are using xilinx kernel version 2018.2.

 

0 Kudos
2 Replies
Highlighted
Moderator
Moderator
346 Views
Registered: ‎04-09-2019

Hi,

You mean second message is transferring successfully and getting error with first message or how is the behaviour.

Kindly let us know the status of the controller at failure condition.

Regards,

Venu

 

0 Kudos
Highlighted
Observer
Observer
339 Views
Registered: ‎06-04-2018

When we are sending other messages than RTR messages all is working.

When we are sending RTR messages:

The first message is not received. In statistics, we cannot even see a sent packet.

When sending the second message, the first is received and in statistics we can see only one packet sent and received.

Attached to the message we can find the history of commands used on console : can2 is the CANPS, can0 is another can peripheral.

 

CANPS.png
CANPL1.png
0 Kudos