Tesla SDU/LDU wifi connectivity

Topics concerning the Tesla front and rear drive unit drop-in board
Post Reply
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Tesla SDU/LDU wifi connectivity

Post by johu »

I currently have some SDU boards on the bench that I marked as "repair". They are the latest with ESP32, i.e. V6 or V8, respectively.

I found the wifi module could be programmed but otherwise wasn't working. It didn't even present the "inverter" SSID.

Now on one SDU board I found the boot strap capacitor of the 5V supply (C52) was dodgy and lead to an unstable 5V supply.

But that wasn't the only culprit. The wifi module is decoupled from the 3V3 network with a 10uH 0603 inductor (L3). And that is only rated 3 mA! Slipped through when checking the BOM. So there is a varying voltage between 3.2V and 3.3V and I suppose it dips even lower, inhibiting startup.

I've only shipped boards with working wifi, maybe those had the tolerances in my favour.

So if you discover wifi connectivity is very unstable or not working at all, swap that inductor for one that's rated more like 200mA or just short it out completely. I'm doing the former for all boards now and will correct the BOM for the next run.

EDIT: I think this one is a better fit https://jlcpcb.com/partdetail/375368-CM ... MT/C394952 . Just 4.7 uH but I guess that's the best you find in this small form factor.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
nubster
Posts: 78
Joined: Sat Oct 29, 2022 7:20 pm
Location: Los Angeles
Has thanked: 37 times
Been thanked: 6 times

Re: Tesla SDU/LDU wifi connectivity

Post by nubster »

Thanks for this.

I see in the V8 BOM the same part is used for L1 and L3. Should both be changed to use C394952 or just L3?

I'm happy to make the change and send a PR.
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Tesla SDU/LDU wifi connectivity

Post by johu »

Just L3
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
jrbe
Posts: 287
Joined: Mon Jul 03, 2023 3:17 pm
Location: CT, central shoreline, USA
Has thanked: 99 times
Been thanked: 74 times

Re: Tesla SDU/LDU wifi connectivity

Post by jrbe »

Those were referenced for the Gen. 3 Leaf adapters and slipped through there as well. Fixing it now in V0.0.3 and will update info in the proper places.
Frederik
Posts: 9
Joined: Sun Dec 10, 2023 2:40 pm

Re: Tesla SDU/LDU wifi connectivity

Post by Frederik »

Hi, my name is Frederik and I am new to this forum. I recently purchased a SDU logic board and am unable to access the wifi. I have already shorted L3, but no succes.
The board shows one constant LED and one blinking.
What can I do next?
Thank for your help! Best regards, Frederik
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Tesla SDU/LDU wifi connectivity

Post by johu »

Does the wifi name "inverter" show up at all? If so can you connect? Tell us which step exactly fails.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Frederik
Posts: 9
Joined: Sun Dec 10, 2023 2:40 pm

Re: Tesla SDU/LDU wifi connectivity

Post by Frederik »

No, it does not show. I tried several devices. I only connected 13 and 19.
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Tesla SDU/LDU wifi connectivity

Post by johu »

Ok. Can you measure 3.3V on the wifi side of L3?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Frederik
Posts: 9
Joined: Sun Dec 10, 2023 2:40 pm

Re: Tesla SDU/LDU wifi connectivity

Post by Frederik »

Looks like the voltage fluctuates between 2.8 and 3.3 V. But I will try to do an other measurement later today.
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Tesla SDU/LDU wifi connectivity

Post by johu »

Ok, that sort of swing would cause it to not work. Can you check the same for the other side of the 3V3 rail and also for the 5V rai?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Frederik
Posts: 9
Joined: Sun Dec 10, 2023 2:40 pm

Re: Tesla SDU/LDU wifi connectivity

Post by Frederik »

Now I measure 3.0V on the 3.3 rail and 4.0V on the 5V..
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Tesla SDU/LDU wifi connectivity

Post by johu »

And your 12V is stable and provides sufficient current? Can you post a picture of the power supply section - maybe something came off?

Read here also https://openinverter.org/wiki/Electronics_Basics
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Frederik
Posts: 9
Joined: Sun Dec 10, 2023 2:40 pm

Re: Tesla SDU/LDU wifi connectivity

Post by Frederik »

Thanks for your help. Currently busy with other things, but will follow up soon.
Frederik
Posts: 9
Joined: Sun Dec 10, 2023 2:40 pm

Re: Tesla SDU/LDU wifi connectivity

Post by Frederik »

Hi, I removed the board from the inverter and reconnected it to the 12v power supply. Now I measure a constant 3.3V near the eps32, for example on the right side of R59. Unfortunately it still does not appear in the wifi list.
User avatar
johu
Site Admin
Posts: 5791
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1023 times
Contact:

Re: Tesla SDU/LDU wifi connectivity

Post by johu »

Ok, I guess something is not well then. I'll send you a new one, please return the faulty one. Unless you want to try and re-program the ESP32. It needs the STM32 to be held in reset and then this: viewtopic.php?p=61098&hilit=python+platformio#p61098 with the files found here https://github.com/jsphuebner/esp32-web-interface and also the command

Code: Select all

pio run --target upload
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Frederik
Posts: 9
Joined: Sun Dec 10, 2023 2:40 pm

Re: Tesla SDU/LDU wifi connectivity

Post by Frederik »

Ok, please send a new one. Thank you! I will return the one I have now.
Post Reply