Testing CAN without Transceivers Topic is solved

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
duracell
Posts: 24
Joined: Tue Jul 05, 2016 8:55 am
Has thanked: 4 times
Been thanked: 1 time

Testing CAN without Transceivers

Post by duracell »

Hi to everybody,

I have tested a CAN connection in loopback mode and it works properly.

Now I am trying to test a simple connection between two CAN controllers but ,for the moment, I am not interested to the real implementation of CAN-BUS, I would just implement transmitting and receiving functions. So I have connected TX pin of CAN1 to RX of CAN2 and viceversa and I am trying to make a communication (without succes so far).

Provided that I am not implementing a real CAN connection because I have not a bus, do you think that this connection is able to work? Is CAN2 controller able to receive the data sent by CAN1 controller?

As board I am using a DIscovery (with STM32F407G microcontroller).

Thank you in advance for your help!
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Testing CAN without Transceivers

Post by Giovanni »

I am not sure if such connection (without drivers) is possible, probably not.

Giovanni
duracell
Posts: 24
Joined: Tue Jul 05, 2016 8:55 am
Has thanked: 4 times
Been thanked: 1 time

Re: Testing CAN without Transceivers

Post by duracell »

I will keep trying for a while and I will let you know.

Thank you!
duracell
Posts: 24
Joined: Tue Jul 05, 2016 8:55 am
Has thanked: 4 times
Been thanked: 1 time

Re: Testing CAN without Transceivers

Post by duracell »

Hi Giovanni,

I have realized a connection working properly using the two tranceivers, then I've tried to put off the transceivers and connect tx of CAN1 directly to rx of CAN2 and viceversa.

I confirm you that it doesn't work.


But I found on the internet that this configuration it is possible with PIC.

http://electronics.stackexchange.com/qu ... -a-can-bus.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Testing CAN without Transceivers

Post by Giovanni »

Good to know, thanks.

Giovanni
Post Reply