Search found 23 matches

by InternetAthiest
Tue Nov 19, 2019 12:52 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

After reading about 20 different manuals and papers from ST I think I might have found the problem. Apparently I misunderstood that VCAP_1 and VCAP_2 should have just ONE 2.2uF capacitor each instead of two. I've not tested this yet but hopefully it will solve the issue.
by InternetAthiest
Tue Nov 12, 2019 2:21 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Sorry for not responding during the weekend, but I'll try to answer everything. In boot1 update mode pins related to the active interfaces will switch from floating to being actively driven. It's a good way to verify that the processor is working, especially comparing to reset into normal mode. Real...
by InternetAthiest
Fri Nov 08, 2019 3:01 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Tried with swapping the Rx and Tx, nothing happens. I'm pretty sure my adapter works as I've recently flashed firmware on my 3D printer with it.
by InternetAthiest
Thu Nov 07, 2019 4:41 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

I always designed my boards with a 4 pin "Discovery" programming header -- the one matching the early Discovery board programming SWD pinout. That made checking the functionality of the chip easy. You might be able to deduce something by putting the STM32 into boot mode e.g. holding down ...
by InternetAthiest
Thu Nov 07, 2019 2:31 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

I've checked the voltage levels on BOOT and NRST which seem fine and function as they should (BOOT goes high and NRST goes low when pushed). The IC is correctly aligned with the small circle marking pin 1, which on sprut, is next to Y1 (RTC crystal). All capacitors are in place as specified by the d...
by InternetAthiest
Tue Nov 05, 2019 11:22 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Some good and some bad news. I've assembled both PCB and all of the circuits work as expected after fixing some minor bugs. Now to the bad news, the MCU won't start and won't connect over USART nor DFU in bootloader mode on either of the PCBs. I can understand why DFU wouldn't work as it requires a ...
by InternetAthiest
Wed Oct 30, 2019 10:57 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Here we go again for another update! I just received the PCBs and the remaining components for making two sprut (REV 1B) and will be soldering it tomorrow. I've just downloaded the whole RusEFI repo and it seems that it will be quite easy and quick to make a board config (Thanks for making it easy! ...
by InternetAthiest
Fri Oct 11, 2019 8:24 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Note that the current rev 1C is not up to the PCB design rules that are in the wiki, this will hopefully be fixed in a later rev.

Going to upload rev 1B schematic and KiCad project files later today.
by InternetAthiest
Fri Oct 11, 2019 8:18 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Sorry for not responding until now! I've ordered a batch of rev 1B boards which should arrive within this month. Now, just an hour after ordering them I found some bugs in the schematic of 1B, these bug are fortunetly fixable with some mod wire and are going to be fixed in 1C. Rev 1A to Rev 1B chang...
by InternetAthiest
Wed Oct 09, 2019 10:41 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

-- 14V on input 1 would result in to much current dumped to the 5V rail. Causing 5V rail to be more like 10V, so it would break things. You want something more like 10k for R115. Input is only for 5V and those resistors are only there to enable different configurations, much like how frankenso work...
by InternetAthiest
Wed Oct 09, 2019 2:27 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Just add a 0603 between pin 47 and gnd. On the F412 pin 47 is gnd and on the F405 it's VCAP_2 which connects to gnd Then add a 0603 for both pin 30 and 31 that connects to gnd. F412 pin 30 is VCAP_1 and pin 31 is gnd. On the F405 pin 30 is pb11 which I can leave floating and pin 31 is VCAP_2. Good s...
by InternetAthiest
Wed Oct 09, 2019 2:22 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Does Mouser EU not ship to Sweden? They have a few thousand F405RG in stock. @960 may have tips for EU sourcing of components. The problem lies within who I can order from. Looked up the pin out for the F412 and F405 and seems like that VCAP_1 is moved one pin to the right and they replaced pin 48 ...
by InternetAthiest
Wed Oct 09, 2019 2:14 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Yeah, going to re-route it for LQFP64. Thinking of using the STM32F412RET6 instead. Any reason for the F412 over the F405/407? The STM32F405RGT6 is only $4 more, and is fully supported by rusEfi out of the box. Avalibility, currently only have access to certain a few selection of STM32s which is wh...
by InternetAthiest
Wed Oct 09, 2019 1:22 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Otherwise the G4 series has a different pin out but has more flash but at that point I'd rather up size to LQFP64. Now, SWD seems kinda sweet to have but would require the up size. It would also allow me to add status LEDs and CAN without impacting current I/O. Seems worth re-routing for those feat...
by InternetAthiest
Tue Oct 08, 2019 10:21 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

I agree - the F070CB is not enough chip to run rusEfi. There are a few reasons it isn’t enough: While the f070cb could absolutely run an engine, it would require a rewrite of the firmware. I would strongly suggest switching to an f405/407 if you intend to run rusEfi on this board. The f407vg is the...
by InternetAthiest
Mon Oct 07, 2019 8:03 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

The idea is to run rusEFI on it, even if I have to maintain the firmware just for it specifically. But there are about 10 other STM32 ICs that are pin compatible and have integrated USB and more flash. As long as they are using DFU in the bootloader (See 4.2 AN2606) they should work.
by InternetAthiest
Mon Oct 07, 2019 7:35 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Alot of questions, I'll try to answer all of them! :) What injector drivers are you planning on using? Why do you have freewheeling diodes? Seems as I forgot to update the nmos specs to the drivers that I was thinking of using :oops: The freewheeling diodes are just if you're using something that ne...
by InternetAthiest
Mon Oct 07, 2019 6:33 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

What are the pros and cons against https://rusefi.com/forum/viewtopic.php?f=4&t=1215? I see Sprut as a fun project for learning both electronics and efi. It is not meant to be a "be all, do all". Essentially Sprut is designed to be running a Volvo T5 engine which muddies the waters a ...
by InternetAthiest
Mon Oct 07, 2019 3:31 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Yay Sprut routing is complete! :D The PCB is a 100x100mm 2 layer board with the aim of making it possible for a hobbyist to make it at home. PCB is now fully routed and almost ready for manufacturing. The only thing left that I need to sort out is the silkscreen and possibly add text if needed for h...
by InternetAthiest
Thu Oct 03, 2019 12:49 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Just like Frankenso, it has HARDWARE for knock but no SOFTWARE to detect or respond to knock. We have a problem here that... people enjoy creating boards while not much firmware progress is made :( Thanks for elaborating, was a bit lost. I'll take a crack at it when I've got something to test it wi...
by InternetAthiest
Thu Oct 03, 2019 12:35 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

Finally done with the schematic for rev 1 of Sprut! :D It took some time but finally I've selected all components and is currently creating all missing footprints. During some browsing on digikey I found the JAE MX34 series which are automotive style connectors which seem nice and are cheap, like re...
by InternetAthiest
Fri Sep 27, 2019 12:08 am
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Re: Sprut - A newbies try to design an ECU

I'd be more than happy to contribute SW features but I'll still need something to test the code on ;). I saw that Launch control was on the list of todo, might try to implement that as a first attempt to contribution.
by InternetAthiest
Thu Sep 26, 2019 11:09 pm
Forum: Dev: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 61652

Sprut - A newbies try to design an ECU

Hello! I'm a 19 year old student from Sweden that is trying to design an ECU. This is my first attempt at a "large" scale electronics project as I've only done small and specific circuits previously. The goal with this project is to create a fully functioning ECU and to learn more about el...