• 0
Lakshmi Tejas M A

Analog Discovery 2 interfacing CAN

Question

I am using analog discovery 2 to send/Receive signals with PCAN using python.

Do i need to have a CAN transceiver IC to convert from CAN-H/L to CAN-Rx/Tx?

Also wanted to know if i use Waveforms software, what is the hardware connection?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 1

TX and RX channels are defined in Protocol -> CAN Window:

image.png.f3a2d33eba82ba9530bffc636e458b30.png

Functions for setting Rx and Tx channels are described in SDK Reference Manual:

image.thumb.png.11352e5247249ec0563e83503e639545.png

Also, in my opinion, you have to use a proper CAN transceiver for TX, as the transceiver is not only a level shifter, but realizes differential interface. Maybe you can monitor without a ttransceiver, if I/O threshold would be sufficient to voltage levels on one of CAN lines.

Share this post


Link to post
Share on other sites
  • 0

Hi @Lakshmi Tejas M A,

If the voltage ranges are out of what can be sustained as per your other thread here, you will need a CAN transceiver IC to convert the voltage levels. If you are using the WaveForms software, you will need to use the Analog Discovery, Analog Discovery 2, the Electronics Explorer board, or the Digital Discovery as your hardware.

Thank you,
JColvin

Share this post


Link to post
Share on other sites
  • 0
On 7/18/2018 at 1:24 AM, JColvin said:

Hi @Lakshmi Tejas M A,

If the voltage ranges are out of what can be sustained as per your other thread here, you will need a CAN transceiver IC to convert the voltage levels. If you are using the WaveForms software, you will need to use the Analog Discovery, Analog Discovery 2, the Electronics Explorer board, or the Digital Discovery as your hardware.

Thank you,
JColvin

@JColvin

Thank you for the reply. 

The PCan outputs are CAN-H/L. So...

What are the outputs when i use Waveform software with AD2?

What are the outputs when i use python with AD2?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now