2018-04-30 07:19 PM
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 withSTM32L476XX
MCU is sufficient to communicate with a CAN Device.Thanks,
Ajay.
#stm32l476xx #can-interface #can2018-05-01 02:48 AM
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.
2018-05-01 05:34 AM
Pro-Tip: Look at circuits used on EVAL series boards for examples of peripherals not provided on the NUCLEO boards.
2018-05-31 01:55 PM
Where is example code for STM32 MCU CAN bus master mode?
2018-06-01 12:37 AM
'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.
2018-06-01 12:51 AM
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.