2021-07-09 09:43 AM
I enabled CAN 2 in low level drivers, chose the correct pins under pinout but I get error (undeclared variable) when I try to can_lld_start(&CAND2, &can_config_cfg0);
How do I use a specific CAN bus in code and how do I enable it? Do I type &CAND5 for the fifth bus?
2021-07-11 11:36 PM
I think you mean
#include "adc_lld_cfg.h"
see RLA CAN Test Application for Discovery
2021-07-14 01:48 PM
I included #include "can_lld_cfg.h" for the CAN drivers but I am trying to figure out why I can not use other CAN channels. I enabled them using the software under low level drivers and assigned pins in the pinmap editor.