Audi Forum banner

1 - 20 of 21 Posts

·
Registered
Joined
·
14 Posts
Discussion Starter #1
hello
Has started to understand with the report here that it was possible to find.
But there are still unknown to me codes, help if who knows
0x223 BNS-Button ????
0x461 tv ?????
0x543 rear camera???
0x602 video ????
0x6c0 ???
0x6c1 ???
0x436 ???
0x651 ???
0x428 ???
0x653 ???
0x627 ????
0x604 ????
0x621 ???





#define VW_MULTI_RUL 0x5C1
/*
ID DLC Data
5C1 1 06 Vol up
5C1 1 07 Vol Down
5C1 1 0A Menu
5C1 1 1A Phone
5C1 1 22 Arrow Up
5C1 1 23 Arrow Down
5C1 1 28 OK
5C1 1 2B Mute
5C1 1 00 Button is released
*/
#define AUDI_MULTI_RUL 0x5C3
/*
5C3 2 39 00 none
5C3 2 39 02 Prev
5C3 2 39 03 Next
5C3 2 39 04 Scan Up
5C3 2 39 05 Scan down
5C3 2 39 06 Volume+
5C3 2 39 07 Volume-
5C3 2 3C 2A Phone button pressed
5C3 2 3C 00 Phone button released, changes to 39 00 after a second or so
5C3 2 3A 1C Mode button pressed
5C3 2 3A 00 Mode button released, changes to 39 00 after a second or so
5C3 2 39 01 Mode button pressed before it turns back to 39 00
5C3 2 3A 1A up/down button pressed within 2 seconds after pressing Mode button
5C3 2 3A 02 up within 2 seconds after pressing Mode
5C3 2 3A 03 down within 2 seconds after pressing Mode
5C3 2 3B A7 vol up/down pressed
5C3 2 3C 07 vol down after pressing phone button
5C3 2 3C 06 vol up after pressing phone button
*/
// _______________________________ КОНЕЦ МУЛЬТИ РУЛЬ______________________________________________

// _______________________________ ПАНЕЛЬ ПРИБОРОВ______________________________________________
#define INSTR_DATE_TIME 0x623
/*
h623 ДАТА И ВРЕМЯ, 8 byte, 100ms
- byte 0: ??
- byte 1: Hour
- byte 2: Minute
- byte 3: Sekunde
- byte 4: Tag
- byte 5: Monat
- byte 6: Jahr (1./2. Stelle)
- byte 7: Jahr (3./4. Stelle)

ID 623 : Uhrzeit (einmal pro Sekunde)
--------------------------------------
623h 8 05 19 44 01 13 09 20 06 = 19:44:01 13.09.2006

*/
#define INIG_STATE 0x271
/*
h271 зажигание, 1 byte, 100ms
-h10: Fzg. unverschlossen, Schluessel steckt nicht ключ снят
-h11: Fzg. unverschlossen, Schluessel steckt in Pos. 0, Zuendung aus
-h01: Fzg. unverschlossen, Schluessel steckt in Pos. 1, Zuendung aus
-h05: Fzg. unverschlossen, Schluessel steckt in Pos. 2, Zuendung aus
-h07: Fzg. unverschlossen, Schluessel steckt in Pos. 3, зажигание включено
-h0B: Fzg. unverschlossen, Schluessel steckt in Pos. 4, зажигание включено, стартер крутит
*/
#define Light_STATE 0x635
/*
h635 Licht, 3 byte, 100ms
-h 00 00 00: Licht aus, 58d 100% Dimmung
-h 64 00 00: Licht aus, 58d 0% Dimmung
-h 64 64 00: Licht an, 58d 0% Dimmung
ID 635 : Licht Dimmung (noch nicht fertig)
*/
#define VIN_IDENTIF 0x65F
/*
h65F Fahrzeug Ident Nummer, 8 byte, 100ms, vier Zeilen je 8 byte
1. Zeile: Z 'WAU
2. Zeile: VT68E34
3. Zeile: Z 'WAU
4. Zeile: Axxxxxx

ID 65F : Fahrgestellnummer (alle 200ms eine Zeile)
--------------------------------------------------

65Fh 8 00 00 00 00 00 57 41 55 = WAU
65Fh 8 01 5A 5A 5A 38 50 58 37 = ZZZ8PX7
65Fh 8 02 41 XX XX XX XX XX XX = A0XXXXX

*/

#define PROBEG 0x65D

/*
ID 65D : Kilometerstand (Datum+Uhrzeit ?)
-----------------------------------------

65Dh 8 7E A4 1D 60 C8 B8 60 1A

1+2 :
A4 1D = LSB MSB = 7588km Gesamt

6+7:
6 Bit 8 ist ein und aus im Sekundentakt
6 unteren Bits zahlen immer rauf
7 geht von 00 bis 1D (0..29)

Beispiel1: 7E A4 1D 60 C8 E8 A8 03 14:20 17.09.2006
Beispiel2: 7E A4 1D 60 C8 E8 AA 05 14:21 17.09.2006
Beispiel3: 7E A4 1D 60 C8 E8 BE 03 14:31 17.09.2006

*/


#define SPEED 0x351
/*
351h 8 45 00 00 00 00 75 7B 10 100 1795 Geschwindigkeit speed

h351, Geschwindigkeit, 8 byte, 100ms
- byte 0: h00 vorwaerts, h02 rueckwaerts
- byte 1/2: Geschwindigkeit
- byte 4/5: Wegstreckenimpuls

*/
#define TANK_FUEL 0x621
//621:
// byte 0: anzeigen aus dem kombi intrument
//byte 3: tankinhalt+ warnung

// _______________________________ КОНЕЦ ПАНЕЛЬ ПРИБОРОВ______________________________________________

// _______________________________ navi______________________________________________
#define RADIO_ONLINE 0x664
/*
ID 664 : Radio
----------------------

664h 8 01 01 12 00 00 00 00 00

0:
00 Radio aus
01 Radio ein
*/

#define RADIO_STATUS 0x660

/*
ID 660 : Frequenz, Modus:
-------------------------

660h 8 01 0C 4A 09 04 24 A3 D3

0:
00 Radio aus
01 Radio an und UKW 100kHz)
02 Radio an und MW (9kHz)
03 Radio an und LW (9kHz)

1: Mono / Stereo - Kennung
01 Mono
0C Stereo

2:
4A unbekannt

3: RDS
01 RDSaus
09 Sender hat RDS
29 Sender hat kein RDS

4..5:
Aufbau LSB MSB, Frequenz in kHz oder MHz*100
99 00 153kHz
A2 00 162kHz
AB 00 171kHz
17 01 279kHz

13 02 531kHz
1c 02 540khz
42 06 1602kHz

2e 22 87,5Mhz (87500)
38 22 87,6MHz (87600)
42 22 87,7MHz (87700)
30 2a 108MHz (10800)

6..7: RDS Sendercode (pi_id) LSB MSB
0A 13 Die neue 107,7
04 D7 SWR4 TU
0D D7 Radioton
04 DD SWR4 HN
A2 D5 SWR2 BW
63 D3 HR3
A3 D3 SWR3
0A 13 Die neue 107,7
Kann hier eingesehen werden:
http://www.myradiobase.de/fmlist/ul_login.php
*/




#define AUDIO_SOURSE 0x661
/*
h661 Radio/Navi, 8 byte, 100ms
beim RNS-E wird hier zum Beispiel angezeigt, in welchem Mode das Geraet ist
-h 81 01 12 A0 00 00 00 00 FM/AM
-h 81 01 12 2F 00 00 00 00 SAT
-h 81 01 12 A5 00 00 00 00 CD
-h 81 01 12 A4 00 00 00 00 MP3
-h 81 01 12 37 00 00 00 00 TV
-h 81 01 12 3A 00 00 00 00 PHONE

ID 661 : Radio Audio-Quelle:
----------------------

661h 8 01 01 12 A0 00 00 00 00

0:
00 Radio aus
01 Radio an

03:
A0 Radio
A1 TP (Traffic Programm) Speicher Wiedergabe
A5 CD-Player
38 CD-Wechsler

*/
#define RADIO_STATUS2 0x663

/*
ID 663 : Radio Audio-Quelle:
----------------------

663h 8 01 01 12 00 A5 00 00 00

00:
00 Radio aus
01 Radio an

04:
A0 Radio
A1 TP Memo Wiedergabe
A5 CD-Player
38 CD-Wechsler
*/

#define DIS_TEXT_line1 0x261
#define DIS_TEXT_line2 0x263
//h261/h263 erste/zweite Zeile im FIS, wenn Radio aktiv, 8 byte, 100ms

#define FIS_TEXT_line1 0x265
#define FIS_TEXT_line2 0x267
//h265/h267 erste/zweite Zeile im FIS, wenn FSE aktiv, 8 byte, 100ms


#define FIS1_TEXT_line1 0x363

//ID 363 : Zeile 1 FIS (alle 800ms)
//363h 8 53 57 52 33 20 20 20 20 = SWR3 Space Space Space Space

#define FIS1_TEXT_line2 0x365

//ID 365 : Zeile 2 FIS (alle 800ms)
//365h 8 46 4D 20 31 20 20 20 20 = FM Space 1 Space Space Space Space

// _______________________________ КОНЕЦ navi______________________________________________

// _______________________________ motor bus______________________________________________
#define ESP_rate 0x0c2
#define ABS_mess 0x1a0
#define ENGINE_SPEED 0x280
//rprintdec16((can_buff[2]<<10)|(can_buff[1]<<2));
#define FUEL_LEVEL 0x320
//rprintfdec((can_buff[2]&0x7f));
#define FUEL_RASHOD 0x480
#define TEMPERATUREN 0x420
// rprintfStr("Temp ext= "); rprintfdec((can_buff[0]-100)/2);z
// rprintfStr("Temp coolant= "); rprintfdec((can_buff[3]-100)/2);

// _______________________________ КОНЕЦ motor bus______________________________________________
 

·
Registered
Joined
·
6,767 Posts
Most of those IDs have been mentioned in various forums and are documented in the individual posts there. If those IDs got logged in an actual car, it would make sense to post the full log showing those IDs and the messages. That way some who know something may respond faster.
 

·
Registered
Joined
·
14 Posts
Discussion Starter #4
rdilliker said:
Where did you get this? You've posted some source code but from what, who knows.
It is a fragment of the program for processor At90can128, I on it have started to understand with the report. That that there is entered it checked up and works
 

·
Registered
Joined
·
6,767 Posts
As I said, it would make more sense to post a log like this to get feedback from everybody.

Time ID DLC Data
04.317 436 6 08 11 00 00 00 00
04.358 428 6 16 01 00 00 00 00
04.368 635 3 64 00 40
04.388 621 3 02 00 80
04.389 353 7 0F 00 00 00 00 00 01
04.390 351 8 45 01 FF 00 00 FF FF 10
04.406 436 6 08 11 00 00 00 00
04.447 428 6 16 01 00 00 00 00
04.486 621 3 02 00 80
04.487 353 7 0F 00 00 00 00 00 01
04.488 351 8 45 01 FF 00 00 FF FF 10
04.494 436 6 08 11 00 00 00 00
04.535 428 6 16 01 00 00 00 00
04.564 635 3 64 00 40
04.583 436 6 08 11 00 00 00 00
04.584 651 6 C0 14 61 00 18 40
04.585 621 3 02 00 80
 

·
Registered
Joined
·
517 Posts
It is also important to mention the platform the trace comes from, as there are differences.

Examples are:

The ignition messages (0x271) vary between C5/B5 and B6/B7. And they are on 0x2C3 on the new A3s (8P??).

The MFSW messages operate differently depending on which type of steering wheel you have, again C5/B5 operate differently from B6/B7.
 

·
Registered
Joined
·
14 Posts
Discussion Starter #7
While I collect the information on all headings in the canbus.
The first problems are those.
To recode messages for old (RNS-D) tv tuner.
To make simulator MFW.
To make the block for the camera of a back view.



My machines are not standard.
s6 1995 4a engine AJK 2.7 460 hp 580 nm
CAN modules
comfort BUS
instruments S8-2003
parktroniks S8 2003
pressure in trunks S8 2003
Display BUS
instruments S8 2003
RNS-E
tv-tuner (rns-d)
Motor BUS
instruments S8 2003
ECU
ABS/EDS/ESP
Sensor turn a Sterring wheel

The decoder is constructed on processor AVR here its result of work


AUDIO sourse MP3
Time/Date 20:34:52 29/06/2007
Speed=0632
Inig=03
ambient= 35 ligth=100 hz=11
FIS MP3
FIS 001.mp3
not decode cmd
ID= 653 3 01 02 06
ID= 627 8 00 39 39 08 08 3B 3B FE
ID= 428 6 16 01 00 00 00 00
ID= 604 8 81 00 00 00 00 00 00 00
ID= 621 3 00 D9 00
ID= 436 6 08 01 00 00 00 00
ID= 651 6 C0 16 21 00 11 40



Sergey
 

·
Registered
Joined
·
36 Posts
sergeynik said:
rdilliker said:
Where did you get this? You've posted some source code but from what, who knows.
It is a fragment of the program for processor At90can128, I on it have started to understand with the report. That that there is entered it checked up and works
Where did you get this program? It is formatted so poorly that it is a pain to read but it doesn't tell you much without any more context.
 

·
Registered
Joined
·
1 Posts
Goodmorning.

I need the CAN BUS ID for SPEED (AUDI S3 265 Ps EUROPIAN).


I will use it as input to a microcontroller.

Can anybody help me?

Thanks
Regards
Dimitris
 

·
Registered
Joined
·
95 Posts
Goodmorning.

I need the CAN BUS ID for SPEED (AUDI S3 265 Ps EUROPIAN).


I will use it as input to a microcontroller.

Can anybody help me?

Thanks
Regards
Dimitris
If you have the car and a CanBus adapter is just easy as log the Infotainment CAN, first take a look to 351h, probably it will be there, but I'm not sure, never log a S3.
 

·
Registered
Joined
·
7 Posts
I''m in need of some help on this topic as well. I just purchased a CAN bus analyzer. I've been able to log some data off my infotainment bus in my 2004 Allroad. There seems to be 10-20 repeating ID's however the only way I can figure out how to decode which ID goes to which to controller is to disconnect all of them until the bus goes quiet and add them back in one at a time. (alot of work) Is there some kind of list of what CAN ID's go to what nodes? I haven't even gotten to figuring out the messages yet. Here's a sample:

ASCII Trace IXXAT MiniMon V3 Version: 1.1.4.2765
Date: 3/31/2011
Start time: 7:26:19 PM
Stop time: 7:26:48 PM
Overruns: 0
Baudrate: 100 kbit/s
"Time","Identifier (hex)","Format","Flags","Data (hex)"
"00:00:00.00","428","Std","","0A 01 00 00 00 00 "
"00:00:00.01","351","Std","","00 00 00 00 00 73 73 00 "
"00:00:00.03","353","Std","","00 00 00 BD 00 00 "
"00:00:00.04","261","Std","","20 20 31 30 34 2E 31 20 "
"00:00:00.04","263","Std","","46 4D 20 34 20 20 20 20 "
"00:00:00.04","627","Std","","05 08 08 08 08 08 08 FE "
"00:00:00.05","261","Std","","20 20 31 30 34 2E 31 20 "
"00:00:00.05","263","Std","","46 4D 20 34 20 20 20 20 "
"00:00:00.05","42A","Std","","19 01 00 00 00 00 "
"00:00:00.06","271","Std","","03 "
"00:00:00.06","621","Std","","01 08 51 "
"00:00:00.07","623","Std","","00 19 25 35 31 03 20 11 "
"00:00:00.07","627","Std","","04 08 08 08 08 08 08 FE "
"00:00:00.09","439","Std","","08 01 00 00 00 00 "
"00:00:00.10","653","Std","","02 02 06 "
"00:00:00.11","351","Std","","00 00 00 00 00 73 73 00 "
"00:00:00.13","353","Std","","00 00 00 BD 00 00 "
"00:00:00.13","428","Std","","0A 01 00 00 00 00 "
"00:00:00.14","651","Std","","00 15 50 00 10 40 "
"00:00:00.15","635","Std","","10 64 00 "
"00:00:00.16","271","Std","","03 "
"00:00:00.16","621","Std","","01 08 51 "
"00:00:00.19","42A","Std","","19 01 00 00 00 00 "
"00:00:00.21","351","Std","","00 00 00 00 00 73 73 00 "
"00:00:00.23","439","Std","","08 01 00 00 00 00 "
"00:00:00.23","353","Std","","00 00 00 BD 00 00 "
"00:00:00.26","271","Std","","03 "
"00:00:00.26","621","Std","","01 08 51 "
"00:00:00.27","428","Std","","0A 01 00 00 00 00 "
"00:00:00.31","351","Std","","00 00 00 00 00 73 73 00 "
"00:00:00.31","630","Std","","01 FF 12 03 00 00 00 00 "
"00:00:00.33","636","Std","","01 FF 12 01 00 00 00 00 "
"00:00:00.33","42A","Std","","19 01 00 00 00 00 "
"00:00:00.33","353","Std","","00 00 00 BD 00 00 "
"00:00:00.34","63A","Std","","01 FF 12 04 00 00 00 00 "
"00:00:00.34","660","Std","","01 01 4A 21 AA 28 00 00 "
"00:00:00.35","627","Std","","05 08 08 08 08 08 08 FE "
"00:00:00.35","261","Std","","20 20 31 30 34 2E 31 20 "
"00:00:00.36","263","Std","","46 4D 20 34 20 20 20 20 "
"00:00:00.36","661","Std","","03 01 12 A0 00 00 00 00 "
"00:00:00.36","271","Std","","03 "
"00:00:00.36","621","Std","","01 08 51 "
"00:00:00.37","664","Std","","01 02 12 00 00 00 00 00 "
"00:00:00.37","439","Std","","08 01 00 00 00 00 "
"00:00:00.37","635","Std","","10 64 00 "
"00:00:00.38","5C3","Std","","39 00 "
"00:00:00.38","627","Std","","04 08 08 08 08 08 08 FE "
"00:00:00.41","351","Std","","00 00 00 00 00 73 73 00 "
"00:00:00.41","428","Std","","0A 01 00 00 00 00 "
"00:00:00.43","353","Std","","00 00 00 BD 00 00 "
"00:00:00.46","271","Std","","03 "
"00:00:00.46","621","Std","","01 08 51 "
"00:00:00.47","42A","Std","","19 01 00 00 00 00 "
"00:00:00.51","351","Std","","00 00 00 00 00 73 73 00 "
"00:00:00.51","439","Std","","08 01 00 00 00 00 "
"00:00:00.53","353","Std","","00 00 00 BD 00 00 "
"00:00:00.56","271","Std","","03 "
"00:00:00.56","621","Std","","01 08 51 "
 

·
Registered
Joined
·
6,767 Posts
It's easier if you use software that displays not only the hex codes but also ascii. That way you can see that 261/263 is the two top lines in the DIS, if you have a phone interface then 265/267 overwrite 261/263 when the phone interface has something to say.
271 is ignition, you can see it change to 7 or more values if you play with the ignition key (including locking the car).
351 has the speed, besides other data (i.e. reverse or not)
623 is the date/time, 635 has to do with lighting
661 tells you what mode the RNS-E is in
5C3 is the MFSW
65F shows your VIN
6C0/1/4/5 and 6D0/1 is SAT radio
602 is the TV tuner (or AV adapter)

That's all I remember from when I played with the Car PC. There is no complete list and people who decode certain IDs usually don't post them on the forums. But it's fun to figure them out by trial and error...
 

·
Registered
Joined
·
7 Posts
Thanks for this info. I will cross reference what I find to this to see if I'm on the right track. At this point I think I'm going to pull fuses for as much as I can to quiet the bus down. I know definitely that my radio/hvac/DIS/steering wheel controls/main ecu/air suspension ecu/abs/steering angle sensor are all on the CAN bus. So if I can pull fuses for those components/ecu's hopefully that'll take them off line. Then add one back in at a time(?). With everything in my car turned "OFF" and either key ON or engine running there's still too many ID's cycling for me to be able to narrow down what ID is what device. I'm just glad my car has limited CAN devices and isn't fully CAN with like 50 nodes scattered around the car.
 

·
Registered
Joined
·
3,759 Posts
They are not all on the same can bus though, so disconnecting the HVAC will not affect anything on the infotainment bus as it sits on the convenience bus.
 

·
Registered
Joined
·
7 Posts
They are not all on the same can bus though, so disconnecting the HVAC will not affect anything on the infotainment bus as it sits on the convenience bus.
hmmm, I have read that some Audi's have multiple busses, however I haven't been able to find evidence that my Allroad has more than one. When I look through the schematics I have from Bentley, all it shows is each of my "CAN devices" all connecting to the same bus. I think maybe later years or different models of Audi's started splitting up onto different CAN busses as more CAN devices were added to the cars. I could be wrong though. I call the bus I am tapped into the "infotainment" bus because that's what the radio is on, however my schematics do not specify it as infotainment (or any other nomenclature) just CAN + and CAN-. All of my devices seem to connect to just one bus. Definitely going to have to look into this to confirm though.........
 

·
Registered
Joined
·
3,759 Posts
From what I can see in Elsawin the 2004 Allroad has 3 can busses, convenience, infotainment and drivetrain.
 

·
Registered
Joined
·
7 Posts
OK, so I went to my ALLDATA account instead of my Bentley documents. Here's what I found, seems to jive more with what you're saying:

A148/A149 - NAVIGATION BUS - has on it: DIS / navigation / steering wheel controls / telephone / radio / chip card reader

A146/A147 - COMFORT BUS - has on it: DIS / parking aid / tire pressure monitoring system / radio

A121/A121 - UNNAMED - HVAC / steering angle sensor / ABS / level control ECU / trans ECU (if applicable) / Mototronic ECM / DIS

My radio only has two CAN wires and those are what I'm tapped onto. I find it interesting that the RADIO is on both the comfort bus and the navigation bus. I don't have navigation so given that fact I wonder how that affects the existence of that particular bus. I.E. if my steering wheel controls are still on a "navigation bus" or if they are on the "comfort bus"
 

·
Super Moderator
Joined
·
11,350 Posts
It doesn't matter if the steering wheel controls are on a different CAN bus - the instruments have built-in a "CAN gateway" that routes the necessary signals between the 3 different types of CAN bus.
 

·
Registered
Joined
·
6,767 Posts
The CAN gateway in the B6 is not very powerful and won't route many messages to multiple CAN busses. The external CAN gateway in newer cars is able to do so though (after proper coding).

And the radio was never on both (comfort and infotainment) CAN busses. It works when being connected to either of them because the messages it is looking for are present on either bus.

Take the old RNS-D as example. It was connected to the infotainment CAN to talk to the DIS (via cluster) and it was also connected to the Bosch CAN to talk to the TMC tuner. It was a gateway on its own with the Bosch CAN not being connected to anything else. It needed a "high" instrument cluster though that provides the infotainment CAN. The "low" cluster would only have the comfort CAN that the radio taps into. But then, the radio would also work with the infotainment CAN provided by the "high" cluster.

Now the AMI that would work in theory with the 2010 RNS-E seems to need a newer rev of the A3/TT CAN gateway. My guess is because it needs certain messages from the car that are not present on the infotainment CAN in older cars.

As to how to identify the CAN busses, infotainment CAN high is usually orange/lilac and CAN low is orange/brown. Comfort CAN high is orange/green with comfort CAN low bein orange/brown too. And powertrain CAN high is orange/black, low is ornage/brown again. The Bosch CAN was grey/red and grey/something if I recall correctly. Comfort and Infotainment are both 100kbps, powertrain is much faster (maybe it was 500kbps).

It's fun to play with the CAN but I woudl stay away from the powertrain CAN. it's also much easier to get an old cluster, a 12V power supply and start logging messages on a bench. That avoids the need to disconnect stuff in the car.
 
1 - 20 of 21 Posts
Top