Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > BMW SAV Forums > X5 (E53) Forum
Fluid Motor Union
User Name
Password
Member List Premier Membership Search Today's Posts Mark Forums Read

Xoutpost server transfer and maintenance is occurring....
Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 09-15-2021, 01:25 PM
Member
 
Join Date: Jul 2016
Location: Kilmarnock, VA
Posts: 25
Thaniel is on a distinguished road
Baud rate for the PT-CAN bus (only CAN bus in an E53, I expect) is 500k.



What do the wires you connected to attach to?


CAN bus wires are twisted pair. For the E46 and similar vehicles (probably E53) it is yellow/brown and yellow/red or something very similar. Might be good to check a wiring diagram. It should clear it up. Careful with yellow wires as yellow is often used in airbag systems. Don't randomly try wires. Also CAN bus is 5V or less. Tapping a 12V wire could have bad consequences.


Make sure CAN H and CAN L are not reversed as well.
Attached Images
 
Reply With Quote
  #2  
Old 09-15-2021, 06:48 PM
Member
 
Join Date: Jan 2013
Location: Finland
Posts: 1,630
Clavurion is on a distinguished road
Behind glovebox sounds like body module (GM3).

On GM3:
*Yellow/black - rear lid (bottom) unlocking
*Yellow/brown - drive rear lid (top)

__________________
E39 530dA -02 M-Sport Messing metallic
E53 X5 3.0dA -06 Sport Stratus grey
E70 X5 40d -12 M-Sport Space grey
Reply With Quote
  #3  
Old 09-15-2021, 07:05 PM
Member
 
Join Date: Feb 2019
Location: Caroline County, MD
Posts: 246
lkv0315 is on a distinguished road
Quote:
Originally Posted by Clavurion View Post
Behind glovebox sounds like body module (GM3).

On GM3:
*Yellow/black - rear lid (bottom) unlocking
*Yellow/brown - drive rear lid (top)

After a brief google search, that would be the one. Makes sense why it wasn’t doing anything hah.
Is there a cable grommet on the passenger side to pass wires thru to the cabin?
__________________
2005 X5 E53, 167k Miles: Kenwood DNX893S Head Unit, Mud Flaps (Rear Only) , Rim Shopping(WIP), Full Spectrum RGB Halos,
Reply With Quote
  #4  
Old 09-15-2021, 11:29 PM
Member
 
Join Date: Jul 2020
Location: CA
Posts: 36
gpeterson is on a distinguished road
The CAN interface you are using has a termination resistor. That may be one of your problems.

https://www.waveshare.com/w/upload/1..._Schematic.pdf

You should look at WDS for pinouts before hooking things up.
Reply With Quote
  #5  
Old 10-01-2021, 01:55 AM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,872
80stech is on a distinguished road
Are you running the display with a serial channel? Does the library for the canbus module have some test and diagnostic routines?
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
  #6  
Old 10-01-2021, 05:21 PM
Member
 
Join Date: Feb 2019
Location: Caroline County, MD
Posts: 246
lkv0315 is on a distinguished road
Quote:
Originally Posted by 80stech View Post
Are you running the display with a serial channel? Does the library for the canbus module have some test and diagnostic routines?
I’m not sure about the display, but it’s on the miniHDMI if that says anything. There are two test routines that display the raw data that’s coming in on the CAN lines, but I’m not sure about how to test if the setup is correct
__________________
2005 X5 E53, 167k Miles: Kenwood DNX893S Head Unit, Mud Flaps (Rear Only) , Rim Shopping(WIP), Full Spectrum RGB Halos,
Reply With Quote
  #7  
Old 10-01-2021, 05:35 PM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,872
80stech is on a distinguished road
If you are using a sketch to run the display and a different sketch for the CANbus then there could be conflicts between the two. Have you done other projects using the display? Does it show anything from the CANbus sketch? Again I'm talking Arduino so what I'm saying might be completely out to lunch for the Pi. What kind of display are you using btw?
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
  #8  
Old 10-01-2021, 05:39 PM
Member
 
Join Date: Feb 2019
Location: Caroline County, MD
Posts: 246
lkv0315 is on a distinguished road
Quote:
Originally Posted by 80stech View Post
If you are using a sketch to run the display and a different sketch for the CANbus then there could be conflicts between the two. Have you done other projects using the display? Does it show anything from the CANbus sketch? Again I'm talking Arduino so what I'm saying might be completely out to lunch for the Pi. What kind of display are you using btw?
I’ve never had issues with anything else that worked through the GPIO in regards to the display. I’m not exactly sure what you mean by sketch, but I know that the I/O lanes for the first HDMI port are not shared with anything else. I’m using my Kenwood headunit in “mirror” mode which I assume is for phones but it’s what the HDMI port on the back connects to so
__________________
2005 X5 E53, 167k Miles: Kenwood DNX893S Head Unit, Mud Flaps (Rear Only) , Rim Shopping(WIP), Full Spectrum RGB Halos,
Reply With Quote
  #9  
Old 10-01-2021, 05:46 PM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,872
80stech is on a distinguished road
Can you get the Pi to display anything on the head unit? Maybe the problem is more to do with not displaying data more than not reading it. Sketch is what we call the program we upload to the Arduino to run. What do Pi people call it?
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
  #10  
Old 10-01-2021, 06:25 PM
Member
 
Join Date: Feb 2019
Location: Caroline County, MD
Posts: 246
lkv0315 is on a distinguished road
Quote:
Originally Posted by 80stech View Post
Can you get the Pi to display anything on the head unit? Maybe the problem is more to do with not displaying data more than not reading it. Sketch is what we call the program we upload to the Arduino to run. What do Pi people call it?
Okay now I get what you mean by the sketch thing. RPi’s are fully fledged Debian Linux single-board computers, so as long as you have proper libraries and support, most Unix programs can run on it, like in this case the apps are .sh or shell files. Yeah I get the desktop and a shell where I run the diagnostic commands and the open source dashboard program as well. The program just says “data: can0. Polling… “ and a blank screen where it should display the hex values.
__________________
2005 X5 E53, 167k Miles: Kenwood DNX893S Head Unit, Mud Flaps (Rear Only) , Rim Shopping(WIP), Full Spectrum RGB Halos,
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 05:19 PM.
vBulletin, Copyright 2026, Jelsoft Enterprises Ltd. SEO by vBSEO 3.6.0
© 2017 Xoutpost.com. All rights reserved. Xoutpost.com is a private enthusiast site not associated with BMW AG.
The BMW name, marks, M stripe logo, and Roundel logo as well as X3, X5 and X6 designations used in the pages of this Web Site are the property of BMW AG.
This web site is not sponsored or affiliated in any way with BMW AG or any of its subsidiaries.