tests: drivers: can: timing: test more bitrates

Extend the test with more CAN in Automation (CiA) 301 standard bitrates.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-04-06 17:18:30 +02:00 committed by Marti Bolivar
commit 5961ad2af8

View file

@ -38,8 +38,12 @@ struct can_timing_test {
*/ */
static const struct can_timing_test can_timing_tests[] = { static const struct can_timing_test can_timing_tests[] = {
/** Standard bitrates. */ /** Standard bitrates. */
{ 20000, 875, false },
{ 50000, 875, false },
{ 125000, 875, false }, { 125000, 875, false },
{ 250000, 875, false },
{ 500000, 875, false }, { 500000, 875, false },
{ 800000, 800, false },
{ 1000000, 750, false }, { 1000000, 750, false },
/** Additional, valid sample points. */ /** Additional, valid sample points. */
{ 125000, 900, false }, { 125000, 900, false },