arduino-CAN icon indicating copy to clipboard operation
arduino-CAN copied to clipboard

Support ESP v2+ chip feature to divide BRP by 2

Open mister0wl opened this issue 3 years ago • 1 comments

This code is a little rough, I think the best would be to calculate BRP and compare if it's too big then use the divider. But in the original codes the values of BTR0 and BTR1 is pre-calculated so I thought for first approach it fits. I could not test 20kbps so I can't be 100% confident that the values are correct.

mister0wl avatar Apr 14 '21 20:04 mister0wl

I think REG_IER is overwrite 0xFF by writeRegister I send @mister0wl a pull request

tzzee avatar Jun 20 '22 04:06 tzzee