Homepage GitHub

Libcanard on chibios

(Skyyuzhang) #1

if I want to using libcanard on chibios with stm32f103 how do I initialize canbus hardware

(Pavel Kirienko) #2

(Skyyuzhang) #3

should I do some specific driver on chibios ? I mean when using libcanard on no rtos we should do hwInit(); which include RCC_APB1PeriphClockCmd() and GPIO_PinAFConfig. so on chibios what should we do like RCC_APB1PeriphClockCmd() or nothing to do

(Pavel Kirienko) #4

With ChibiOS you only need to enable the clock signal to the CAN controller, that’s it. Here are relevant examples: