Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > BMW SAV Forums > X5 (E53) Forum
Arnott
User Name
Password
Member List Premier Membership Today's Posts New Posts

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
  #41  
Old 10-01-2021, 05:35 PM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,772
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

Sponsored Links

  #42  
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
  #43  
Old 10-01-2021, 05:46 PM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,772
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
  #44  
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
  #45  
Old 10-01-2021, 09:00 PM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,772
80stech is on a distinguished road
OK, so you are getting something on the screen just not the data. Is the dashboard app(program) known to work with the CAN module that you have? Have you checked the source code for parameters to be set? Do you have a scope or any way to verify that you have data on the bus or coming from the CAN bus module?
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
  #46  
Old 10-01-2021, 11: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
OK, so you are getting something on the screen just not the data. Is the dashboard app(program) known to work with the CAN module that you have? Have you checked the source code for parameters to be set? Do you have a scope or any way to verify that you have data on the bus or coming from the CAN bus module?
Yes, this was actually the one most users recommend as being compatible with everything. The HAT requires some setup in the boot config files but mine are consistent with everyone else's known working configs, which don't seem to take much else into consideration (like the car transfer speed). Unfortunately I do not have another way to see if I have data coming from the module. Most people had said the best way to ensure your config would be to have gotten the 2 CH module and wire them together and send data from one, to be read by the other.
__________________
2005 X5 E53, 167k Miles: Kenwood DNX893S Head Unit, Mud Flaps (Rear Only) , Rim Shopping(WIP), Full Spectrum RGB Halos,
Reply With Quote
  #47  
Old 10-02-2021, 02:41 AM
Member
 
Join Date: Mar 2016
Location: Saskatchewan Canada
Posts: 2,772
80stech is on a distinguished road
Is there maybe a ground required from the car to the CAN bus module that you are missing?
__________________
1988 325is (purchased new) sold
2004 X5 3.0 2005 X3 2.5
2008 X5 3.0 (new to me)
Reply With Quote
  #48  
Old 10-02-2021, 08:13 AM
Overboost's Avatar
Member
 
Join Date: Apr 2006
Location: Huntersville, NC
Posts: 3,295
Overboost is on a distinguished road
I use Phytools PEAK PCAN adapter on all my CAN sniffing projects. It gives me all the information on the bus like CAN addresses, baud rate, etc. It even allows CAN message transmitting to test issues you have.

https://phytools.com/products/pcan-usb-adapter

Reply With Quote
  #49  
Old 10-03-2021, 02:52 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
Is there maybe a ground required from the car to the CAN bus module that you are missing?
I’m not sure, I will take a look at the pinout, and do some probing to ensure that the ground pins are actually connected to the vehicle ground.
__________________
2005 X5 E53, 167k Miles: Kenwood DNX893S Head Unit, Mud Flaps (Rear Only) , Rim Shopping(WIP), Full Spectrum RGB Halos,
Reply With Quote
  #50  
Old 10-03-2021, 02:53 PM
Member
 
Join Date: Feb 2019
Location: Caroline County, MD
Posts: 246
lkv0315 is on a distinguished road
Quote:
Originally Posted by Overboost View Post
I use Phytools PEAK PCAN adapter on all my CAN sniffing projects. It gives me all the information on the bus like CAN addresses, baud rate, etc. It even allows CAN message transmitting to test issues you have.

https://phytools.com/products/pcan-usb-adapter

I will look into this, thanks for the tip!
__________________
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


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 07:24 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.