Search found 32 matches

by DonaldBecker
Wed Jan 08, 2020 6:44 pm
Forum: Misc
Topic: Is stm32f4 the right chip?
Replies: 136
Views: 16745

Re: Is stm32f4 the right chip?

the freescale 5634 I was playing with is sold as a 4cyl ecu processor and it had I think 40 timers with 32 running dedicated code in a kind of stand-alone mode, the OEMs put everything on its own timer....but I'm a mechanical guy not an electronics guy so I don't know if all that is actually needed...
by DonaldBecker
Tue Jan 07, 2020 11:50 pm
Forum: Misc
Topic: Is stm32f4 the right chip?
Replies: 136
Views: 16745

Re: Is stm32f4 the right chip?

Using the existing hardware timers on the STM32 would make the output timing very precise. The drawback is limiting pin assignment. But step back and do some approximations. How precise and accurate do you need your ignition timing to be? Getting it within 1 degree is almost perfect. Being off by a ...
by DonaldBecker
Sun Jan 05, 2020 6:12 am
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

The TLE8888 allows the four ignition trigger outputs to be controlled by either the four dedicated inputs or by using the SPI bus interface. MRE grounds the four inputs, but they can still be controlled over the SPI channel. It's just a matter of software to do that. The same is true of the 5 low-si...
by DonaldBecker
Wed Dec 25, 2019 10:39 pm
Forum: Hello World
Topic: Hello from China!
Replies: 14
Views: 390

Re: Hello from China!

Got another problem: both the Avalon and the Lexus are AT models-will that get in my way of rusEFI conversion? In many older Toyotas the engine ECU also controls the automatic transmission. Specifying the year, body and engine doesn't tell you which wiring harness and ECU connector you have. Basic ...
by DonaldBecker
Fri Dec 20, 2019 1:34 am
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

Will the 0.4.5 (2L) PCB work with the F7 MCU? I believe that no, 0.4.5-2L is F4 only. Correct. The 0.4 design is F4 only. A board cannot be made compatible with both F4 and F7. The primary reason for switching to the F4 was that JLCPCB assembly regularly stocks the F4. The F7 is available as an 'ex...
by DonaldBecker
Thu Dec 19, 2019 2:18 am
Forum: Hello World
Topic: Hello from China!
Replies: 14
Views: 390

Re: Hello from China!

Which ECU connector do those cars use?

I have a footprint for the 100 pin 4 pocket 4 row connector 1-5178203-6 used with some of those engines (generally the automatic transmission models, which required more pins).
by DonaldBecker
Tue Nov 12, 2019 4:45 pm
Forum: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 5029

Re: Sprut - A newbies try to design an ECU

st-link devices start at $4 on eBay and discovery board with st-link on it is $20 You might spend $4 if you are a bad shopper. I paid less than that for one in early 2015. I'm seeing them under $2 on FleaBay, shipping included. And every STM32 discovery board has an embedded ST-Link that can be jum...
by DonaldBecker
Mon Nov 11, 2019 11:31 pm
Forum: Hardware
Topic: let's choose an enclosure
Replies: 106
Views: 14849

Re: let's choose an enclosure

I think that there is mainly a need for Plug-and-Play (PnP) adapter boards to match specific engine connectors. Perhaps if there were a loose standard we could encourage people to put their efforts to creating PCB layouts (Gerber files) converting from their preferred engine connector to a standard ...
by DonaldBecker
Mon Nov 11, 2019 9:02 pm
Forum: Software
Topic: E85 / Flex fuel logic
Replies: 11
Views: 1036

Re: E85 / Flex fuel logic

A quick bit of research suggests the GM, Ford and most other FF sensors are similar They have three pins, 12V power, ground and signal. The nominal use is with a 12V polarity protected battery supply (main relay output). They appear to have an internal linear regulator and microcontroller that does ...
by DonaldBecker
Fri Nov 08, 2019 4:23 pm
Forum: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 5029

Re: Sprut - A newbies try to design an ECU

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.
by DonaldBecker
Thu Nov 07, 2019 4:28 pm
Forum: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 5029

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 the BOOT1 p...
by DonaldBecker
Sun Nov 03, 2019 2:51 pm
Forum: Hardware
Topic: L9788 - multifunction IC for automotive engine management system
Replies: 17
Views: 1354

Re: L9788 - multifunction IC for automotive engine management system

A non-update update. There is still no datasheet for the L9788, nor for the L9966 (the analog input chip). Mouser and Digikey both still list their L9788 stock as a 100 pieces, so apparently no one has ordered one yet. The L9966 remains unavailable. You might be able to deduce the operation of the L...
by DonaldBecker
Mon Oct 21, 2019 9:45 pm
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

I'm not certain that switching to a different vertical USB connector will improve durability. It will mostly simplify soldering and inspection. Also my list is rotating the USB connector to the standard orientation, with the shorter side of the trapezoid "up". The following page describes the prefer...
by DonaldBecker
Sun Oct 20, 2019 1:16 am
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

Are you willing to share the files of the modified board , SMT placement and bom ? I wanted to tryout myself :) I think that most of the files have been integrated into the master branch. I thought that I had added the fabrication ZIP file to my repository at https://github.com/DonaldBecker/hw_micr...
by DonaldBecker
Wed Oct 16, 2019 1:36 pm
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

I had a long description composed that was just deleted by a new kitten. Doh! The layout includes every listed errata and suggestion except for the SPI connection to the TLE9402 e-throttle. That would involve a change in the STM32 pin function assignment. Notably reverse polarity protection is inclu...
by DonaldBecker
Wed Oct 16, 2019 4:25 am
Forum: Hardware
Topic: L9788 - multifunction IC for automotive engine management system
Replies: 17
Views: 1354

Re: L9788 - multifunction IC for automotive engine management system

Next generation of All-in-one ICs is L9788. it have Boost_Buck regulator that reduce power consumption and work well with low battery voltages. It sounds like a wonderful chip. The info available is a 12 page product brief. Most of that isn't chip specific. The largest section is a generic descript...
by DonaldBecker
Wed Oct 09, 2019 4:34 pm
Forum: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 5029

Re: Sprut - A newbies try to design an ECU

-- The hi/lo drivers are very limited by heat. The 3A datasheet is more like 0.125A because of thermal issues. This is worth repeating. Gate drivers are designed for driving MOSFET gates, not continuous current loads. Gates are basically capacitors, so there is a brief surge of current to charge, t...
by DonaldBecker
Wed Oct 09, 2019 11:47 am
Forum: Your car & your engine
Topic: 1998 BMW V12 engine M73 #55
Replies: 40
Views: 7175

Re: 1998 BMW V12 engine M73

The steering angle sensor is for the DSC (Dynamic Stability Control) system -- ABS that figures out which direction you wanted to head. It hooks to the K-line diagnostic wire but does most of its reporting over CAN bus. The data used only by the DSC control module. IIRC, the 7 series DSC had an enha...
by DonaldBecker
Mon Oct 07, 2019 9:37 pm
Forum: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 5029

Re: Sprut - A newbies try to design an ECU

The "launch control" switch will probably be OK, but add a series input resistor will make it more robust. The STM32 internal pull up is equivalent to 20K-100K (nominally 40K, and typically 30K-50K), so a 4.7K or even 10K series resistor is OK to be under 30%. The old rule of thumb is that you want ...
by DonaldBecker
Mon Oct 07, 2019 5:50 pm
Forum: Hardware
Topic: Sprut - A newbies try to design an ECU
Replies: 72
Views: 5029

Re: Sprut - A newbies try to design an ECU

A few questions: What injector drivers are you planning on using? Why do you have freewheeling diodes? Generally you don't want freewheeling diodes or snubbing circuits. They delay the injector closing by allowing the current to decay, and that delay introduces fueling inconsistency. Instead you wan...
by DonaldBecker
Wed Sep 25, 2019 5:12 pm
Forum: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 540
Views: 125619

Re: Frankenso - ECU shield compatible with OEM case / official

I do remember an smd 0603 fuse rated for 3A (or was it 5A - a green package with letter P on it) used in apple laptops. when I was looking for a replacement, I thought of using a zero-ohm resistor. Just curious, how bad was such an idea... It depends on your goal. I once repaired several battery ma...
by DonaldBecker
Tue Sep 24, 2019 12:07 pm
Forum: Hardware
Topic: Frankenso - ECU shield compatible with OEM case / official
Replies: 540
Views: 125619

Re: Frankenso - ECU shield compatible with OEM case / official

Zero ohm resistors are good to at least 1 amp. Above that you'll need to consult the datasheet for the specific resistor. They will typically specify 2.0 or 2.5 amps (0805) with de-rating for temperature and other conditions. With a 50% design margin you are right back at not much more than 1 amp. T...
by DonaldBecker
Tue Sep 17, 2019 12:30 pm
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

2.54mm vs 2.5mm over ten columns is 0.4mm. Hardly noticeable. So the footprint may be wrong and possibly should be fixed in future revisions, but it hardly matters in real life. The error isn't split centrally. The existing footprint starts at the correct position on one side, and has the most erro...
by DonaldBecker
Sun Sep 15, 2019 8:50 pm
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

Where is that footprint from? I'm seeing the same from https://media.digikey.com/pdf/Data%20Sheets/Molex%20PDFs/500762-048x_Dwg.pdf Your correction (2.5 mm pin spacing rather than 0.1 inch) is likely accurate. Could we get a confirmation from someone with a connector physically at hand? Ideally with...
by DonaldBecker
Wed Sep 11, 2019 12:17 am
Forum: Hardware
Topic: L9788 - multifunction IC for automotive engine management system
Replies: 17
Views: 1354

Re: microRusEfi

How to get in less than qty 1k? https://www.st.com/en/automotive-analog-and-power/l9788.html You are American, not Iranian! Send a sample request to ST and get that on red carpet ;) I've occasionally requested samples. It's generally not worth the trouble. You simultaneously need to look like a qua...
by DonaldBecker
Tue Sep 10, 2019 3:40 pm
Forum: Hardware
Topic: L9788 - multifunction IC for automotive engine management system
Replies: 17
Views: 1354

Re: microRusEfi

Next generation of All-in-one ICs is L9788. it have Boost_Buck regulator that reduce power consumption and work well with low battery voltages. It sounds like a wonderful chip. The info available is a 12 page product brief. Most of that isn't chip specific. The largest section is a generic descript...
by DonaldBecker
Sat Sep 07, 2019 3:42 am
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Re: microRusEfi

See reverse polarity pmosfet noted at the below link. The pmosfet is typically better that a protection diode. https://rusefi.com/wiki/index.php?title=Manual:Hardware In this case it's only negligibly better. MRE draws only a trivial current directly from IGN (BAT, BATPA, BATPB). Probably single di...
by DonaldBecker
Fri Sep 06, 2019 11:54 pm
Forum: Hardware
Topic: microRusEfi
Replies: 218
Views: 19176

Proposal for reverse voltage protection

The v0.3 MRE appears to have a weakness with reverse voltage protection (when the battery is connected in reverse, applying -12V to the +12V circuit). Specifically unprotected 12V power is supplied to the e-throttle TLE9201 H-bridge chip, several pins of the TLE8888 (BATPA, BATPB) and the main capac...
by DonaldBecker
Fri Sep 06, 2019 12:30 am
Forum: Hello World
Topic: ECU for a 1970 Toyota Corona
Replies: 6
Views: 498

Re: ECU for a 1970 Toyota Corona

From my notes, in the hope that it would be will be useful to others in future searches: The ECM uses a connector block made by Tyco (e.g. TE, TE Connectivity, AMP). There are four pockets/ports with 34-22-16-28 pins. This is distinguished from other Toyota ECU connectors by having four rows of pins...
by DonaldBecker
Thu Sep 05, 2019 3:54 am
Forum: Hello World
Topic: ECU for a 1970 Toyota Corona
Replies: 6
Views: 498

Re: ECU for a 1970 Toyota Corona

Yes, that's the car. It's now about 1.5 feet wider, with the engine halfway through the original firewall, the exhaust directly through the rear passenger door, driver's seat where the rear seat was, and the radiator in the trunk. And changed from leaf springs to coil-overs suspension, using the sub...