2021-06-29 10:38 PM
2021-06-29 11:26 PM
Hello @治�?� 赵 and welcome to the Community :)
Please try to write in English because most of the people on this community can speak English, and this wil make sure that you can get an answer to solve your problem.
I used Google translate to get an rough idea of what you are saying but it's really unclear:
"
The Can initialization generated by the board cube of stm3240g-eval cannot run through, and the code programmed by keil can run through
"
Can you please provide more details and share your configuration?
which version of Cube package are you used ? which example used ?
Are you using CubeMX to generate your project?
Imen
2021-06-29 11:38 PM
I generate code through cube mx ,select stm3240g-eval。when it is running ,it can't jump out from this code: while ((hcan->Instance->MSR & CAN_MSR_INAK) == 0U)
I write code through keil and prove that this board can work normaly,I tried to change the parameter and doesn't work,even I can't focus on where have problem