cancel
Showing results for 
Search instead for 
Did you mean: 

To know about CAN communication between two STM boards.

PI M.1
Associate

Hello, I'm trying to communicate between two STM boards through CAN. I'm using STM32F103ZET6(as Transmitter) and STM32F103C8(as Receiver). I'm not getting the output,

can I get the code? or tell me the method to debug my code in STM32IDE.

2 REPLIES 2
pvo317
Associate II

Мне удало�?ь �?в�?зать 2 stm32f103 на �?коро�?ти 100000 без тран�?ивера. (MBED)​.

I managed to connect 2 stm32f103 at a speed of 100000 without a transceiver. (MBED).

Perhaps start with the wiring?

See Tiny CAN method described by Keil for a simple MCU to MCU connection using diodes rather than a transceiver. CAN expects to see feedback of CAN_TX on CAN_RX to know if it successfully driving the bus or conflicting with another controller.

http://www.keil.com/appnotes/files/apnt_236_v2.9.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..