cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
3,176 Views
Registered: ‎11-12-2013

Data feedback between PS (CAN) to PL and back to PS (CAN)

I had received a data via CAN and sent that data to PL via GPIO EMIO. I processed it in the PL.

 

Now how can I get the processed data back into the CAN transmit register in PS?   (like feedback)

 

Thanks and waiting for suggestions,

 

Saurabh Nair

0 Kudos
Reply
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
3,171 Views
Registered: ‎07-01-2010

Hi ,

 

Are looking for CAN loop back mode?

 

Can you check this example discussed in the link ?

http://www.xilinx.com/support/answers/55133.html

 

Regards,

Achutha

 

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
0 Kudos
Reply
Highlighted
Observer
Observer
3,167 Views
Registered: ‎11-12-2013

Hi, achutha,

 

No, not CAN in loopback mode.

 

I receive the data using CAN in normal mode. That data is used in PL for processing via GPIO EMIO.

 

The processed data is to be sent back to CAN for transmission.

 

So, not loopback, but feedback.

 

Any suggestions,

Thanks

0 Kudos
Reply
Highlighted
Explorer
Explorer
3,152 Views
Registered: ‎09-07-2011

If I understand, sw reads data from the CANbus controller and sends it to the PL via GPIO EMIO? You should then be able to then have the PS read GPIO from the PL. You might have to devise a simple handshake so the PS knows when to read the data after PL processing.

Or use the AXI-lite bus, or SPI bus to EMIO to read/write the PL.

Does this make sense for your setup, or are you doing something different?

0 Kudos
Reply