2024-04-11 11:28 AM - last edited on 2024-04-12 01:08 AM by SofLit
Hello,
Hope you all doing well..!!
I am using two microcontrollers i.e., for transmitting data I have to use STM32F407VET6 and for receiving I have to use STM32F407VGT6 also I have to connect MCP2551 CAN Transceiver. I am transmitting data from one board and receiving data from another board through CAN Bus Protocol Communication.
However, the data is not transmitted and received. I have properly checked the hardware connections and terminated the bus at both ends with 120-ohm resistors.
IDE: STM32CubeIDE
Which step should I follow for communication between boards?
Thank You in advance!!
2024-04-25 10:43 PM
Hello,
With an oscilloscope or with a logic analyser, you need to check the availability of CAN frame on CAN_TX pin of the transmitter and on CAN_RX pin on the receiver.
2024-04-26 03:04 AM
I had to check with the logic analyser it's showing can_error.
2024-04-26 10:06 AM
can_error? How?
Could you please share the analyser CAN frames screenshots of CAN_TX of the transmitter and CAN_RX of the receiver?