Zombie and injecting frames from SavvyCAN

Post Reply
Jonr
Posts: 47
Joined: Fri Feb 11, 2022 1:28 pm
Location: Surrey, England
Has thanked: 1 time
Been thanked: 6 times

Zombie and injecting frames from SavvyCAN

Post by Jonr »

I have a bench set up with the GS450h motor/inverter and a bench power supply. I wish to simulate the pre-charge process but don't have an ISA shunt to provide the voltage to the ZombieVerter. Is it possible/has anyone done this, where SavvyCAN (or similar) is used to inject frames for the zombie and a voltage is displayed?

I see from the https://github.com/damienmaguire/Stm32- ... _shunt.cpp file, the frame id is 0x522 and bytes 5,4,3 and 2 make up the input

void ISA::handle522(uint32_t data[2]) //Voltage

uint8_t* bytes = (uint8_t*)data;// arrgghhh this converts the two 32bit array into bytes. See comments are useful:)
Voltage=((bytes[5] << 24) | (bytes[4] << 16) | (bytes[3] << 8) | (bytes[2]));

I've tried and the zombie ignores my input!
Project : GS450h into BMW 3 Series Touring?
Jonr
Posts: 47
Joined: Fri Feb 11, 2022 1:28 pm
Location: Surrey, England
Has thanked: 1 time
Been thanked: 6 times

Re: Zombie and injecting frames from SavvyCAN

Post by Jonr »

It turns out the wiring etc for CAN2 outputs on zombieVerter pins 27 and 28, but, in the Web Interface, I needed to select CAN1 not CAN2

I believe this discrepancy is being corrected
Project : GS450h into BMW 3 Series Touring?
Post Reply