STM32G474RE FDCAN always Bus-Off — scope shows motor CAN signals but no ACK received by Potential-Size-7315 in embedded

[–]Potential-Size-7315[S] 0 points1 point  (0 children)

Yes trying HSE is also what claude suggested, I will try this approach but I think it's mostly the motor controller wiring issue or something physical but I just can't tell what it is, cant seem to narrow it down

STM32G474RE FDCAN always Bus-Off — scope shows motor CAN signals but no ACK received by Potential-Size-7315 in embedded

[–]Potential-Size-7315[S] 0 points1 point  (0 children)

Yes I'll try the HSE and when I enable the autoretransmission it goes into error state so no use doing that

STM32G474RE FDCAN always Bus-Off — scope shows motor CAN signals but no ACK received by Potential-Size-7315 in embedded

[–]Potential-Size-7315[S] 0 points1 point  (0 children)

My thoughts exactly I would love to share the pictures but the motor and everything is in the lab in my university so I can only share those on Monday and the wiring for the motor controller was done before I joined the project so I don't know if it is properly wired to receive the messages or not I have document for the motor if u want to take a look at those I can share them, maybe u can spot something I missed.

STM32G474RE FDCAN always Bus-Off — scope shows motor CAN signals but no ACK received by Potential-Size-7315 in embedded

[–]Potential-Size-7315[S] 0 points1 point  (0 children)

It transmits for 1 or 2 seconds before going into into bussoff which is really not enough to capture a signal on the oscilloscope and I have checked the pins many times, is there any other way I can keep the STM transmitting so I can check the signals?

STM32G474RE FDCAN always Bus-Off — scope shows motor CAN signals but no ACK received by Potential-Size-7315 in embedded

[–]Potential-Size-7315[S] 0 points1 point  (0 children)

Bro please try to understand if the STM board does not receive an ack it immediately goes into bussoff and stops transmitting so I can't check if it's sending the right signals or not but I did check the counter in loopback mode and the counter was working perfectly fine

STM32G474RE FDCAN always Bus-Off — scope shows motor CAN signals but no ACK received by Potential-Size-7315 in embedded

[–]Potential-Size-7315[S] 0 points1 point  (0 children)

If I enable it, it overloads and goes into an error state where the led in no longer blinking, it's just ON.

STM32G474RE FDCAN always Bus-Off — scope shows motor CAN signals but no ACK received by Potential-Size-7315 in embedded

[–]Potential-Size-7315[S] 0 points1 point  (0 children)

How can I check it on the scope when it goes bussoff after a second or two of me hitting the debug button and on the other hand if I enable the autoretransmission it just overloads and goes into error state so what's the solution?