Skip to main content
Ppk.1
Associate II
May 23, 2022
Question

Whether STM32WL will support CAN protocol interfacing?

I 'am new to STM32WL & CAN protocol interfacing!

I'm currently working with the STM32CubeMX platform & some examples are given for CAN interfacing for other variants of STM32 MCUs.

But there is no CAN interfacing option available in STM32WL. So I'm unable to use the respective HAL libraries.

Can anyone help me, that whether STM32WL will support CAN interfacing? If so, please share the steps to follow!

Thanks in advance!

This topic has been closed for replies.

2 replies

Javier1
Principal
May 23, 2022

the Canbus you see supported in stm's HAL libraries is a Hardware peripheral.

STM32WL doesnt have a canbus periperal builtin.

Your options for using canbus with STM32WL are:

  • Interface dedicated chip:

i2c/spi to Canbus IC like the infamous MCP2515 , because the STM32WL does have a builtin spi hardware peripheral.

  • Interface another stm32 chip:

programm your own i2c/spi/uart/usb/,..... to canbus bridge with another stm32 chip, and then interface it with your stm32wl

  • Implement canbus in software, i have never seen this done and i believe it would be painfull.
hit me up in https://www.linkedin.com/in/javiermuñoz/
Ppk.1
Ppk.1Author
Associate II
May 24, 2022

Thanks for the words!