5 years, 2 months ago.

What is the use of CANAny choice of a CAN format within the CAN API?

Does it mean I can send both extended or standard frame when I choose this setting?

1 Answer

5 years, 2 months ago.

Hi, it looks like it's just for filtering of the incoming messages.

The "CANAny" is used in the can_filter method and the can_write method will replace all non CANStandart formats with the CANExtended format. https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/can_api.c

J.

Accepted Answer