OwenWilliams
I'm having trouble setting up a CAN Decode for an Air Pressure Sensor I'm planning to implement into a Badenia 2 on Toolset. The Air pressure uses 6, 8-bit multiplexed streams to measure the 16 air pressure pitot tubes (packet layout is attached below).
 
The issue is that if I attempt to set the number of states any greater than 2, an error arises saying the multiplex identifier is not big enough, where there should be 6 states in total as I mentioned. The indexor appears on all 6 states but is still causing the error. The data has been coded exactly as seen in the datasheet attached to the air pressure sensor so I am unsure where I am going wrong. Any help would be greatly appreciated.
 
All 6 streams run like this, some with only 7 bits used, some with all 8 bits used:
image (1).png
 
Some research has told me that there is no reason indexors can't run up to 16 states or more, so I am unsure why this is an issue, as I said any advice or assistance would be appreciated.
Reply 0 0
littleozfella
What version of Toolset and firmware do you have, there was an error but this was fixed years ago. In ICD for sure.. But why use multiplexed stream for critical sensors like air pressure?? You are much better off having live pressure constantly so your data isn't "filtered" by the indexor. You are better filtering the data in Toolbox rather than by the indexor.  
Reply 0 0
littleozfella
Going back over my emails, you need Toolset 10.5 or newer.  
Reply 0 0
OwenWilliams
The Air Pressure CAN signal comes from an off the shelf product which is why its encoded the way that it is, Im curently using Toolbox 10.1 but with no option to update beyond 10.3. Is 10.5 limited to developers currently or am I missing something?
Reply 0 0
ttt
Perhaps you misunderstand indexers.
1bit can only represent 0 or 1.
1byte can represent up to 255.
 
In my example, it can represent up to 255.
 
ToolSet_CAN_indexor.png
Reply 1 0
littleozfella
I was travelling without access to Toolset, even 9.x works as ttt commented i think your setup is incorrect. can you post the details of the device and the stream?
Reply 1 0
OwenWilliams
Yes sorry I've had a bit of a mind meld on this one, I was getting my bytes and bits mixed up hence why the indexor value could only go up to 2, many thanks for the assistance!
Reply 0 0
ttt
Please feel free to contact us.
Reply 0 0
leisurehound
I am also seeing a similar issue in setting up an indexor, where it thinks the bits are overlapping.  I'm still on Toolset 7, but should be able to upgrade.  Is this the same issue referenced being fixed in later versions?
 
Screenshot 2025-01-12 at 11.23.19 PM.png
 
Screenshot 2025-01-12 at 11.14.15 PM.png
Reply 0 0
littleozfella
Because you are overlapping your Mux Indexor.  Start your 2 pTyre channels from 16 not 8. I can't remember if Toolset 7 is ok, or if it was the Metadata (firmware) but fix your channel start bit first and see how you go.
[178729%2F9152913%2Fmceclip0]
[178729%2F9152912%2Fmceclip0]
 
Cheers.
Reply 0 0
leisurehound
Ha, I guest that's an error with the devices DBC file that I as mimicking trying to narrow down the error:
 
BO_ 1918 TPMS: 8 Vector__XXX
SG_ Tire_Position M : 7|8@0+ (1,0) [0|0] "" Vector__XXX
SG_ FL_kPa_1 m1 : 7|16@0+ (1,0) [0|0] "kPa" Vector__XXX
SG_ FL_temp_1 m1 : 31|8@0+ (1,0) [0|0] "∞C" Vector__XXX
SG_ FL_batt_volts_1 m1 : 39|8@0+ (0.1,0) [0|0] "V" Vector__XXX
SG_ FL_leak_fault_1 m1 : 40|1@0+ (1,0) [0|0] "" Vector__XXX
SG_ FL_minus_temp_1 m1 : 44|1@0+ (1,0) [0|0] "" Vector__XXX
SG_ FR_kPa_2 m2 : 7|16@0+ (1,0) [0|0] "kPa" Vector__XXX
SG_ FR_temp_2 m2 : 31|8@0+ (1,0) [0|0] "∞C" Vector__XXX
SG_ FR_batt_volts_2 m2 : 39|8@0+ (0.1,0) [0|0] "V" Vector__XXX
SG_ FR_leak_fault_2 m2 : 40|1@0+ (1,0) [0|0] "" Vector__XXX
SG_ FR_minus_temp_2 m2 : 44|1@0+ (1,0) [0|0] "" Vector__XXX
SG_ RL_kPa_3 m3 : 7|16@0+ (1,0) [0|0] "kPa" Vector__XXX
SG_ RL_temp_3 m3 : 31|8@0+ (1,0) [0|0] "∞C" Vector__XXX
SG_ RL_batt_volts_3 m3 : 39|8@0+ (0.1,0) [0|0] "V" Vector__XXX
SG_ RL_leak_fault_3 m3 : 40|1@0+ (1,0) [0|0] "" Vector__XXX
SG_ RL_minus_temp_3 m3 : 44|1@0+ (1,0) [0|0] "" Vector__XXX
SG_ RR_kPa_4 m4 : 7|16@0+ (1,0) [0|0] "kPa" Vector__XXX
SG_ RR_temp_4 m4 : 31|8@0+ (1,0) [0|0] "∞C" Vector__XXX
SG_ RR_batt_volts_4 m4 : 39|8@0+ (0.1,0) [0|0] "V" Vector__XXX
SG_ RR_leak_fault_4 m4 : 40|1@0+ (1,0) [0|0] "" Vector__XXX
SG_ RR_minus_temp_4 m4 : 44|1@0+ (1,0) [0|0] "" Vector__XXX
 
Have not gotten sensors installed yet and woken up to confirm, but Toolset is now happy after modifying the start bit.
 
Thanks again.
Reply 0 0
littleozfella
Different tools write DBCs in different ways.. Intel usually starts from first byte/first bit (say 0) Motorolla usually starts from 2nd byte, first bit, (Say 8) but some are written so motorolla starts from first byte/first bit (0) also.  (and some start from bit 7) so you need to be careful how the DBCs are formatted. The view tool is good to sort this.  
Reply 0 0
Reply