Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] CAN communication between two STM32F103C8T6

Status
Not open for further replies.

surendran_raj

Junior Member level 2
Joined
Aug 8, 2022
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
235
Hi everyone
I need to communicate between two STM32F103C8T6 microcontroller using CAN. First i made try to transmit and receive data in loopback mode it worked .Now i try to transmit and receive data between two STM32F103C8T6 controller in normalmode but i can't able to transmit and receive data. Can anyone help me to solve this problem.
Controller - STM32F103C8T6
CAN module - XL1050

Thanks in advance.
Surendran
 

Use a scope to check the tx and rx signals between the micro and the CAN transceiver.
Also check the CAN bus signals, Don't forget the CAN bus 120 ohm terminations. For a short test setup, a single 60 ohm resistor is OK.
The 'S' pin on the XL1050 should be grounded for normal operation.
 

Hi,

we don´t have good informations.
consider to post
* your code (both sides)
* a schemtic and/or wiring diagram
* a desription of the test setup
* what you expect to happen
* and what you see instead

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top