Skip to main content
治赵.1
Associate
June 30, 2021
Question

stm3240g-eval这个�?��?cube生�?的can�?始化跑�?过去,通过keil编程的代�?�?�以跑通

  • June 30, 2021
  • 2 replies
  • 674 views

..

This topic has been closed for replies.

2 replies

ST Technical Moderator
June 30, 2021

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
治赵.1
治赵.1Author
Associate
June 30, 2021

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