CAN bus in esp32

Kp_Devil
Posts: 7
Joined: Sat May 05, 2018 11:56 am

CAN bus in esp32

Postby Kp_Devil » Sat May 05, 2018 12:05 pm

Hi guys, I am trying to work with CAN in ESP32.
I was able to do the basic communication between two ESP32 over CAN using the drivers by Thomas Barth (Thanks a lot for that Sir), but i am still failing to make communication between my MCU (which is STM32) and CAN.
I have set the baudrate to 125, and my tq is 500ns in ESP32 as its APB bus has 80MHz freq and similarly i configures for STM32 tq as 500ns.
Is there something i am missing, i even kept the same segment size for both sides.
Any help will be appreciated.
Thanks in advance.

Kp_Devil
Posts: 7
Joined: Sat May 05, 2018 11:56 am

Re: CAN bus in esp32

Postby Kp_Devil » Fri May 11, 2018 8:13 am

Sorry for bothering you guys, I actually goofed in the baudrate calculation . . . It's working fine now.
No issues for now.
Thank you.

Who is online

Users browsing this forum: Baidu [Spider] and 100 guests