cancel
Showing results for 
Search instead for 
Did you mean: 

CUBEMX and HAL COMMAND Question

BKim.16
Associate

Hi, I'd appreciate it if you could answer a few questions.

I try to use HAL_CAN_Recive_IT in the HAL example, but it's not automatically set up in CUBEMX. Why? And how do I use the HAL command in TRUESTUDIO?

1 ACCEPTED SOLUTION

Accepted Solutions
Amel NASRI
ST Employee

Hello,

Processing functions (like HAL_CAN_Recive_IT) are not generated by STM32CubeMX: only initialization code is generated.

You have to refer to the examples provided in the relevant STM32Cube package of the device you selected.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Amel NASRI
ST Employee

Hello,

Processing functions (like HAL_CAN_Recive_IT) are not generated by STM32CubeMX: only initialization code is generated.

You have to refer to the examples provided in the relevant STM32Cube package of the device you selected.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.