Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[SOLVED] CAN Physical Layer -Recessive/Dominant Bus voltage Measurement

Status
Not open for further replies.

Naveenk.wins

Newbie level 4
Joined
Jun 2, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
Hi Friends,

I need to measure the voltage levels of Recessive Bit and Dominant Bit in CAN Bus.

Can any one help me how to measure the same. When i measure(voltage) i am always getting CAN_H -> 2.5605v and CAN_L-> 2.56v.

My doubts
1.How to send a frame which contains only - Recessive Bit.
2.How to send a frame which contains only - Dominant Bit.

Regards
S.Naveen Kumar
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,861
I don't think you can do that? If 5 consecutive bits with the same polarity are sent then bit stuffing happens to prevent this.

You will have to use a scope to measure the levels.
 

microKernel

Full Member level 3
Joined
Jul 15, 2005
Messages
171
Helped
34
Reputation
68
Reaction score
12
Trophy points
1,298
Location
NE
Activity points
2,307
Like btbas said you need an osiloscope to do measurements. A simple multimeter won't suffice.

Also remember CAN uses a differential scheme for signalling.
A dominant bit (usually 0) is the very little voltage differential between CAN_H and CAN_L. At that time both CAN_H and CAN_L will be around 2.5 (I don't remember the exact values, check the specs).
For recessive bit (usually 1) differential of CAN_H and CAN_L will be I think 2.2V min (check the specs again for exact values) but CAN_L would nor be 0. It woyld be around 1.2v.
Moreover take care of bus termination while doung the measurements.
 

Naveenk.wins

Newbie level 4
Joined
Jun 2, 2011
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
Hi,

This is how i measured the voltage across the bus CANH -CRO channel 1 and Connected the Ground to CANL - By this i got the differential voltage as 2.1V for Dominant Bit and <200millivolt for Recessive Bit.

You can individually measure the CANH Voltage and CANL voltage and subtract the same to get the differential voltage. Voltage >= 2 is recognized as LOGIC 0 and Voltage <500millivolt is recognized as LOGIC 1 in the BUS

Note: This voltage depends on the Standard used i am using J1939Standard.
Note: To measure the voltage Send an Identifier with lowest value i used 0x007.

Best regards
S.Naveen Kumar
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top