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
parent
dd315316d8
commit
3fc6c05ce2
|
|
@ -329,7 +329,7 @@ static struct calc_bittiming_const can_calc_consts[] = {
|
|||
},
|
||||
.ref_clk = {
|
||||
{ .clk = 8000000, },
|
||||
{ .clk = 16000000, },
|
||||
{ .clk = 10000000, },
|
||||
},
|
||||
.printf_btr = printf_btr_mcp251x,
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue