Testbench setup?

   #281  

saarnet

Verified VCDS User
Verified
Joined
Mar 25, 2024
Messages
3
Reaction score
1
Location
Germany
VCDS Serial number
C?ID=325962
Helo,

I ordered a Golf 8 (5WA907530B) gateway. When I signalize Klemme 15 with arduino code from #189 and #221 on conveninent CAN (CAN-L Pin 2, CAN-H Pin 3) the gateway J533 wakes up. Then I can receive CAN messages on infotainment CAN (CAN-L Pin 9, CAN-H Pin 9):

screenshot-2024-04-01-19-58-25-06.png


But I do not get any CAN data on OBD (CAN-L Pin 24, CAN-H Pin 25) and I'm not able to do a diagnosis. Has somebody an idea what could be needed else? I saw on other CAN dumps that Klemme 15 (0x3C0) seems to signalized different on other cars. Does somebody have a convenient CAN dump with ignition on of a Golf 8 or Caddy V gateway?

Taycan CAN KI:

00:00:08:629;0;3c0;4;e5;a;23;0;
00:00:08:729;0;3c0;4;50;b;23;0;
00:00:08:829;0;3c0;4;2a;c;23;0;
00:00:08:929;0;3c0;4;9f;d;23;0;
00:00:10:031;0;3c0;4;a0;8;23;0;
00:00:10:131;0;3c0;4;15;9;23;0;
00:00:10:231;0;3c0;4;e5;a;23;0;
00:00:10:331;0;3c0;4;50;b;23;0;
00:00:10:431;0;3c0;4;2a;c;23;0;
00:00:10:531;0;3c0;4;9f;d;23;0;
00:00:10:631;0;3c0;4;6f;e;23;0;
00:00:10:731;0;3c0;4;da;f;23;0;
00:00:10:831;0;3c0;4;9b;0;23;0;
00:00:10:931;0;3c0;4;2e;1;23;0;
00:00:11:032;0;3c0;4;de;2;23;0;
00:00:11:132;0;3c0;4;6b;3;23;0;
00:00:11:232;0;3c0;4;11;4;23;0;
00:00:11:332;0;3c0;4;a4;5;23;0;
00:00:11:432;0;3c0;4;54;6;23;0;
00:00:11:532;0;3c0;4;e1;7;23;0;
00:00:11:632;0;3c0;4;a0;8;23;0;
00:00:11:732;0;3c0;4;15;9;23;0;
00:00:11:832;0;3c0;4;e5;a;23;0;
 
   #282  

saarnet

Verified VCDS User
Verified
Joined
Mar 25, 2024
Messages
3
Reaction score
1
Location
Germany
VCDS Serial number
C?ID=325962
I got it working now with the golf 8 gateway and the arduino. It is normal that there is no CAN data signalized on OBD CAN, only diagnosis.

IMG-9538.jpg
 
   #283  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
52,822
Reaction score
35,753
Location
USA
VCDS Serial number
HC100001
   #284  

R1LEF09

Verified VCDS User
Verified
Joined
Jul 3, 2020
Messages
11
Reaction score
4
Location
France
VCDS Serial number
C?ID=383496
Hi, on #189 in code i see 500k but connections are on 5 and 15 (it's convenience) and here it's 100k .... I don't understand this step, somebody can explain me ?

J519 BCM
T52a/1 – KL30
T52a/23 – KL31
T52a/42 – KL31
T52b/12 – KL15
T52b/52 – KL31
T52c/5 – KL31
T52c/15 – CAN Conv H -> J533 T20/15 <-> J527 T20c/14
T52c/16 – CAN Conv L -> J533 T20/5 <-> J527 T20c/15
T52c/31 – KL15 aux output -> J527 T20c/17
J527 Steering wheel module
T8e/4 – KL31
T8e/12 – KL15
T20c/11 – CAN Powertrain L -> J533 T20/6
T20c/12 – CAN Powertrain H -> J533 T20/6
T20c/14 – CAN Conv H -> J519 T52c/15 <-> J533 T20/15
T20c/15 – CAN Conv L -> J519 T52c/16 <-> J533 T20/5
T20c/17 – KL15 aux output -> J519 T52c/31
T20c/19 – KL30
T20c/20 – KL31

And i find this pinouts, i'm on Golf 6, are you ok with its please ?
 
Last edited:
   #285  

R1LEF09

Verified VCDS User
Verified
Joined
Jul 3, 2020
Messages
11
Reaction score
4
Location
France
VCDS Serial number
C?ID=383496
Hi, on #189 in code i see 500k but connections are on 5 and 15 (it's convenience) and here it's 100k .... I don't understand this step, somebody can explain me ?

J519 BCM
T52a/1 – KL30
T52a/23 – KL31
T52a/42 – KL31
T52b/12 – KL15
T52b/52 – KL31
T52c/5 – KL31
T52c/15 – CAN Conv H -> J533 T20/15 <-> J527 T20c/14
T52c/16 – CAN Conv L -> J533 T20/5 <-> J527 T20c/15
T52c/31 – KL15 aux output -> J527 T20c/17
J527 Steering wheel module
T8e/4 – KL31
T8e/12 – KL15
T20c/11 – CAN Powertrain L -> J533 T20/6
T20c/12 – CAN Powertrain H -> J533 T20/6
T20c/14 – CAN Conv H -> J519 T52c/15 <-> J533 T20/15
T20c/15 – CAN Conv L -> J519 T52c/16 <-> J533 T20/5
T20c/17 – KL15 aux output -> J519 T52c/31
T20c/19 – KL30
T20c/20 – KL31

And i find this pinouts, i'm on Golf 6, are you ok with its please ?
Just with this pinout, J533, J527 and J529, K15 CAN is available when i turn on the switch but no communication with 09 on diag
 
   #286  

tab84

Verified VCDS User
Verified
Joined
Jul 9, 2016
Messages
2
Reaction score
0
Location
UK
VCDS Serial number
C?ID=146292
Hi,

I was wondering if someone can help me with an issue I'm having with MIB2 ZR audio bench testing.

I set up a "PQ" test bench in 2020 using the great information on this very page and its worked wonderfully for the last 4 years with my old faithful VCDS HEX+CAN.

The PQ setup comprises a 7N0907530S CAN gateway, OBD port, 12V power supply and MDI module. I've been able to use the units (minus Bluetooth but I know why), diagnose and test with VCDS Hex+CAN, run software updates, etc. This has worked fine with RCD210/310/510, RNS310/315/510 and also works with the PQ Discover Media units and Chinese RCD330/360 etc.

I'm trying to move on to MIB2 ZR units but I have communication issues between the 5F glovebox unit and VCDS HEX V2 I recently bought from Marshall Industries (I've submitted my registration request). The new setup has a 12v power supply, 5Q0907530AC "High" CAN gateway, OBD2 port and wiring to the screen and glovebox unit. I can use the stereo as normal, the screen works fine but when you select 5F on VCDS it shows the VIN of the unit, asks me to register it to my VCDS, does it's 3 attempts and displays the no response from controller box with comm status of "KLine Init Failed".

I thought the issue was with my wiring so I bought a test bench wiring loom from AliExpress and have the same issues.

Any advice or recommendations would be gratefully received. Hopefully it's something simple that I've overlooked.

Thanks very much,
Tom
 
   #287  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
52,822
Reaction score
35,753
Location
USA
VCDS Serial number
HC100001
Any advice or recommendations would be gratefully received. Hopefully it's something simple that I've overlooked.
Draw and post a schematic of how that entire test-bench setup is wired.

-Uwe-
 
   #288  

tab84

Verified VCDS User
Verified
Joined
Jul 9, 2016
Messages
2
Reaction score
0
Location
UK
VCDS Serial number
C?ID=146292
Draw and post a schematic of how that entire test-bench setup is wired.

-Uwe-

All sorted now, I played with the radio boxes in Init Parameters.
 
   #289  

jigler

Verified VCDS User
Verified
Joined
Apr 12, 2024
Messages
20
Reaction score
1
Location
UK
VCDS Serial number
C?ID=583237
The prototype was developped for the MQB platform, but I think it may work for other platforms as long as you have the right data for the CAN bus messages. I've just tested the circuit with 3 ECUs: a Door Control Unit, a Parking Aid and a TPMS, they are connected to different buses and all worked but I have no other modules here to test (I also had an ABS module, but it was replaced in my car exactçy because it stopped communicating, so I couldn't count on it). Maybe some pros in the Forum will be interested in testing with more modules and post here their results.

The circuit is basically an Arduino and a CAN bus interface, connected to the convenience CAN bus pins (5, 15) on the J533 Gateway. The diagram below is similar to what I did (connection to INT pin on the interface is not necessary for the code I used):

can-bus-mcp2515-tja1050-obdii-pra-arduino-hackear-carro-D_NQ_NP_619909-MLB31136871503_062019-F.webp


The code I wrote to run in the Arduino generates a "Klemmen_Status_01" on the CAN bus. It's a simple message with the Id 0x3C0 which, in a real MQB car, is transmitted every 100ms and it contains 4 bytes of data:
- first byte is a checksum;
- second byte contains a sequential number that increments from 00 to 15 in each message, then returns to zero;
- third byte contains the flags corresponding to terminals (Klemme) S, 15, X and 50. I've set the bits corresponding to S and 15 on (ignition switch on) according to what I've captured by collecting CAN bus traffic;
- fourth byte is always zero.

The code tries to simulate the Klemmen_Status_01 messages exactly as they are sent on the CAN bus in a real car. It seems that ECUs connected to the gateway "wake up" even if only one of the 16 sequential messages is sent, and not necessarily at the 100ms interval and some modules seem to continue on even if they stop receiving the message for up to 4 seconds but since I'm not sure about all possible modules and the implementation of the complete message set is so easy, I kept it in the code.

Here's the code:
Code:
/*
 * Terminal status CAN bus message generator
 *
 * Generates Klemmen_Status_01 messages for MQB platform
 *
 * Coded by Ronaldo Cordeiro - cordeiroronaldo@hotmail.com
 *
 * Uses MCP_CAN_lib-master - By Cory J. Fowler
 * https://github.com/coryjfowler/MCP_CAN_lib
 */

#include <mcp_can.h>
#include <SPI.h>

#define KLEMMEN_STATUS_01_ID 0x3C0

unsigned char kStatusBuf[4] = {0x00,0x00,0x03,0x00};
unsigned char checkSum[16]  = {0x74,0xC1,0x31,0x84,0xFE,0x4B,0xBB,0x0E,0x4F,0xFA,0x0A,0xBF,0xC5,0x70,0x80,0x35};
int i=0;

MCP_CAN CAN(10);

void setup()
{
  Serial.begin(115200);
  CAN.begin(MCP_ANY,CAN_500KBPS,MCP_8MHZ);
  CAN.setMode(MCP_NORMAL);
}

void loop()
{
      kStatusBuf[0]=checkSum;
      kStatusBuf[1]=i;
      CAN.sendMsgBuf(KLEMMEN_STATUS_01_ID, 0 , 4, kStatusBuf);
      i++;
      if (i>15) i=0;
      delay(100);
}

/*********************************************************************************************************
  END FILE
*********************************************************************************************************/

Suggestions and corrections are very welcome.

Would this be modifiable in a way that would allow this to work on a PQXX test platform?
 
   #290  

kwate

Verified VCDS User
Verified
Joined
Feb 12, 2024
Messages
4
Reaction score
0
Location
Holland, Netherlands
VCDS Serial number
C?ID=327197
Guys, can you tell me where exactly the jumper should be placed in Arduino?
 
   #291  

Ronaldo

Verified VCDS User
Verified
Joined
Feb 13, 2019
Messages
147
Reaction score
146
Location
Brazil
VCDS Serial number
C?ID=357813
Would this be modifiable in a way that would allow this to work on a PQXX test platform?

I think so. I never worked on codes for the PQ platform, but other guys did. Maybe you should take a look in this thread:

 
   #292  

Ronaldo

Verified VCDS User
Verified
Joined
Feb 13, 2019
Messages
147
Reaction score
146
Location
Brazil
VCDS Serial number
C?ID=357813
Guys, can you tell me where exactly the jumper should be placed in Arduino?
I'm not sure you're referring to the same thing but if you mean the canbus terminator resistor jumper on a NiRen-like MCP2515 Arduino CANbus shield, it's marked as "J1" on the board.
 
   #293  

1SVK1

Verified VCDS User
Verified
Joined
Oct 8, 2023
Messages
29
Reaction score
16
Location
Slovakia
VCDS Serial number
C?ID=311579
this is my professional connected modules on the bench
IAyHcNU
 
Back
Top