Skip to main content
sjy0425
Associate
March 19, 2019
Question

Problems implementing CAN communication with HAL libraries using STM32CubeMX.

  • March 19, 2019
  • 0 replies
  • 692 views

Hello,

​

The problem below has been solved.

​

There is no problem with the attached source code and the individual environment.

​

The problem was the board itself that I had.

​

Thank you for your interest.

Best regards.

Song

===========================================================================

Hello.

I have a problem initializing CAN communication through the HAL library on STM32CubeMX, so I'd like to ask you about a related issue.

​

First of all, the development environment that I use is:

- MCU: STM32L443CCT6

- Computer: IAR EW ARM 8.32.1.18631

- Initialize CAN communication: 500 Kpbs

- Code generation tool: STM32CubeMX (HAL STM32Cube FW_L4 V1.13.0)

​

​

I have already successfully initialized CAN communication on the STM32F303CC chip without difficulty and data transmission in the same development environment as above.

​

Based on the above successful example, I generated an initialization code for CAN communication on the STM32L443CCT6 chip currently being developed.

This generated code is a simple code with CAN communication initialization and data transfer only. 

​

However, unlike the previous experience shown on the STM32F303CC chip, CAN communication initialization and data transfer is not possible.

​

Circuits have the same configuration, only chips are different. Please help and support me if the code I created is missing or problematic.

​

For your information, we are attaching the relevant code.

​

Thank you.

​

This topic has been closed for replies.