While the chip itself can do CAN, there's no support for it in Espruino. To get something working you'd either have to make your own JS module using peek and poke, or you might have to write your own additions to Espruino in C code (in which case you could take advantage of ST's HAL library).
I think your main source of information would be the chip's reference manual. Chapter 24 is on the CAN controller.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
While the chip itself can do CAN, there's no support for it in Espruino. To get something working you'd either have to make your own JS module using peek and poke, or you might have to write your own additions to Espruino in C code (in which case you could take advantage of ST's HAL library).
I think your main source of information would be the chip's reference manual. Chapter 24 is on the CAN controller.
Hope that helps!