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: 
Observer saurabhnair
Observer
7,393 Views
Registered: ‎11-12-2013

ZC702 CAN bus baudrate

I'm working on ZYNQ ZC702 board.

I'm trying to use the CAN bus interface for communication.

But I'm not able to understand how to find the clock frequency(PS_CLK) value and how to get the baudrate using BRP, SJW, TS1 and TS2 values.

 

Any help or guidance would be appreciated.

 

Thanks

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
7,357 Views
Registered: ‎08-01-2012

Re: ZC702 CAN bus baudrate

The below documents gives some useful information for debugging

http://www.xilinx.com/support/documentation/boards_and_kits/zc702_zvik/ug850-zc702-eval-bd.pdf

http://www.xilinx.com/support/documentation/boards_and_kits/zynq-7000/zc702_gsg/v3_0/UG926_Z7_ZC702_Eval_Kit.pdf

________________________________________________

Please mark this post as an "Accept as solution" in case if it helped to resolve your query. So that it will help to other forum users to directly refer to the answer.

Give kudos to this post in case if you think the information is useful and reply oriented.

0 Kudos
Observer saurabhnair
Observer
7,245 Views
Registered: ‎11-12-2013

Re: ZC702 CAN bus baudrate

finally solved it.

The clock frequency is fixed at 33.33MHz. The internal PLL makes it 1000MHz.

Then in the slcr registers for CAN, modify the register accordingly, to get the desired CAN clock.

 

http://www.xilinx.com/support/answers/22656.htm

 

This site helped me setting the Baud rate and it also explains how the bits are used...

 

Hope it helps...