Whether STM32WL will support CAN protocol interfacing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-22 10:47 PM
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!
- Labels:
-
CAN
-
STM32CubeMX
-
STM32WL series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-22 11:58 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-23 11:07 PM
Thanks for the words!
