2025-02-11 06:28 AM - last edited on 2025-02-11 06:34 AM by SofLit
the objective of this particular project was to transmit data frames from stm32h750dbk(discovery kit) to stm32g491re(nucleo)
it is debugging and creating live expression for both of the data types in receiving and transmit end of board i have not connected any transceiver between them because it has inbuilt fdcan ports
i am attaching both the codes for g4 and h7
the picture of hardware and the live expression result when debugged separately
2025-02-11 06:33 AM - edited 2025-02-11 06:37 AM
Hello,
Thank your for sharing the image because it raises a big issue.
You are using CAN in a bad hardware configuration.
From the disco board there is a CAN-FD transceiver (CAN_H/CAN_L) that you connected directly to FDCAN_Tx and FDCAN_Rx in the NUCLEO board!
You need to add a transceiver to the NUCLEO board to establish a CAN bus between two CAN nodes like the following:
You can also refer to this article and the related Github hotspot.
2025-02-11 06:59 AM
IS the connection right now
2025-02-11 07:04 AM - edited 2025-02-11 07:06 AM
1- What is the issue?
2- Could you please share the schematics of the transceiver's shield?
2025-02-11 07:07 AM
1)transmit data gets initialised to send but at the receiving side no data is envoked
2)i didnt get u what do u mean by shield :(
2025-02-11 07:10 AM - edited 2025-02-11 07:14 AM
1- Do you mean the data are transmitted were not received? By whom? which is transmitting and which is receiving?
2- The CAN module:
2025-02-11 07:19 AM
1)H7 is transmitting and G4 is receiving
2)can transciever module used is NXP TJA1050
2025-02-11 07:20 AM
2- Need the schematics of that module not a photo.
2025-02-11 07:23 AM - edited 2025-02-11 07:29 AM
Sorry I didn't notice this issue:
@revvathi wrote:
IS the connection right now
You don't need a transceiver for the DISCO board side. It has already a transceiver on board:
Also, refer to the figure I previously shared.
If you are not familiar with CAN bus need to have more information about it.
2025-02-11 08:46 AM