wastegate Posted September 29, 2020 Report Share Posted September 29, 2020 Hi Guys, Need a little help setting up the G4+ to receive some data from a Compushift Transmission controller. Adam you helped me with this through facebook, but didn't seem to receive anything, so wanted to make sure I'd done it right or we have the right settings. In the facebook post you gave me the following settings But using these settings I didnt get anything received on CAN DIG #8 Now I had a look at the HGM Compushift Wiki and they have the J1939 CAN spec in Excel format. The CAN function I want is Looking at the ID, translating the HEX to dec is 15729152. So is this the correct ID or 217055998? Also having trouble understanding/translating the Signal Byte and Bit.. See you have overlay-ed the numbers for it but how come it seems to go backwards? If somethin in J1939 was on Byte 2 Bit 2 Width 2 would that be Start 21? Also the TCU has accelerometers (X,Y,Z) and also available on CAN. Is it possible for the Link to capture and log these? Thanks greatly in advance for any advice. Quote Link to comment Share on other sites More sharing options...
Adamw Posted September 29, 2020 Report Share Posted September 29, 2020 I think the ID 217055998 is still correct as their document is missing some of the ID. But looking at that DBC file again I do see one possible issue, I think we should be looking at byte 0, not byte 1. So leave everything else the same but try changing the start position for CAN DIG 8 to 3. 7 hours ago, wastegate said: Also the TCU has accelerometers (X,Y,Z) and also available on CAN. Is it possible for the Link to capture and log these? You could receive them as CAN analogs but they are not all that useful in G4+ as you cant apply filters and units etc to a CAN input. Quote Link to comment Share on other sites More sharing options...
wastegate Posted September 29, 2020 Author Report Share Posted September 29, 2020 Thanks Adam, will give that a shot. In regards to the filtering and units for the accelerometers, is that something the G4X can do? Quote Link to comment Share on other sites More sharing options...
Adamw Posted September 30, 2020 Report Share Posted September 30, 2020 7 hours ago, wastegate said: In regards to the filtering and units for the accelerometers, is that something the G4X can do? Yes, the G4x is much more flexible with CAN inputs. But most of the G4X ecu's have a 3 axis accelerometer on board anyhow. Quote Link to comment Share on other sites More sharing options...
wastegate Posted October 4, 2020 Author Report Share Posted October 4, 2020 Hey Adam, I gave Byte 3 a go on both ID 217055998 and 15729152 but didn't get anything during a gearchange. I also tried Byte 11 for giggles on both IDs and nothing as well. I've attached by config and log just incase you would like to see it. But will reach out to Guy @ HGM and see if they can help too. Cheers Log 2020-10-4 12;12;09 pm.llg Scott's Map 07052019 - Flex Tune - Nick edit 04102020 - cold start better - new VVTI map WIP - Elite Gauge CAN - Cruise Changes - base fp 3bar - Accel Enrich - Idle Ign - IAT Fuel off.pclr Quote Link to comment Share on other sites More sharing options...
Adamw Posted October 4, 2020 Report Share Posted October 4, 2020 I just had a quick look at their wiki myself and the ID is different than the excel screenshot you attached earlier, It has the C on the front. There is also a note that you may have to place a 3 where the x is, but that doesnt look right to me so try it without first. Try the map attached. Watch CAN Dig 7 & 8 as I have put one in byte 0 and one in byte 1. Try this1.pclr Quote Link to comment Share on other sites More sharing options...
wastegate Posted October 4, 2020 Author Report Share Posted October 4, 2020 Map attached Adam? Quote Link to comment Share on other sites More sharing options...
Adamw Posted October 4, 2020 Report Share Posted October 4, 2020 Reattached to post. Quote Link to comment Share on other sites More sharing options...
wastegate Posted October 5, 2020 Author Report Share Posted October 5, 2020 Thanks Adam, gave it a go, no changes in state with those settings on gear change. Quote Link to comment Share on other sites More sharing options...
Adamw Posted October 5, 2020 Report Share Posted October 5, 2020 Try channel 6 ID as 3472891907, this is with the x replaced with a "3". Otherwise you are going to have to contact them for a more firm answer or example of an output message. Quote Link to comment Share on other sites More sharing options...
wastegate Posted October 18, 2020 Author Report Share Posted October 18, 2020 Just to update, as things get confusing, managed to capture some data. Still working on getting the shifts transmitted but it's certainly in HGMs court now, likely need a input shaft speed to the controller as well to know when it's starting the shift.. They wrote a custom firmware to bypass this but still not getting anything on the shift. I am getting the following though which just shows something is getting through. Using Receive CAN ID 217055747 (CF00203) I got from Guy @ HGM Start Pos 5, Width 2, LS, Unsigned = Torque Convertor Locking Up Start Pos 7, Width 2, LS, Unsigned = Gear Engaged (Shifting from P to D etc) From the data HGM supplied, looks like the Shift should be on Start Pos 3 in the Link. Not logging anything on that bit so will see what HGM come back with. They have been more than helpful to try and get it working. Quote Link to comment Share on other sites More sharing options...
wastegate Posted October 29, 2020 Author Report Share Posted October 29, 2020 Update, HGM fixed the firmware and now have gear change request. Thanks Adam on the torque reduction strategy, works a treat. Just need to fine tune it. I've reduced the IGN trim retard a little as I don't have 20 degrees of timing in some spots and it's getting retarded too much and seems to spike boost. JMP 1 Quote Link to comment Share on other sites More sharing options...
Adamw Posted November 4, 2020 Report Share Posted November 4, 2020 @wastegate Can you confirm that ID you are receiving on is 0xCF00203? I have another user that wants to receive shaft speed from a compushift, but this ID doesnt match any of their documentation or DBC file. Quote Link to comment Share on other sites More sharing options...
wastegate Posted March 4, 2021 Author Report Share Posted March 4, 2021 Sorry for the late replay @Adamw, yes getting that data on CF00203. Input shaft speed is listed at HGM CAN Byte 6 bit 0. Which to me looks like Link Start Pos 47, LS, 16bit length. I've been going through the CAN messaging and doing a bit of a spreadsheet https://docs.google.com/spreadsheets/d/1yqeI4xfFQhsc9jpNo8mTtEORLC_8jf8TRkfLRoIFZko/edit#gid=650908763 I'm really not sure why HGM decided to use the full HEX for frames egress but you need to drop the "C" for frames ingress to the CS3. For example in order to give the CS3; RPM and TPS you need to set a transmit channel to DEC ID 15729664 (from their docs) which is HEX "F00400" but egress frames from the CS3, you NEED to add "C" to the HEX ID to get CF00203 and thus DEC ID 217055747. I will test the shaft speeds out when I get my car back as wife stole it today. Can't do much with it on my G4+ but I have my G4X setting on my desk waiting and already put it in the config. Adamw 1 Quote Link to comment Share on other sites More sharing options...
wastegate Posted March 13, 2021 Author Report Share Posted March 13, 2021 Hi Adam, I'm just trying to get the Gear Shifter Position from the TCU to the G4+, I have Gear working (showing 1-4) from the TCU, I have the G4+ looking at the byte 6&7 as it's 16 bits on the same ID as Gear. Thing is the TCU is outputting ASCII, but the g4+ only wants numbers? I noticed that the 350Z plug is setup for GSP over CAN too and that seems to be working. Is there something I'm missing? Attached PCLR Scott's Main Tune - Nick mods 13022021 - Multiplex CAN.pclr Quote Link to comment Share on other sites More sharing options...
Adamw Posted March 13, 2021 Report Share Posted March 13, 2021 There is no way to convert ASCII back to decimal in G4+. You could possibly get one or two enumerations to work with just the multi/divider/offset, but unlikely more than a couple. The ECU expects the following: Quote Link to comment Share on other sites More sharing options...
wastegate Posted March 13, 2021 Author Report Share Posted March 13, 2021 Cheers Adam Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.