Skip to main content
BKim.16
Visitor II
September 3, 2019
Solved

CUBEMX and HAL COMMAND Question

  • September 3, 2019
  • 1 reply
  • 1099 views

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?

This topic has been closed for replies.
Best answer by Amel NASRI

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

1 reply

Amel NASRI
Amel NASRIBest answer
ST Technical Moderator
September 23, 2019

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 "Best Answer" on the reply which solved your issue or answered your question.