cancel
Showing results for 
Search instead for 
Did you mean: 

My program can't go into CAN BUS receive interrupt to get the message from the gyroscope

BWei.1
Associate

I use a CAN BUS gyroscope in my project, I connect it via tja1050 with my MCU(stm32 f103RCT6).I believe that the hardware connection has nothing wrong, and I can see the signals on the BUS using oscilloscope . However, I can't go into the CAN BUS receive interruption, why?images are my code0693W000005BaUdQAK.png0693W000005BaRpQAK.pngI really appreciate your help, thank you!!

2 REPLIES 2
Ozone
Lead

Do the error counters go up ?

Check your wiring and the terminating resistance.

I used a tja1050 module like this , do I still need a terminating resistance?

0693W000005BlCuQAK.jpgand how to check the error counters in MDK5(I'm really a green hand, sorry)