2021-04-27 08:45 AM
Hello, I'm trying to build a simple program to communicate between 2 microcontrollers using FDCAN. Im not using a transciever yet, just connecting TX of one Nucleo-G431KB to the RX of one Nucleo-G474RE, and vice-versa.
Using the test modes, External Loopback and Bus Monitoring, i can send and receive data without a problem. Filters works properly, everything seems ok.
When i switch to Normal mode, i can't send and/or receive data.
I tried using an osciloscope on the sender TX, and i dont get any signal, when in normal mode.
I'll post the code of the sender, and receiver.
Can someone help me? What am i doing wrong?
Solved! Go to Solution.
2021-04-27 01:22 PM
Hi,
Please set corretly NominalTimeSeg1 and NominalTimeSeg2 also set the same FrameFormat. Please see post:
https://community.st.com/s/question/0D53W00000j5m6SSAQ/stm32-can-bus-not-sending-the-messages
http://www.bittiming.can-wiki.info/#bxCAN
If You use Normal Mode please use externa transceiver for CAN.
Best Regards,
Slawek
2021-04-27 01:22 PM
Hi,
Please set corretly NominalTimeSeg1 and NominalTimeSeg2 also set the same FrameFormat. Please see post:
https://community.st.com/s/question/0D53W00000j5m6SSAQ/stm32-can-bus-not-sending-the-messages
http://www.bittiming.can-wiki.info/#bxCAN
If You use Normal Mode please use externa transceiver for CAN.
Best Regards,
Slawek