1# Copyright (c) 2024 Vestas Wind Systems A/S 2# SPDX-License-Identifier: Apache-2.0 3 4mainmenu "CAN timing test" 5 6config TEST_ALL_BITRATES 7 bool "Test all CAN in Automation (CiA) recommended bitrates" 8 help 9 Enable test of all bitrates recommended by CAN in Automation (CiA). Not all CAN 10 controllers can meet all of the bitrates listed below, and some board configurations may 11 impose limits on which bitrates can be met due to limitations in the CAN core clock 12 frequency selection. 13 14 CiA 301 lists the following nominal bitrates as recommended: 15 - 10 kbit/s 16 - 20 kbit/s 17 - 50 kbit/s 18 - 125 kbit/s 19 - 250 kbit/s 20 - 500 kbit/s 21 - 800 kbit/s 22 - 1 Mbit/s 23 24 CiA 601-2 lists the following exemplary CAN FD data phase bitrates: 25 - 1.0 Mbit/s 26 - 2.0 Mbit/s 27 - 4.0 Mbit/s 28 - 5.0 Mbit/s 29 - 8.0 Mbit/s 30 31 CiA 601-3 recommends the following CAN FD core clock frequencies for good node 32 interoperability. The higher the frequency, the better: 33 - 20 MHz 34 - 40 MHz 35 - 80 MHz 36 37 If this option is not enabled, the tests will be limited to a historical, safe set of CAN 38 bitrates. 39 40source "Kconfig.zephyr" 41