can-calc-bit-timing: mcp251x: replace 16MHz refclock by 10MHz

The mcp251x uses half of the external OSC rate as CAN clock. In real world
applications external OSC with a clock of 16MHz or 20MHz are used. Adjust the
example ref clocks accordingly.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
pull/277/head
Marc Kleine-Budde 2021-01-16 22:31:05 +01:00
parent dd315316d8
commit 3fc6c05ce2
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ static struct calc_bittiming_const can_calc_consts[] = {
}, },
.ref_clk = { .ref_clk = {
{ .clk = 8000000, }, { .clk = 8000000, },
{ .clk = 16000000, }, { .clk = 10000000, },
}, },
.printf_btr = printf_btr_mcp251x, .printf_btr = printf_btr_mcp251x,
}, { }, {