Jump to content
  • 0

Analog Discovery 2 and CAN


Abdulmalik

Question

12 answers to this question

Recommended Posts

Hi @Abdulmalik,

Once you choose what data pin you want to use, you can connect the corresponding wire on the AD2 to the data line of interest. If you have multiple CAN datalines you want to be able to view, you can choose to add an additional CAN channel and use a different data line than was used in the first CAN channel. 

Did that answer your question?

Thank you,
JColvin

Link to comment
Share on other sites

Hi @Abdulmalik

It is suffice to connect one CAN signal with series resistor for voltages which exceed 0V-3.3V range or use transceiver to adapt it to 0/3.3V logic.
The AD2 digital IOs have protection diodes toward GND and 3.3V https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual#digital_io
The logic threshold of DIO inputs is at about 1.5V and 0.5V with the 5th device configuration.

Link to comment
Share on other sites

Hello @attila,

Thanks for answering my question.

I want to mention that my CAN bus is a test bench where it consists of microcontrollers with a CAN shield on top of each one of them. The shield has SN65HVD230 CAN controller. The schematic can be found here: https://www.waveshare.com/w/upload/1/16/RS485_CAN_Schematic.pdf

Could you perhaps elaborate on what you mean by: 

12 hours ago, attila said:

It is suffice to connect one CAN signal with series resistor for voltages which exceed 0V-3.3V range

 

12 hours ago, attila said:

use transceiver to adapt it to 0/3.3V logic

I have an MCP2551 transceiver that is connected to the CAN bus. What should I use as input for the AD2? The Rdx pin? If so, do I need GND somewhere?

 

Thanks again

Link to comment
Share on other sites

Hi @attila,

This is what I asked before. Do you think that will be possible to use only Rx and Tx from CAN/LIN transceiver in Logic or Protocol instrument in WaveForms? This should not be a problem as these transceivers are often a part of analyzed device, so it should be easy to connect directly to Rx/Tx. With protocol master mode this also enable great posibilites to control CAN/LIN buses.

On 10. 11. 2017 at 7:50 AM, kojak said:

Hi @attila

do you think that master mode in Protocol instrument will be possible without any CAN on LIN controller, only with CAN or LIN transceiver (eg. TJA1042 resp. TJA1027)?

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...