Report
4 years, 7 months ago.

Does NUCLEO-F072RB support CAN library

Hi,

Does NUCLEO-F072RB support CAN library?

Thanks

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F072RBT6 microcontroller.
Comment on this question

1 Answer

4 years, 7 months ago.

Hello,
My short answer is no.

A long answer...
One of the best information resources is the source code.
For example, the mbed LPC1768 supports CAN library. Then, the device.h file contains the following line.
http://developer.mbed.org/users/mbed_official/code/mbed-src/file/8a0b45cd594f/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_MBED_LPC1768/device.h

#define DEVICE_CAN              1

And, the can_api.c source code is available in the following directory.
http://developer.mbed.org/users/mbed_official/code/mbed-src/file/8a0b45cd594f/targets/hal/TARGET_NXP/TARGET_LPC176X

I could not find any CAN information in the following directory.
http://developer.mbed.org/users/mbed_official/code/mbed-src/file/8a0b45cd594f/targets/hal/TARGET_STM/TARGET_NUCLEO_F072RB