cancel
Showing results for 
Search instead for 
Did you mean: 

While i am transmitting CAN_Tx data for every 1 second and checking in microchip CAN Analyzer but it showing error passive. Please find the attached software and microchip CAN Analyzer data below. Please support this issue to solve the problem.

Karthik Kumar
Associate III

0693W00000WHZlEQAX.png0693W00000WHZjcQAH.png

4 REPLIES 4
Javier1
Principal

how are you initialising the peripheral?

show us the code, are you configuring your stm32 canbus peripheral to run at 250Kb? because thats the baudrate set in your microchip tool

how are you wiring the canbus analyzer?

I do have the same ans i wire it like this. (triple check you did connect canH and canL where they belong)

0693W00000WHZmgQAH.pngAre you correctly terminating the canbus with 120ohm resistors?

we dont need to firmware by ourselves, lets talk
Karthik Kumar
Associate III

I have connected proper connections. For me CAN receive is working but getting error at CAN transmit.

>>For me CAN receive is working but getting error at CAN transmit.

Can receive from the stm32 is working and can sending from the stm32 is not working?

its a good habit to check if the canbus mailboxes are full before trying to send anything.

How are your canbus mailboxes doing?

do you have an oscilloscope?

aLSo, are you trying to CAN_Tramsmit inside an interruption¿

we dont need to firmware by ourselves, lets talk

@Javier Muñoz​ 

thank you for your response, Issue is resolved.

I am using the Polling method for CAN transmit..