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: 
Highlighted
Contributor
Contributor
367 Views
Registered: ‎10-29-2018

How to set low MIO9 CAN_STB Board ZC702 using Petalinux 2017.4 or 2016.4?

Jump to solution

Hallo,

I read some tread in this forum how to set LOW the pin CAN_STB (MIO9) from this site:

https://github.com/Xilinx/linux-xlnx/pull/70

This site is uploaded in 2015.

And i try the instruction as mentioned in these site using petalinux 2017.4 how to set LOW pin CAN_STB so the CAN Transciever TJA1040 can set to normal mode but till now (almost 3 months) i can efford nothing.
Is anybody try it by using petalinux 2017.4 or petalinux 2016.4? i mean succes to interface the zc702 CANPS.
i really appreciate it for some suggestion, discussion and help.

Best Regards

0 Kudos
1 Solution

Accepted Solutions
Contributor
Contributor
278 Views
Registered: ‎10-29-2018

Re: How to set low MIO9 CAN_STB Board ZC702 using Petalinux 2017.4 or 2016.4?

Jump to solution

I finally succed to set MIO9 in low active. Just need read the detail all of User Guide Zynq, ZC702 and TJA1040. so i found the solution. Even i need to read them for  more 10 times.

0 Kudos
3 Replies
Moderator
Moderator
322 Views
Registered: ‎07-31-2012

Re: How to set low MIO9 CAN_STB Board ZC702 using Petalinux 2017.4 or 2016.4?

Jump to solution

Hi @eyeray ,

Please refer to UG850 -ZC702 User guide for CAN wiring connections first. Is it as mentioned in the figure below?

Image 3.jpg

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Contributor
Contributor
300 Views
Registered: ‎10-29-2018

Re: How to set low MIO9 CAN_STB Board ZC702 using Petalinux 2017.4 or 2016.4?

Jump to solution

Hi @pvenugo 

Thanks for replying my thread.

I read this UG850 like more than 10 times. And found this link https://github.com/Xilinx/linux-xlnx/pull/70 worth to try for solving my issue but i failed, why still not working. Maybe there is something that i misse in the instruction?
In this link mentioned that we need to edit the xilinx_can.c , zc702.dts, xilinx_can.txt to set the CAN_STB in low-active where it means "normal mode" according to datasheet from tja1040. In example from xilinx https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842496/Linux+CAN+driver, where in this link i think exactly used the zc702 board but it tested only in "Loopback mode".
Do you have any idea how to set the TJA1040 transciever in zc702 in normal mode? or did you succed to test CAN zc702  interfacing with other CAN-hardware?

 

Best Regards

0 Kudos
Contributor
Contributor
279 Views
Registered: ‎10-29-2018

Re: How to set low MIO9 CAN_STB Board ZC702 using Petalinux 2017.4 or 2016.4?

Jump to solution

I finally succed to set MIO9 in low active. Just need read the detail all of User Guide Zynq, ZC702 and TJA1040. so i found the solution. Even i need to read them for  more 10 times.

0 Kudos