johu wrote: ↑Thu Oct 05, 2023 1:10 pm
Thank you very much for your hard work.
I'm happy to contribute. Thanks for helping make all of this possible and thanks for your patience with my million questions.
I looked through the schematic, only thing that popped up was the pull-up of mprot. That should be hard wired to 12V without the 4k7 resistor because there is one on board already.
I removed the 4K7 and wired it straight to 12v but something seems off here.
On the mini mainboard 12v goes through a voltage divider and connects to PA3 / pin 17 of STM32. It does not go to either 20 pos. headers though so the STM32 has no feedback on this line from the adapter board, seems like its just an override on the mini mainboard.
On the Nissan 40 pos. connector this is the wiring that jumps out of the inverter box. Seems like this is not required / maybe mixed up with the original mainboard functions? (or I'm missing something..) I'd rather not output 12v through the pc board back out the inverter connector unless it's necessary.
Not sure why I picked 3k3 there, probably had one handy. "Standard" is 1k2. Still need to map out the sensor.
I added a reminder note in the schematic to verify it. Its the annoying one that's going off the page in the pdf. Was this post that mentioned it,
viewtopic.php?p=23175&hilit=3k3#p23175
..OUT_OVTMP & OUT_TEMP..
That's just general purpose outputs of all OI boards but I think they are not brought out to the round connector anyway. If exported the should go through a similar circuitry as the other outputs, maybe with smaller FETs 2N7002 or so.
These are currently only labeled on the 40 position Nissan connector that I'm seeing.
Pin 32 of the 40 pos. connector is OUT_TEMP.
Pin 27 of the 40 pos. connector is _OUT_OVTMP.
I couldn't find where they would connect on the mini mainboard. Happy to add some small fets for them but not sure what mini mainboard outputs are supposed to drive them.
OUTVTG could be one of these but I have not found any info pointing to that / linking the labels together.
In the same thinking I added 2N7002's with 10k gate pull downs for:
- PWM_USER output (JP2, pos 20) thats going to dead end header J5 pos 8 currently.
- corrected OUT_ERR output (JP2, pos 17) - removed from the dead end header (J5.)
- corrected OUTVTG (AKA CS_ADC - JP2 pos19) and have it going to the dead end header (J5) after the fet.
- - Should any of these get solder jumpers that can be cut?
With the older mainboard R2 was GND. Now it needs to be connected to R2 of the main board (pin 20 of J2 presumably)
I think I see this now. Pin 20 of the Nissan 40 pos. connector is labeled as R2 but goes to GND in Kelju's previous work. I removed that 0R to GND and connected it to JP1, pos. 12 / R2.
It seems to be some automotive standard that current sensors have redundant outputs. I was never sure how to make use of these so one pair remains disconnected
I wonder if this is a connector resistance / connector mechanical failure redundancy? I left one of each with a 0R footprint as DNP, removed the other footprint on each and ran a trace across the missing spots.
I added 2 ceramic 10uF caps at the 4x +5V lines on the Nissan 32 pin connector, they're C5 & C6. I don't think this would be an issue with the 5 volt regulator and should help keep the 5V for different sensors stable / clean. Let me know if those should get swapped / removed.
I attached V0.0.1 schematic pdf. Going with small version #s while we work through this.
Updated board image for reference.