0% found this document useful (0 votes)
168 views2 pages

MCP2515 Calc

Uploaded by

Leandro Santos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views2 pages

MCP2515 Calc

Uploaded by

Leandro Santos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Calc

MCP2515 Configuration Register Calculator


Crystal Frequency 16 MHz Baud Register Values Misc Regi
Baud Rate 250 kbs Baud Rate Prescaler (BRP) 1 PS2 Bit Time Mod
Propogation Segment 1 Sample
Time Quantum 0.25 microseconds Phase Segment 1 (PS1) 6 Start-of Frame
Bit Time 4 microseconds Phase Segment 2 (PS2) 5 Wake-Up Fi
Time Quantum Max 16 Synchronization Jump Width (SJW) 1
Prescaler Setting 1 Adjust BRP To Get A Nice Whole Time Quantum Max Value
SJW 2 x TQ PropSeg + PS1 >= PS2 Bit Sample Point Occurs Between PS
SyncSeg 1 x TQ PropSeg + PS1 >= TDELAY Typically, the TDELAY is 1-2 TQ
PropSeg 2 x TQ PS2 > SJW
PS1 7 x TQ MCP2515 Baud Registers
PS2 6 x TQ msb
16 Total TQ 7 6 5 4 3
0 1 0 0 0
Register CNF1 41 01000001
SJW BRP
1 1 1 1 0
Register CNF2 F1 11110001
BTLMODE SAM PS1
1 0 0 0 0
Register CNF3 85 10000101
SOF WAKFIL Reserved “000”

Page 1
Calc

Misc Register Values


it Time Mode (BTLMODE) 1
Sample Mode (SAM) 1
art-of Frame Signal (SOF) 1
Wake-Up Filter (WAKFIL) 0

Between PS1 and PS2


2 TQ

s
lsb
2 1 0
0 0 1
RP
0 0 1
Prop
1 0 1
PS2

Page 2

You might also like