cancel
Showing results for 
Search instead for 
Did you mean: 

How to check CAN loopback on nucleo stm32f446RE example program using DSO

Komal
Associate II

Imported an example code of CAN loopback on STM32F446RE board,

Komal_0-1696403234047.png

 

Please guide me to check the signal in DSO(hantek Software),

I  do not have a CAN analyzer please help me to get the signal in digital oscilloscope.

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

You can run the example with or without CAN analyzer. Loopback is intended to be used in standalone.

To detect the frame, put the probe on Tx pin and enable the oscilloscope trigger on falling edge.

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

3 REPLIES 3
SofLit
ST Employee

Hello,

Could you please elaborate more on what do you want to do so we can help you?

As I understand you want to visualize the CAN frame using an oscilloscope. Using this firmware: Projects\STM32446E_EVAL\Examples\CAN\CAN_Loopback you can visualize CAN frames sent on CAN_Tx pin.

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.
Komal
Associate II

Yes I want to visualize CAN frame sent on CAN_Tx pin.
1. I have debug the project and connected CAN_Tx pin to Digital Oscilloscope without having CAN analyzer but i'am not able to see the frame in DSO.

2. does the Example code can be used without having CAN analyzer.

3.If yes What is the procedure to check the frame.

SofLit
ST Employee

You can run the example with or without CAN analyzer. Loopback is intended to be used in standalone.

To detect the frame, put the probe on Tx pin and enable the oscilloscope trigger on falling edge.

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.