Hi,
Could someone set correctly the CAN baud rate on the Sharp LH75401 ?
My setup is very simple, I would like to acheive, for example 50Kbps :
- Baud Rate = System Clock / 2 / (BRP[5:0]+1) / <Tq per bit>
Here are the parameters
- System clock = 14745600 * 7 / 2 = 51609600 Hz
- BRP[5:0] = 51
- Bit setup : TSEG1 = 6, TSEG2 = 1 -> 1 Sync Tq + 7 Seg1 Tq + 2 Seg2 Tq = 10 Tq per bit
Resulting Speed should be ~49 624 bps... but my oscilloscope shows 66 666 bps (and it is not posessed by the devil, promise )
Where did I fail in my formula ?
Thank you
|