ICP DAS USA I-7565 User Manual page 59

The uart to can bus converter
Hide thumbs Also See for I-7565:
Table of Contents

Advertisement

How to fill those parameter:
The Bit Timing register includes six kinds of parameter, BRP, SJW,
PRS, PHS2, PHS1, and SMP. Please refer to the following table.
Bit
Bit 7 Bit 6
register
Bit Timing 1 -
Bit Timing 2 -
Bit Timing 3 -
Figure: General structure of a bit period
Generally, the register of SJW0, SWJ1 and SMP are always 0. One bit
time consists of the time T
into numbers of time slice (TQ) according to the system clock. The
formula is shown below:
Numbers of TQ = (System Clock) / (CAN Baud Rate)
For example, when the CAN baud rate is 40 kbps, the numbers of TQ
would be (20 MHz) / (40 Kbps) = 500. It means that the CAN converter
can divided one bit time into 500 parts. The register PRS, PHS1, and
PHS2 indicates the numbers of the time slice for T
I-7530, I-7530-FT, I-7530A, I-7565 User's Manual (Version 1.3, Apr/2015) -------- 59
Table: Bit Timing Register
Bit 5
BRP5
BRP4
SJW1
SJW0
PHS22 PHS21 PHS20 PHS12 PHS11 PHS10 SMP
, T
syns
prs
Bit 4
Bit 3
BRP3
BRP2
-
PRS2
, T
, and T
, and can be divided
phs1
phs2
, T
prs
Bit 2
Bit 1
BRP1
BRP0
PRS1
PRS0
, and T
.
phs1
phs2
Bit 0
-
-

Advertisement

Table of Contents
loading

Table of Contents