[info] microRusEFI

Hardware inside and outside of the ECU
unfgr
Posts: 33
Joined: Wed Sep 09, 2015 10:26 pm

Re: microRusEfi

Post by unfgr »

Hardware-wise, both MCUs ara pin compatible,
what is your reasoning? unsuported functionality in M7 series?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

unfgr wrote:
Thu Dec 19, 2019 10:15 pm
Hardware-wise, both MCUs ara pin compatible
There is an opinion that 100 pin versions of F4 and F7 are NOT pin compatible. The reason to change the footprint from F7 100 pin to incompatible F4 100 pin is price reduction.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
unfgr
Posts: 33
Joined: Wed Sep 09, 2015 10:26 pm

Re: microRusEfi

Post by unfgr »

You are right, i stand corrected!
they have indeed different pinout in this package (a big screw-up from ST if i may add since they advertise full pin compatibility from their M4 to M7 series)
Oh well, no rest for the wicked... new PCB incoming...
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

0.4.5 has bugs and there is a hope of 0.4.6 in coming days. more on Slack chat room
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
DonaldBecker
Posts: 32
Joined: Mon Aug 19, 2019 10:40 pm
Location: Los Gatos CA USA

Re: microRusEfi

Post by DonaldBecker »

russian wrote:
Thu Dec 19, 2019 10:12 pm
unfgr wrote:
Thu Dec 19, 2019 10:09 pm
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 'extended' part, with changing availability. Today the 100 pin F7 part in stock is the F745, and they only have 18 of them. The only F767 type they have in stock is the 144 pin part, and they list only 4 of them (the minimum board order is 5 parts).

The STM32 family is pinout compatible (*).

(*) Here is minor detail behind that claim that makes it entirely false. The 100 pin package F7 made a major incompatible change to the STM32 pinout. One side of the chip has every signal shifted over by one pin. Major, stupid incompatibility. ST doesn't say exactly why they did that, beyond some nonsense statement about USB power. It appears that someone screwed up the bond-out pattern, and they didn't want admit it or throw away chips. So they broke compatibility for their customers.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Code: Select all

Changes for 0.4.7
Corrected mixed-up Vref/Vbatt/AV4/AV5 inputs
Put USB Vin on a regular diode clamp, not the +V clamping rail.
Changed USB diode array +V clamping to the internal 5V rail.
Selected a different micro USB connector, a through-hole type that is more common and easier to solder.  (The previous type had through-hole mounting ears so this doesn’t change the bottom clearance.)
Rotated the USB connector to follow wide-side-down orientation expectations.
Reduced brightness of USB power green LED (R48 currently 2.2K previous 1.0 Kohm, 2.5mA)
Moved debug connector away from USB connector (previously it barely fit)
Moved the Reset button adjacent to Program button for easier entry to DFU mode.
Changed the push button type to one with extending SMD leads for easier inspection.
Added termination (diode and 1206-size pull-up) to the LIN bus circuit.
Added a 0-ohm jumper for 5V standby power to Wake-On-CAN, remove to disable.
Added a 0-ohm jumper R21 to connect DFB-11 to the AV9 input, remove to disable
Removed thermal breaks on the bottom layer under TLE thermal pad. Solder mask remains.
Modified layout to improve bottom layer ground current from TLE8888 to mounting holes.
Changed TLE8888 ignition outputs from test point to 1x4 header hole size
Added a dual diode to allow STM32 RTC standby power simultaneously from coin cell header and from 12V constant (through main relay coil)
Changed pin assignment for communication header to allow I2C and CAN1 outputs.
Grouped test points on the edge of the top layer, renumbered and added 3.3V.
Changed freewheel diodes part and footprint to SMA (original was 500mA)
Added Tag-connect programming pads
New gerbers available https://github.com/rusefi/hw_microRusEfi/blob/master/gerbers/rusEFI-Micro_R0.4.7.zip

iBom for this version https://rusefi.com/docs/ibom/microRusEfi_R0.4.7.html
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Polarity validation image for 0.4.7

Image
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
texasgdp754
Posts: 17
Joined: Mon Nov 18, 2019 11:48 pm

Re: microRusEfi

Post by texasgdp754 »

I know there are the 4 ignition high side outputs on the 48 pin molex header for driving coils. Can the 1 x 04 header from tle8888 drive 4 additional coils with internal igbt. ?.

I see the ign in circuits are grounded in tle8888 and not hooked to stm32 like the inj in circuits . looking at data sheet. Still unsure.

Apologize if I'm missing the obvious here
DonaldBecker
Posts: 32
Joined: Mon Aug 19, 2019 10:40 pm
Location: Los Gatos CA USA

Re: microRusEfi

Post by DonaldBecker »

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-side outputs on the 1x5 header -- they can be controlled over SPI.
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: microRusEfi

Post by Dron_Gus »

Can some one with MRE run this https://github.com/dron0gus/rusefi/tree/tle8888-dev code and check if 'pins' command shows valid diagnostic for TLE8888 pins? Or just copy-paste its output here.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: microRusEfi

Post by mck1117 »

Dron_Gus wrote:
Tue Feb 04, 2020 8:10 pm
Can some one with MRE run this https://github.com/dron0gus/rusefi/tree/tle8888-dev code and check if 'pins' command shows valid diagnostic for TLE8888 pins? Or just copy-paste its output here.
I assume it's been tried on a tle8888 dev board already?
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: microRusEfi

Post by Dron_Gus »

mck1117 wrote:
Wed Feb 05, 2020 7:08 pm
I assume it's been tried on a tle8888 dev board already?
Nope. I do not have any HW with TLE8888 attached. Actually I have tle8888 and breadboard. But I better wait for real MRE that doing this wiring nightmare.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Got myself a https://cricut.com/cricut-maker cutter - I can now make PCB insulators or prototype PCBs. Pictured is 0.03 inch / 0.75mm cardboard.

https://github.com/rusefi/hw_microRusEfi/blob/master/gerbers/rusEFI-Micro_R0.4.7-Spacer_Cuts.svg
Attachments
microRusEfi_chipboard.jpg
microRusEfi_chipboard.jpg (419.48 KiB) Viewed 34842 times
microRusEfi_back_side_insulator.jpg
microRusEfi_back_side_insulator.jpg (500.25 KiB) Viewed 34842 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Finally available on eBay as a 75% assembled kit!

From $60 for kit up to $199 for final assembly in USA ebay.com/itm/333517397424
Update: new eBay link https://www.ebay.com/itm/333532119947

Kit instructions - https://github.com/rusefi/rusefi/wiki/Hardware_microRusEfi_kit_instructions
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: microRusEfi

Post by Dron_Gus »

97244d5s-1920.jpg
97244d5s-1920.jpg (335.86 KiB) Viewed 34702 times
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

All six kits sold, still one last assembled microRusEfi 0.4.7 available!

Buyers have the option to stay anonymous or I can add them to https://rusefi.com/forum/viewtopic.php?p=32462#p32462 list if they would allow.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

0.4.7 board, no load, 17C ambient. Q1 is still a clear winner @ 53C (36C above ambient)
Attachments
MRE_047_front[1].jpg
MRE_047_front[1].jpg (858.46 KiB) Viewed 34343 times
MRE_047_back[1].jpg
MRE_047_back[1].jpg (910.99 KiB) Viewed 34343 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
dexter_lab
Posts: 39
Joined: Sun Feb 02, 2020 8:01 pm

Re: microRusEfi

Post by dexter_lab »

it looks like some of the diodes not the Q1?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

dexter_lab wrote:
Sat Feb 29, 2020 7:51 pm
it looks like some of the diodes not the Q1?
Please note how thermal image is a bit shifted in relation to optical image.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

0.4.8 is being fabricated now:
1) more mounting points for microRusEfi as Plug&Play module project
2) more vias around Q1
3) two more components were moved from back to top, also a few more components are now pre-assempled by JLC

There is hope to resume sales of assembled units around March 25th.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Simon@FutureProof
contributor
contributor
Posts: 413
Joined: Tue Jul 24, 2018 8:55 pm
Github Username: Orchardperformance
Slack: Orchardperformance

Re: microRusEfi

Post by Simon@FutureProof »

So after discussions about cases and how we are tied to one specific Chinese case at the moment I took a few hours while I was off work to look into a viable alternative.

I did a bit of hunting and found a viable case - Hammond 1455L 1202BK
This case is 123mm x 103mm x 30.5mm and is the smallest stock case I could find. It comes in Silver, Black, Red and Blue.

I then worked out a way to mount the existing MRE plug to the stock case in a way that could be 3d printed and not look rubbish.
Adapter is designed from the CAD on the Molex website so is a very tight fit over the plug, Printing requires elephant foot compensation or trimming to make sure the first layer flash does not prevent fitting. You also need a fairly dimensionally accurate 3d printer.

Print time is about 1 hour using Hilbert curve top layers.

Yes I do still need to workout a way to mount the MRE board nicely. I was considering a trimmed piece of aluminum to sit into the slots of the case and bolt to the MRE board.

Note - This case is a very tight fit on the plug and a little has to be trimmed on it to fit nicely. This bit is shown on the last picture, it can be done with side cutters and cleaned up with a knife, the plastic pins on the bottom that go through the board need just the first few mm clipped off as you can see in the pictures.
Attachments
IMG_20200303_232650.jpg
IMG_20200303_232650.jpg (334.03 KiB) Viewed 34213 times
IMG_20200303_232446.jpg
IMG_20200303_232446.jpg (275.94 KiB) Viewed 34213 times
IMG_20200303_232417.jpg
IMG_20200303_232417.jpg (234.85 KiB) Viewed 34213 times
image.png
image.png (197.91 KiB) Viewed 34213 times
image (1).png
image (1).png (100.05 KiB) Viewed 34213 times
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
Simon@FutureProof
contributor
contributor
Posts: 413
Joined: Tue Jul 24, 2018 8:55 pm
Github Username: Orchardperformance
Slack: Orchardperformance

Re: microRusEfi

Post by Simon@FutureProof »

3d printing STL is attached.
Attachments
MRE end plate cut_.7z
(43.04 KiB) Downloaded 421 times
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Kudos to @abricos for pointing us at USB3131-30-0230-A - a cheaper AND hopefully easier to mount vertical USB connector. 614105150721 is x2.5 the price and 614105150721 is supposed to be used with 1mm PCBs.

Only weirdness is that mouser does not stock it. And digikey does not stock TLE8888.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Looks like the case we enjoy here has started as Bosch F01R00D072 - ours looks a bit different but mostly the same. And then for Dongfeng Sokon DFSK it became a bit less Bosch and a bit stamped instead of molded.
Attachments
F01R00D072_front.jpg
F01R00D072_front.jpg (2.85 MiB) Viewed 34150 times
F01R00D072.jpg
F01R00D072.jpg (2.46 MiB) Viewed 34150 times
Dongfeng-Sokon-DFSK-M7-ECU.jpg_q50.jpg
Dongfeng-Sokon-DFSK-M7-ECU.jpg_q50.jpg (47.47 KiB) Viewed 34150 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Simon@FutureProof
contributor
contributor
Posts: 413
Joined: Tue Jul 24, 2018 8:55 pm
Github Username: Orchardperformance
Slack: Orchardperformance

Re: microRusEfi

Post by Simon@FutureProof »

:o

Some nice pictures and even a pinout here:
https://mhhauto.com/Thread-help-pinout-of-ecu-bosch-m7-9-7-1
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

36638-0002 would not work on current MRE I guess :(

While the pin alignment piece of plastic could be removed, the way the terminals are stamped from flat stock we cannot bend them into smaller row spacing.
Attachments
IMG_20200306_133056.jpg
IMG_20200306_133056.jpg (567.26 KiB) Viewed 34075 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

DonaldBecker wrote:
Fri Dec 20, 2019 1:34 am
Correct. The 0.4 design is F4 only. A board cannot be made compatible with both F4 and F7.

The 100 pin package F7 made a major incompatible change
Actually it could be that there are three or maybe four different stm32 LQFP-100 pinouts.

https://www.st.com/content/ccc/resource/technical/document/application_note/73/76/21/47/ef/d0/4c/16/DM00164538.pdf/files/DM00164538.pdf/jcr:content/translations/en.DM00164538.pdf

2 layer MRE 0.4.x uses "old device F4" pinout for 168MHz devices

the is also a different "new device F4" pinout for 180MHz devices which is NOT compatible with any MRE at this point.

And then we have 4 layer MRE 0.1-0.3 which uses F7 pinout which is a third different pinout.

Open question if there are differences within F7 family as well :cry: :evil: :roll:

Relevant documents:
https://www.st.com/en/microcontrollers-microprocessors/stm32f4-series.html
https://www.st.com/content/ccc/resource/technical/document/application_note/73/76/21/47/ef/d0/4c/16/DM00164538.pdf/files/DM00164538.pdf/jcr:content/translations/en.DM00164538.pdf Migration of microcontroller applications from
STM32F42xxx/F43xxx devices to STM32F7 Series devices AN4660

Update: maybe above info about F4 is not true? Maybe it's only 469 which is different? https://rusefi.com/forum/viewtopic.php?p=24291#p24291
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: microRusEfi

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Simon@FutureProof
contributor
contributor
Posts: 413
Joined: Tue Jul 24, 2018 8:55 pm
Github Username: Orchardperformance
Slack: Orchardperformance

Re: microRusEfi

Post by Simon@FutureProof »

We had a request for a blanking plug/cable gland to use on an MRE instead of the Molex plug so I had a quick go at it this evening.
It was not easy to work out a way to have the geometry of the Molex injection molded plug and still be able to print the part with good quality and printable holes but I think we got pretty close.

STL to follow.
Attachments
IMG_20200308_000509.jpg
IMG_20200308_000509.jpg (190.98 KiB) Viewed 33789 times
IMG_20200308_001947.jpg
IMG_20200308_001947.jpg (220.07 KiB) Viewed 33789 times
IMG_20200308_001135.jpg
IMG_20200308_001135.jpg (219.35 KiB) Viewed 33789 times
image (2).png
image (2).png (358.03 KiB) Viewed 33789 times
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
Post Reply