cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L476XX CAN functionality Support?

Ajay Kashyap
Associate
Posted on May 01, 2018 at 04:19

I have purchased a 

https://os.mbed.com/platforms/ST-Nucleo-L476RG/

 board for evaluating STM32L476XX MCU. However I am interested in the CAN functionality provided by the MCU and my question is do I need CAN transceiver

(for example an MCP2551 chip) to be able to communicate with a CAN Device or the CAN functionality available out of box with

STM32L476XX 

MCU is sufficient to communicate with a CAN Device.

Thanks,

Ajay.

#stm32l476xx #can-interface #can
5 REPLIES 5
T J
Lead
Posted on May 01, 2018 at 11:48

Usually you would need the line translator to talk to any normal CAN device.

but between nucleo boards for example, a diode circuit would suffice.

To start communicating on CAN, I suggest you purchase a transceiver and work on the receiver code first.

I used the CanDo unit.

Posted on May 01, 2018 at 14:34

Pro-Tip: Look at circuits used on EVAL series boards for examples of peripherals not provided on the NUCLEO boards.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Richard Li
Associate II
Posted on May 31, 2018 at 22:55

Where is example code for STM32 MCU CAN bus master mode?

Posted on June 01, 2018 at 07:37

'its in the repository ' may or may not be true...

I would search for Canbus stm32L examples code in google...

We are here to help when you get stuck, it can take days to work on 1 small issue.

Posted on June 01, 2018 at 07:51

There is a CAN Tx/Rx example for the STM32L476 here

STM32Cube_FW_L4_V1.11.0\Projects\STM32L476G-EVAL\Examples\CAN\CAN_Networking

The examples demo basic functionality, if you're looking for more you might have to dig a bit.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..