Using reset pin of OEM EV inverter cpu to clear the way for external brain control
Posted: Fri Apr 17, 2020 1:14 am
This post:
viewtopic.php?f=10&t=575&start=10#p7771
notes that it is possible to use the reset pin of the CPU of an OEM inverter to disable that cpu, to allow wiring in an external brain control, presumably without having to hack at the traces and wiring (as much, at least, and hopefully not at all) of the inverter/powerstage board.
My project (the SB Cruiser trike here https://www.endless-sphere.com/forums/v ... =2&t=67833 ) will be using a pair of Honda IMA inverters, more because of size than anything else, as I don't need the kind of power the larger inverters provide, and they should be significantly smaller and easier to use on my small trike than the others (though i face other challenges like weatherproofing). While i won't be using the Openinverter brain to control them (the Lebowski SMD brainboard instead), this technique should apply the same regardless of brain used. (The brain/inverter integration thread is here: https://endless-sphere.com/forums/viewt ... 0&t=105711 ).
I have been looking around for a week or so now, and not yet found which CPU the Honda IMA inverter uses, to then find a pinout for it, and thus locate the reset pin. Tomdb's posts over on DIYElectricCar forums here
https://www.diyelectriccar.com/forums/s ... p?t=163650
have some good pics of the insides, but the numbers are not readable on the CPU. I have a couple of the inverters on the way, and they should be here "soon" but with the covid19 stuff going on, there aren't any arrival time guarantees. So in the meantime I'm gathering as much information as I can, to speed up the process of developing the "system" to turn these into controllers i can use on my trike.
If anyone has any of that information handy, it would be helpful to me (and others that may also use this inverter) in going forward on this project.
The intent is to gather and document over on EndlessSphere and DIYElectricCar forums (and here on Openinverter if it's allowed, since it's a bit offtopic), all the information necessary for anyone with reasonable DIY skills to buy a brainboard (lebowski SMD specifically, but any of them in general to the degree I can) and a Honda IMA inverter (as they are very cheap) to make a good customizable/programmable controller for a small EV project.
If not, and assuming the pinout is not available anywhere once I do know what CPU it uses, I can probably locate the reset pin experimentally, using an oscilloscope to monitor a data or clock line (which might be obvious from component connections once i see it), and then grounding steady-state pins on the unit that are not Vcc/etc lines, until such signals are stopped, but resume when the grounding is removed.
(Note this thread is crossposted to DIYElectricCar forums as they have dealt with both the Honda IMA and the Lebowski brainboards, and might also have useful information. https://www.diyelectriccar.com/forums/s ... ost1055945
I also crossposted it to my "home" forum of Endless-Sphere, so that I can keep all the results there as well, for those that don't visit DIYEC or OI forums but want to do this sort of thing. https://endless-sphere.com/forums/vi...?f=30&t=105707 )
viewtopic.php?f=10&t=575&start=10#p7771
notes that it is possible to use the reset pin of the CPU of an OEM inverter to disable that cpu, to allow wiring in an external brain control, presumably without having to hack at the traces and wiring (as much, at least, and hopefully not at all) of the inverter/powerstage board.
Most CPUs and other microcontrollers i've dealt with will tristate their i/o pins (at least the outputs) when held in reset, so they won't interfere with anything else that is on the same bus, etc. So this seems like the easiest and most reliable way forward; less risk of damaging anything else in the inverter while zombifying it prior to external brain installation.Jack Bauer wrote: ↑Fri Mar 13, 2020 3:44 pm
Pin 124 of the TMS main processor is the reset pin called XRS. Pulling that to ground puts Elon asleep and leaves everything else up and running.
My project (the SB Cruiser trike here https://www.endless-sphere.com/forums/v ... =2&t=67833 ) will be using a pair of Honda IMA inverters, more because of size than anything else, as I don't need the kind of power the larger inverters provide, and they should be significantly smaller and easier to use on my small trike than the others (though i face other challenges like weatherproofing). While i won't be using the Openinverter brain to control them (the Lebowski SMD brainboard instead), this technique should apply the same regardless of brain used. (The brain/inverter integration thread is here: https://endless-sphere.com/forums/viewt ... 0&t=105711 ).
I have been looking around for a week or so now, and not yet found which CPU the Honda IMA inverter uses, to then find a pinout for it, and thus locate the reset pin. Tomdb's posts over on DIYElectricCar forums here
https://www.diyelectriccar.com/forums/s ... p?t=163650
have some good pics of the insides, but the numbers are not readable on the CPU. I have a couple of the inverters on the way, and they should be here "soon" but with the covid19 stuff going on, there aren't any arrival time guarantees. So in the meantime I'm gathering as much information as I can, to speed up the process of developing the "system" to turn these into controllers i can use on my trike.
If anyone has any of that information handy, it would be helpful to me (and others that may also use this inverter) in going forward on this project.
The intent is to gather and document over on EndlessSphere and DIYElectricCar forums (and here on Openinverter if it's allowed, since it's a bit offtopic), all the information necessary for anyone with reasonable DIY skills to buy a brainboard (lebowski SMD specifically, but any of them in general to the degree I can) and a Honda IMA inverter (as they are very cheap) to make a good customizable/programmable controller for a small EV project.
If not, and assuming the pinout is not available anywhere once I do know what CPU it uses, I can probably locate the reset pin experimentally, using an oscilloscope to monitor a data or clock line (which might be obvious from component connections once i see it), and then grounding steady-state pins on the unit that are not Vcc/etc lines, until such signals are stopped, but resume when the grounding is removed.
(Note this thread is crossposted to DIYElectricCar forums as they have dealt with both the Honda IMA and the Lebowski brainboards, and might also have useful information. https://www.diyelectriccar.com/forums/s ... ost1055945
I also crossposted it to my "home" forum of Endless-Sphere, so that I can keep all the results there as well, for those that don't visit DIYEC or OI forums but want to do this sort of thing. https://endless-sphere.com/forums/vi...?f=30&t=105707 )