CAN bus in esp32
Posted: 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.
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.