7 years, 11 months ago.

Using CANnucleo on a NUCLEO-F303K8

Hello,

Does anyone know what pins to use for the CAN receiver and transmitter on a NUCLEO-F303K8? The CANnucleo wiki page indicates that the NUCLEO-F303K8 is supported.

Tom

1 Answer

7 years, 11 months ago.

Hello Tom,
Since pins PB_8, PB_9 are not available on the NUCLEO-F303K8 board, the CAN peripheral can be connected only to pins PA_11, PA_12 (Receiver, Transmitter).

Hello Tom,
Thank you for your feedback. I really appreciate it because, unfortunately, the only NUCLEO board available to me is a NUCLEO-F103RB. So in fact I'm not able to test the library with any other board. Nevertheless, after having a closer look at the header file stm32f3xx.h it seem that a stm32f303x8.h header file is expected to be included for the NUCLEO-F303K8 boards. However, there is no such file available in the mbed library (?) and the current revision of CANnucleo library is not able to correctly specify the respective CAN interrupt. That's why until I find a workaround I have to remove the NUCLEO-F303K8 from the list of supported boards. Sorry for the inconvenience. In case you would like to urgently use a small-footprint CAN bus enabled board then I would recommend the STM32F103C8T6 tested in the CANnucle_Hello demo.

Hello Zoltan,

Thanks for the quick reply and the excellent work with the CANnucleo lib. I tried PA_11 & PA_12 but this did not work. I verified that the same code worked on a NUCLEO-F446RE board using the same pins. I also looked at the documentation (board user manual from ST) for the NUCLEO-F303K8 board and it did not show pins PA_11 and PA12 (or any) as being the CAN connections.

Tom

posted by Tom Doyle 15 May 2016