mega squirt code problem

Started by 65fpvmustang, January 05, 2016, 07:01:33 PM

65fpvmustang

i don't understand why the original code did not move the vgt. if i read it right it should have moved from position 512 to 767. the boost duty is 0 to 100.
now if i had arduino hooked up and sending a fixed position. and forgot to turn off megasquirt the veins would jump around. Had to disconnect both ms3 CAN wires to get it to stop or turn power off to ms3.

if (ram5.can_bcast2 & 0x02) {
/* holset HE351VE VGT turbo and a wastegate
29bit CAN message 0x0cffc600
8 bytes
D0 = 0 - 0xff for how far open the vanes should be. 0xff is all the way open.
D1 = 0x02
D2 = 0x01
D3 = 0xff
D4 = 0xff
D5 = 0xff
D6 = 0xff
D7 = 0xff
----------------------
*/
data[0] = (outpc.boostduty * 255U) / 100U;
data[1] = 0x02;
data[2] = 0x01;
data[3] = 0xff;
data[4] = 0xff;
data[5] = 0xff;
data[6] = 0xff;
data[7] = 0xff;
send_can29bit(0x0cffc600, data, 8);
}

Rx7man

Depending on how the send_can_29bit method handles things, it looks like it should work :)
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

65fpvmustang

fingers crossed i'll try it Friday.
really want to get back to the falcon and the he561ve.
Keep yours eye's open for actuator for me. they mount different then he351ve. I don't think they make a 12v version.

Rx7man

Probably be pretty hard to find.. good luck with it!
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

65fpvmustang

there was 1 for $400 on ebay a while back.
i should probably machine the turbo center section so it will use the he351ve actuator.
then i don't have to figure out the 24v problem.

65fpvmustang

One of the mega squirt guys figured out my problem ms3 runs it's can bus at 500kbs.
But can be changed down to 250kbs.
there are more then 2 can ports on ms3 processor but just 1 is currently being used.

Rx7man

ah,.. OK, good to know you got it figured out anyhow...
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles