The inverter will drive just about motor, so, you don't have to worry about compatibility there. Beyond that, it's a bit offtopic for this development thread as to which motor is suitable for your project. You could start a project thread I suppose.
Prius Gen2 adapter board development thread
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 389 times
- Been thanked: 258 times
Re: Prius Gen2 adapter board development thread
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Prius Gen2 adapter board development thread
Finally I have on my desk what you've all been waiting for
Almost at least. There are a couple of issues:
- The STM32 is rotated 90°
It must be JLCs fault this time, the pin marker looked correct on my order
- The 3V3 pin on the programming points is not connected to 3V3 - my fault
- The reset pin on the programming is interrupted - my fault, but irrelevant, it is not needed for programming
The the last two items are easy fixed, the first one is a pita. Since I don't have a hot air station I cut the processor off and replaced it with a fresh one.
So far I've tested:
- new excitation circuit: works a treat! Even my 4Ohm (plus 10 Ohm resistor) test speaker doesn't make it run overly hot. Even though it consumes 1.4W. With the typical 30 Ohm exciter coil it should run cool.
- precharge and dcsw output mosfets: work, don't mind the turn-off spike
- Desat/power stage over current detection: at 5V5 it switches over to "all good"
- digital inputs: work
Will do more testing now, I think the current sensor circuit needs correction as I've upped the "5V" rail to 5.4V to have sufficient resolver amplitude but forgot to adjust the divider resistors for the offset voltage.

- The STM32 is rotated 90°

- The 3V3 pin on the programming points is not connected to 3V3 - my fault
- The reset pin on the programming is interrupted - my fault, but irrelevant, it is not needed for programming
The the last two items are easy fixed, the first one is a pita. Since I don't have a hot air station I cut the processor off and replaced it with a fresh one.
So far I've tested:
- new excitation circuit: works a treat! Even my 4Ohm (plus 10 Ohm resistor) test speaker doesn't make it run overly hot. Even though it consumes 1.4W. With the typical 30 Ohm exciter coil it should run cool.
- precharge and dcsw output mosfets: work, don't mind the turn-off spike
- Desat/power stage over current detection: at 5V5 it switches over to "all good"
- digital inputs: work
Will do more testing now, I think the current sensor circuit needs correction as I've upped the "5V" rail to 5.4V to have sufficient resolver amplitude but forgot to adjust the divider resistors for the offset voltage.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 861
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 514 times
- Been thanked: 49 times
- Contact:
Re: Prius Gen2 adapter board development thread
I've got goose bumps
.... Gen 2 lock up gear in the design stage. Will be thicker than mock up and spot welded to carrier... Can't wait for the two to be introduced....I will post in gen 2 transaxle link later.
Re: Prius Gen2 adapter board development thread
Oooooo, such GREAT news! 

Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Prius Gen2 adapter board development thread
That's really bad luck with the stm32. I have never had them do that. One thing I did learn early on though was to put nice big markings on the silkscreen for polarity sensitive parts and pin 1 of packages. It might be worth turning the wifi header around on the next build.
I'm going to need a hacksaw
-
- Posts: 861
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 514 times
- Been thanked: 49 times
- Contact:
Re: Prius Gen2 adapter board development thread
Once your tests and mods are complete, I could be interested in a board, and have the STM rotated locally...Off in search of prius battery for testing purposes 
- SciroccoEV
- Posts: 370
- Joined: Thu Oct 10, 2019 1:50 pm
- Location: Luton UK
- Been thanked: 15 times
Re: Prius Gen2 adapter board development thread
That's why I derived the reference voltage from the 3V3 rail. Adding the buffer means it's a nice low impedance source so I can also use it for the resolver offsets too.
-
- Posts: 1013
- Joined: Fri Apr 26, 2019 5:40 pm
- Has thanked: 389 times
- Been thanked: 258 times
Re: Prius Gen2 adapter board development thread
You what?
How do you do all the things you do, and yet you've never spent $50 on a cheap hot air station?
How do you own a scope, without owning a hot air station?
The mind boggles.
However, can't wait until testing!
-
- Posts: 861
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 514 times
- Been thanked: 49 times
- Contact:
Re: Prius Gen2 adapter board development thread
Oops, sorry, the message was for the posting of pin layouts inside the inverter.
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Prius Gen2 adapter board development thread
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Kevin Sharpe
- Posts: 1345
- Joined: Fri Dec 14, 2018 9:24 pm
- Location: Ireland and US
- Been thanked: 8 times
Re: Prius Gen2 adapter board development thread
Great video Johannes 

This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
- konstantin8818
- Posts: 290
- Joined: Sun Jan 19, 2020 2:33 pm
- Location: Minsk, Belarus
- Has thanked: 2 times
- Been thanked: 8 times
Re: Prius Gen2 adapter board development thread
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
-
- Posts: 77
- Joined: Tue Jan 15, 2019 10:49 pm
- Location: Ireland
- Been thanked: 3 times
Re: Prius Gen2 adapter board development thread
Great Stuff Johannes.
Looking good. The board, not your head. !!
Regards and continued success.
Stephen
Looking good. The board, not your head. !!
Regards and continued success.
Stephen
SDev
-
- Posts: 966
- Joined: Sun Feb 23, 2020 9:24 am
- Location: Northern Ireland
- Has thanked: 363 times
- Been thanked: 218 times
- Contact:
Re: Prius Gen2 adapter board development thread
WOO HOO!!!!!
Great stuff. I bought a Gen 2 Inverter a couple of weeks ago (£75 delivered
) thinking I would be using Damien's Blue Pill board but This looks like it will be easier to get working.
Great stuff. I bought a Gen 2 Inverter a couple of weeks ago (£75 delivered
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Prius Gen2 adapter board development thread
Yes it is but before reordering I have to discuss with JLC why they twisted the STM32 in the first place. There is a marker on the silk screen and I checked placement when ordering, not sure why they screwed up.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Prius Gen2 adapter board development thread
Johannes sent me one of the Gen 2 boards to have a play. So Colonel Kurtz and myself got to work. I think I see why JLC got the stm32 orientation wrong. The designator for C16 is just perfectly overlapping the stm32 footprint corner to make it look like a pin 1 mark!
I'm going to need a hacksaw
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Prius Gen2 adapter board development thread
Yes it really does! I hope they don't repeat this in the current order. I did notify them of the mistake though.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 861
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 514 times
- Been thanked: 49 times
- Contact:
Re: Prius Gen2 adapter board development thread
Such attention to detail Colonel Kurtz, where would you be with out him!
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Prius Gen2 adapter board development thread
Aha, the next batch will arrive here on Monday. Hopefully with the processor aligned correctly.
I think they'll just get a quick optical inspection and power-up test so they can go on the shop sooner.
I think they'll just get a quick optical inspection and power-up test so they can go on the shop sooner.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 861
- Joined: Tue Oct 29, 2019 2:48 pm
- Location: France
- Has thanked: 514 times
- Been thanked: 49 times
- Contact:
Re: Prius Gen2 adapter board development thread
STOP THE TORTURE !
I would even pre order one to make sure I don't miss out..My precious


I would even pre order one to make sure I don't miss out..My precious

- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1485 times
- Contact:
Re: Prius Gen2 adapter board development thread
Stopping the torture: https://openinverter.org/shop/index.php ... duct_id=63 
The kit includes all connectors (except the 2-pin gate drive power connector)

The kit includes all connectors (except the 2-pin gate drive power connector)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9