Gen 3 Prius Transaxle P410 Makes Clunky Noise.

Topics concerning the Toyota and Lexus inverter drop in boards
User avatar
Gregski
Posts: 2272
Joined: Tue Sep 14, 2021 10:28 am
Location: Sacramento, California
Has thanked: 327 times
Been thanked: 450 times
Contact:

Re: Gen 3 Prius Transaxle P410 Makes Clunky Noise.

Post by Gregski »

Toyota Prius Open Transaxle Motor Action


"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
evbuilder
Posts: 18
Joined: Mon Feb 21, 2022 4:42 am
Location: New Zealand

Re: Gen 3 Prius Transaxle P410 Makes Clunky Noise.

Post by evbuilder »

tom91 wrote: Thu Mar 28, 2024 10:39 pm This is down to the Toyota Prius Gen3 with OEM control yes. Damien only spun it up on the bench.

Damien with my support is getting through bugs alot quicker now, always good to have a second set of eyes who is clued up on the code base.
I've found something odd in the code I think you are using: (this? https://github.com/damienmaguire/Stm32- ... GS450H.cpp )

Line 580:
//mg2
htm_data[31]=(mg2_torque)&0xFF; //positive is forward
htm_data[32]=((mg2_torque)>>8);
htm_data[37]=htm_data[26];
htm_data[38]=htm_data[27];

The last two lines make htm_data[37-38] equal htm_data[26-27], which are always zero?!
Post Reply