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
andrewgabler
Posts: 19
Joined: 1 July 2019
Year and Model: 2007 S60R
Location: Minneapolis
Has thanked: 1 time

Re: Vida CEM swapping

Post by andrewgabler »

That is consistent with what I am seeing on my power supply, but I cannot read any of the can messages when hooked in with my arduino

andrewgabler
Posts: 19
Joined: 1 July 2019
Year and Model: 2007 S60R
Location: Minneapolis
Has thanked: 1 time

Post by andrewgabler »

I found someone who said this in the replies about the 120 ohm termination. Is this true? Could it be why I am not receiving anything?

The four 120ῼ terminating resistors go across the end node pins on the CEM.
CAN HS end node 1: CEM Pins D:31 & D:46
CAN HS end node 2: CEM Pins D:32 & D:47

CAN LS end node 1: CEM Pins D:35 & D:50
CAN LS end node 2: CEM Pins D:37 & D:52

T5Luke
Posts: 142
Joined: 11 November 2020
Year and Model: S60 T5 2001
Location: DE
Has thanked: 11 times
Been thanked: 130 times

Post by T5Luke »

Here this is minimum connection to CEM on bench.

Image

On D connector:
Green: HS CAN-L to pin 14 OBD
White: HS CAN-H to pin 6 OBD

Grey (pin 6 ): GND
Yellow (pin 8 ): +12V
Blue (pin 15 ): +12V

Also it needs +12V on the both big connectors (big green power socket)

I just have 1 x 100 Ohm between both can lines, on bench, that is enough for me...

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

Post by vtl »

We need sticky comments on MVS...

andrewgabler
Posts: 19
Joined: 1 July 2019
Year and Model: 2007 S60R
Location: Minneapolis
Has thanked: 1 time

Post by andrewgabler »

This is driving me crazy. There must be something wrong with my hardware setup. I am using an arduino MKR wifi 1010 with a canbus shield. I am also using a arduino uno with a canbus shield. Neither one work with the software I wrote to read the CEM on the bench. I have checked the resistance with a multimeter, when the Arduino is connected and power to the CEM is OFF it reads 120 ohms. when the arduino is connected to the CEM and power is ON it reads nothing or all over the place Is this my issue?

As for the software, it works perfectly fine when I read the canbus high or low network with my car through the obd2 port.

I am currently using the arduinos to debug this issue, i do have the teensy 4.0, but am waiting on the mail for some bosch transceivers

this is happening on all 4 of my cems, 2 cem L and 2 cem H

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

Post by vtl »

I think your CEM falls asleep. Once power is applied you have about 20 ms to send it into programming mode. In programming mode it only replies to CAN requests sent to it, otherwise it stays silent. A proper bench setup that does not sleep should have DIM, I think?

andrewgabler
Posts: 19
Joined: 1 July 2019
Year and Model: 2007 S60R
Location: Minneapolis
Has thanked: 1 time

Post by andrewgabler »

So I wouldn’t even get a single message sent to me via canbus before it falls asleep? I have 3 dim’s and connectors sitting around to play with, I just hook them up to the can network and share the 12v source?

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

Post by vtl »

andrewgabler wrote: 27 Apr 2023, 20:06 So I wouldn’t even get a single message sent to me via canbus before it falls asleep? I have 3 dim’s and connectors sitting around to play with, I just hook them up to the can network and share the 12v source?
It sends a burst of like 6 messages or so. If you don't get that - something else is wrong. But your setup should be all set and listening when CEM comes up.

andrewgabler
Posts: 19
Joined: 1 July 2019
Year and Model: 2007 S60R
Location: Minneapolis
Has thanked: 1 time

Post by andrewgabler »

I am not receiving those messages

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

Post by vtl »

Share your code?

Post Reply
  • Similar Topics
    Replies
    Views
    Last post