I’m trying to send data over the CAN bus with the
flexcan_network example. When running this example however, the program never even executes the
BOARD_FLEXCAN_HANDLER and i can’t seem to find out why.
I connected the FLEXCAN2 RX and TX pins(UNO_I2C_SCL and UNU_I2C_SDA) to an MCP2562 and tried to read out the data with a scope, however this does not show any data either.
I know that the
BOARD_FLEXCAN_HANDLER is defined as the interrupt handler for FLEXCAN2, but i still can’t seem to figure out how this works exactly.
How can i make it so that this example will send data to the CAN bus?