cancel
Showing results for 
Search instead for 
Did you mean: 

CAN communication (no data visible on CAN HIGH or CAN LOW side of transciver TJA1050)

Ash1
Associate III

Hi all 

I am trying to run CAN communication (normal mode ) from my discovery board (STM32F407) to USB CAN analyzer via (TJA1050).

I am able to see data on TJA1050 (CAN TX and RX side ) but no data is reflecting on CAN high and CAN low side, so because of no data is showing on CANH and CANL ,no data is reflecting on USB display (note: only rev led is blinking on USB CANAlyzer)

what can be issue ?

B.R

Ashish

PFA attached 

 

 

Capture.PNGCapture1.PNGCapture2.PNGCapture3.PNGCAN

1 ACCEPTED SOLUTION

Accepted Solutions

Hello,

First, please use </> button to paste a code in the community. Please read Tips on how to post a thread in it.

Second, CAN has two subjects to treat: HW and Software. You just pasted a reduced code of the transmit. This does not help us to move forward .. So please:

1- Share your project

2- Share your schematics

3- Confirm again your HW status: S pin voltage / Transceiver power supply, wiring and connections, availability of two terminating resistors.

Thanks

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

5 REPLIES 5
SofLit
ST Employee

Hello @Ash1 and welcome to the community.

What you did set as voltage level to S pin (Silent mode) of the transceiver? 

SofLit_0-1733487485017.png

SofLit_1-1733487552965.png

If you kept S pin not connected or connected it to VDD, the transceiver will be disabled, so you need to pull that S pin to GND.

 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Ash1
Associate III

Hi Soflit 

I have already ran this program two months ago it was working fine I have never used this method even ,so why I should use this one when it was working fine I didnt do any thing change .

Note: First time I am hearing this concept (selecting voltage level for S pin) I have already ran this program with same parameters and connection ..

B.R

Ash


@Ash1 wrote:

I have already ran this program two months ago it was working fine I have never used this method even ,so why I should use this one when it was working fine I didnt do any thing change .


You didn't mention that in your first post. I'm answering based on the information you gave.. No one have a crystal ball to know what you did.

Now, even it worked fine previously you need to check again all the hardware stuff including the S pin voltage level and the transceiver power, your wiring etc ..

You may share your schematics and your source code so we can help you efficiently.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Ash1
Associate III

hi Soflit

PFA  code for your referenceCapture1.PNGCapture2.PNGCapture3.PNGCapture4.PNG

Hello,

First, please use </> button to paste a code in the community. Please read Tips on how to post a thread in it.

Second, CAN has two subjects to treat: HW and Software. You just pasted a reduced code of the transmit. This does not help us to move forward .. So please:

1- Share your project

2- Share your schematics

3- Confirm again your HW status: S pin voltage / Transceiver power supply, wiring and connections, availability of two terminating resistors.

Thanks

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.