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 08:46 AM
yee i figured tht changes done
2025-02-11 08:48 AM
What changes you have applied?
Please provide at least a picture.
Share the transceiver module schematics.
2025-02-11 08:50 AM - edited 2025-02-11 08:59 AM
@revvathi wrote:
https://www.nxp.com/docs/en/data-sheet/TJA1050.pdf
you can refer to the above
This is the datasheet of the transceiver not the schematics of the module.
OK what you need to check: S pin is connected to the GND. Could you please confirm?
Is there a 120ohm already soldered on the board? in that case you don't need to add an external 120 ohm terminating resistor. From the DISCO side, there is a 120ohm resistor but you need to fit
You need also to fit the jumper JP7 to connect that resistor:
2025-02-11 09:10 AM
2025-02-11 09:13 AM - edited 2025-02-11 09:14 AM
As you are using FDCAN1 on the disco board, did you fit the jumper JP7?
Are you sure CAN_H and CAN_L are connected correctly between the nodes?
2025-02-11 09:14 AM
yes i am using fdcan1 and jp7 has been fixed
2025-02-11 09:16 AM
according to the datasheet there is a 120ohm already existing on board
there is no S pin on the board to ground it
2025-02-11 09:26 AM - edited 2025-02-11 09:28 AM
@revvathi wrote:
there is no S pin on the board to ground it
I didn't understand what do you mean by that.
Meanwhile you have an issue in CAN bitrate:
H7:
G4:
These bitrates don't match!
As I said previously if you are not familiar with the CAN/CAN-FD protocols, you need to study them before going ahead with the development.