[info] microRusEFI
Re: microRusEfi
Hardware-wise, both MCUs ara pin compatible,
what is your reasoning? unsuported functionality in M7 series?
what is your reasoning? unsuported functionality in M7 series?
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: microRusEfi
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...
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...
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- Posts: 32
- Joined: Mon Aug 19, 2019 10:40 pm
- Location: Los Gatos CA USA
Re: microRusEfi
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.
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
Polarity validation image for 0.4.7
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- Posts: 17
- Joined: Mon Nov 18, 2019 11:48 pm
Re: microRusEfi
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
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
-
- Posts: 32
- Joined: Mon Aug 19, 2019 10:40 pm
- Location: Los Gatos CA USA
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-side outputs on the 1x5 header -- they can be controlled over SPI.
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.
- Dron_Gus
- contributor
- Posts: 460
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: microRusEfi
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.
-
- running engine in first post
- Posts: 1495
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: microRusEfi
I assume it's been tried on a tle8888 dev board already?Dron_Gus wrote: ↑Tue Feb 04, 2020 8:10 pmCan 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.
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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
https://github.com/rusefi/hw_microRusEfi/blob/master/gerbers/rusEFI-Micro_R0.4.7-Spacer_Cuts.svg
- Attachments
-
- microRusEfi_chipboard.jpg (419.48 KiB) Viewed 39145 times
-
- microRusEfi_back_side_insulator.jpg (500.25 KiB) Viewed 39145 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
Just added some content to 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
0.4.7 board, no load, 17C ambient. Q1 is still a clear winner @ 53C (36C above ambient)
- Attachments
-
- MRE_047_front[1].jpg (858.46 KiB) Viewed 38646 times
-
- MRE_047_back[1].jpg (910.99 KiB) Viewed 38646 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- Posts: 39
- Joined: Sun Feb 02, 2020 8:01 pm
Re: microRusEfi
it looks like some of the diodes not the Q1?
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- contributor
- Posts: 413
- Joined: Tue Jul 24, 2018 8:55 pm
- Github Username: Orchardperformance
- Slack: Orchardperformance
Re: microRusEfi
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.
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 (334.03 KiB) Viewed 38516 times
-
- IMG_20200303_232446.jpg (275.94 KiB) Viewed 38516 times
-
- IMG_20200303_232417.jpg (234.85 KiB) Viewed 38516 times
-
- image.png (197.91 KiB) Viewed 38516 times
-
- image (1).png (100.05 KiB) Viewed 38516 times
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
-
- contributor
- Posts: 413
- Joined: Tue Jul 24, 2018 8:55 pm
- Github Username: Orchardperformance
- Slack: Orchardperformance
Re: microRusEfi
3d printing STL is attached.
- Attachments
-
- MRE end plate cut_.7z
- (43.04 KiB) Downloaded 473 times
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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 (2.85 MiB) Viewed 38453 times
-
- F01R00D072.jpg (2.46 MiB) Viewed 38453 times
-
- Dongfeng-Sokon-DFSK-M7-ECU.jpg_q50.jpg (47.47 KiB) Viewed 38453 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- contributor
- Posts: 413
- Joined: Tue Jul 24, 2018 8:55 pm
- Github Username: Orchardperformance
- Slack: Orchardperformance
Re: microRusEfi
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
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
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.
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 (567.26 KiB) Viewed 38378 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
Actually it could be that there are three or maybe four different stm32 LQFP-100 pinouts.DonaldBecker wrote: ↑Fri Dec 20, 2019 1:34 amCorrect. 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
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
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: microRusEfi
new eBay link https://www.ebay.com/itm/333532119947
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- contributor
- Posts: 413
- Joined: Tue Jul 24, 2018 8:55 pm
- Github Username: Orchardperformance
- Slack: Orchardperformance
Re: microRusEfi
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.
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 (190.98 KiB) Viewed 38092 times
-
- IMG_20200308_001947.jpg (220.07 KiB) Viewed 38092 times
-
- IMG_20200308_001135.jpg (219.35 KiB) Viewed 38092 times
-
- image (2).png (358.03 KiB) Viewed 38092 times
Now keeping MRE in stock in the UK - https://www.FutureProofPerformance.com