cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 + Arduino Uno Can Bus Comminication Error

doganayserhatt
Associate II
Posted on October 15, 2015 at 18:54

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
2 REPLIES 2
Posted on October 15, 2015 at 19:45

So is this an Arduino question, or an STM32 one?

From the STM32 you might want to double check the frequency the part is running at, and the frequencies of the APB. Output the clock via MCO (PA8) and confirm. Check also with  RCC_GetClocksFreq()

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
doganayserhatt
Associate II
Posted on October 15, 2015 at 21:47

First, thank you clive1. I want the send data from arduino to Stm32f4 with Can-Bus.

 My application APB Clock=42 Mhz , PLL_M=8 Mhz and PLL_N=336 Mhz. So, HSE_VALUE=8 Mhz. I want to send data from STM32F4 to Arduino Uno. Its work Master and Slave. (STM32F4 as Master and Arduino as Slave)

Could it be different time quanta value for Arduino and STM32F4? STM32F4 is working 125 KBPS. I check with Logic Analyzer. There is no problem. But, the sent data from Arduino, STM32F4  does not any  detect .