mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 14:29:54 +02:00
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>
This commit is contained in:
@@ -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,
|
||||||
}, {
|
}, {
|
||||||
|
|||||||
Reference in New Issue
Block a user