Login Register

Vida CEM swapping

A mid-size luxury crossover SUV, the Volvo XC90 made its debut in 2002 at the Detroit Motor Show. Recognized for its safety, practicality, and comfort, the XC90 is a popular vehicle around the world. The XC90 proved to be very popular, and very good for Volvo's sales numbers, since its introduction in model year 2003 (North America). P2 platform.
Post Reply
User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Re: Vida CEM swapping

Post by RickHaleParker »

PowerMatz wrote: 15 Jun 2021, 05:39 I use the Waveshare CAN interfaces and cut the resistors for termination. Please see my photos. Should I try some other CAN interface?
1. Breadboard: An experimental model, especially of an electric circuit; a prototype.

Etymology Breadboard ( electronics ): The original electronics breadboards where literally a board to slice bread on with nails as terminals and copper wires as pathways.

2. Yours is soldered breadboard. Two steps up from solderless breadboard. The other is wire wrap breadboard.

3. What are you using for the power source? Insignificant power could be a problem.

4. Use some CAN twisted pairs between the CAN transceivers and the OBD2 connector. A twisted pair reduces electromagnetic radiation from the pair and crosstalk between neighboring pairs and improves rejection of external electromagnetic interference. In other words a twisted pair is quite compared to a untwisted pair. The wire size and twist rate needs to be balanced for optimal performance. Go get some CAN twisted pairs out of a junk car and be done with it. ( The Orange - Orange/White and Gray - Gray/White in my picture. )

5. Shorting the wires between the MCU and CAN transceivers may help. They are laying on top of each other and maybe picking up too much crosstalk. You can run some of the wires on the underside of the board and reduce the size of the hornets' nest.

If Twisted pairs and cleaning up the hornets' nest. is not a cure. Move on to the CAN transceivers.

7. Problems have been reported with the 3.3V Chinese knock off chips. If it where mine I would switch to some good 5V CAN transceivers. You tried everything else, might as well exhaust the last remaining hardware possibility.
Last edited by RickHaleParker on 15 Jun 2021, 07:19, edited 9 times in total.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

vtl
Posts: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

12v->5v DC-DC is strongly recommended.

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

vtl wrote: 15 Jun 2021, 06:22 12v->5v DC-DC is strongly recommended.
I got away with using the 5V USB from the Teensy 4.0 but if the CAN Transceivers are power hungry that might not do. Also not all USB ports have the same power capacity. That could be an issue.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

vtl
Posts: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

RickHaleParker wrote: 15 Jun 2021, 06:43
vtl wrote: 15 Jun 2021, 06:22 12v->5v DC-DC is strongly recommended.
I got away with using the 5V USB from the Teensy 4.0 but if the CAN Transceivers are power hungry that might not do. Also not all USB ports have the same power capacity. That could be an issue.
A few folks here reported they started to hit the pin reliably once they had the power switched from USB to DC-DC.

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

vtl wrote: 15 Jun 2021, 07:26 A few folks here reported they started to hit the pin reliably once they had the power switched from USB to DC-DC.
In addition to the power requirements of the CAN transceivers, noise on the USB 5V line could be a problem. If the PC's USB port is loose it could be a source of noise interference and/or reduced power capacity. The 5V source should be a well filtered source.
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

mikeak2001
Posts: 29
Joined: 30 March 2021
Year and Model: S70 1998 T5
Location: Wales
Has thanked: 3 times
Been thanked: 28 times

Post by mikeak2001 »

vtl wrote: 14 Jun 2021, 14:48
PowerMatz wrote: 14 Jun 2021, 14:04 Has anyone another clue for me now? I don't know what to do next because I tried all,
From your Archiv.zip...

First log:

Code: Select all

11:14:01.522 -> 1000 pins in 573 ms, 1745 pins/s, average response: 20 us, histogram 10 to 30 us
20 us is too low, something is not right. Won't work.

Is it possible for anyone testing this on P1 Cems to list the power and ground connections that they are using on this CEM. I have mine powered up and teensy trying to crack. However I never get any success.

I constantly get a latency of around 15us so it calculates different pins each time its run.

Is there anything particular to look out for when the latency is so low?
I have checked my setup with oscilloscopes etc, I have no noise/crosstalk etc. It communicates but never cracks the code.

--EDIT--
Thought I'd add a picture of where I'm at with this project. 3D printed case still to be made.
Labels on the board are for my reference.
Headers were added for all testing purposes, especially for the tft touch screen.

Image

vtl
Posts: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

mikeak2001 wrote: 15 Jun 2021, 16:09 Is it possible for anyone testing this on P1 Cems to list the power and ground connections that they are using on this CEM. I have mine powered up and teensy trying to crack. However I never get any success.
P/N 31254903

Image

Image

Image

ricked
Posts: 38
Joined: 24 May 2021
Year and Model: xc90
Location: lowlands
Has thanked: 6 times
Been thanked: 2 times

Post by ricked »

vtl wrote: 15 Jun 2021, 17:47
mikeak2001 wrote: 15 Jun 2021, 16:09 Is it possible for anyone testing this on P1 Cems to list the power and ground connections that they are using on this CEM. I have mine powered up and teensy trying to crack. However I never get any success.
P/N 31254903

Image

Image

Image
use this connection and it will work, i did read 4 of them now, also i see cem-h/l on you bench this needs only 4 connections to read it

Image

Image

User avatar
RickHaleParker
Posts: 7129
Joined: 25 May 2015
Year and Model: See Signature below.
Location: Kansas
Has thanked: 8 times
Been thanked: 958 times

Post by RickHaleParker »

datatransferring.com wrote: "ATTENTION! You cannot swap CEM - L to CEM - H, However, you can use CEM - H instead of CEM - L.

Also, You cannot swap a CEM, each has the Serial number before 0000491..... instead CEM each has the Serial number start from 0000491..... and higher."
Yagger what is different about serial numbers 0000000 - 0000491?
⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙⸙
1998 C70, B5234T3, 16T, AW50-42, Bosch Motronic 4.4, Special Edition package.
2003 S40, B4204T3, 14T twin scroll AW55-50/51SN, Siemens EMS 2000.
2004 S60R, B8444S TF80 AWD. Yamaha V8 conversion
2005 XC90 T6 Executive, B6294T, 4T65 AWD, Bosch Motronic 7.0.

konielian
Posts: 10
Joined: 22 June 2021
Year and Model: 2010 C70, 2019 XC60
Location: Albania
Has thanked: 1 time
Been thanked: 1 time

Post by konielian »

Hello, i followed the instructions and build the board as attached but i tried several times on P1 and P2 and have the same error.
Car key postion 0 on P2 when i tried, and on P1 i tried on postion 2.
I also tried with 100, 60 and 30 samples on P2 but still no results. Please help
Attachments
7C0756AD-873E-45D2-BAB3-DB7B5F1E8AEA.png
330F52F1-2D12-4FBD-AB2C-A61D7B67FDCD.jpeg
33986171-B283-445B-9F53-1570064745A7.jpeg

Post Reply
  • Similar Topics
    Replies
    Views
    Last post