Associate
November 23, 2023
Solved
CAN interface between two STM32F373C8 microcontrollers
- November 23, 2023
- 2 replies
- 1155 views
Hi, I want to use CAN interface to transfer integer data from one micro controller to another. I am using STM32F373C8 microcontrollers. Please brief me the hardware connection too, from google I understand following.
uC1-------------------uC2
CAN_H----------------CAN_H
CAN_L------------------CAN_L
GND----------------------GND
But in our case we have , CAN_Tx and CAN_Rx pins. I have also swapped the pins for transmission. The boards are placed quite close to each other. I have implemented the ChatGPT code, but it stucks some where in receiving. I am attaching my main file here. Please guide me as soon as possible