Added comment to clarify that the mcp251x uses half of the external OSC clock as the base clock

pull/283/head
Kristian Sloth Lauszus 2021-03-23 00:19:56 +01:00
parent cafc4bf748
commit 890dcc4735
1 changed files with 3 additions and 2 deletions

View File

@ -362,8 +362,9 @@ static struct calc_bittiming_const can_calc_consts[] = {
.brp_inc = 1, .brp_inc = 1,
}, },
.ref_clk = { .ref_clk = {
{ .clk = 8000000, }, /* The mcp251x uses half of the external OSC clock as the base clock */
{ .clk = 10000000, }, { .clk = 16000000 / 2, },
{ .clk = 20000000 / 2, },
}, },
.printf_btr = printf_btr_mcp251x, .printf_btr = printf_btr_mcp251x,
}, { }, {