CMSIS-Driver Validation  
Driver Validation
 All Files Functions Variables Macros Groups Pages
Configuration

The CAN driver validation settings are available in the DV_CAN_Config.h configuration file.

dv_can_config_h.png
DV_CAN_Config.h configuration file in Configuration Wizard view mode

Configuration settings

Driver_CAN# selects the driver instance that will be tested.
For example if we want to test Driver_CAN2 then this setting would be set to 2.

CAN bitrates section specifies which bitrate settings will be tested. If a setting is not to be tested then set the value to 0.

Ratio data/arbitration bitrate setting specifies ratio between data and arbitration bitrate which is used for CAN FD.

Percentual trigger for bitrate tests setting specifies allowed deviation of measured bitrate in comparison to requested bitrate, expressed in percents.

Transfer timeout setting specifies maximum timeout for a transfer, expressed in microseconds.

Tests section contains selections of tests to be executed.
For details on tests performed by each test function please refer to CAN Tests.