PNP ECU for Vw/Audi ME7 #51

Hardware inside and outside of the ECU
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

PNP ECU for Vw/Audi ME7 #51

Post by 960 »

Time to introduce the project.

It's a PNP Ecu made for all ME 7.1 and ME 7.5 cars.

It has:

2x TLE7209 H-bridge drivers for E-Throttle
2x CJ125 LSU Drivers
2x L9651 Injector Drivers, 8 x 2.2 A outputs
10x Digital IO
16x Analog Inputs
22x Low Side outputs in addition to the injector drivers
TLE8888-1QK For Power supply and rest of the outputs
STM32F767 MCU
Attachments
secret_red_board.JPG
secret_red_board.JPG (1.4 MiB) Viewed 23326 times
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: PNP ECU for Vw/Audi ME7

Post by Dron_Gus »

Looks like this project has a lot of HW engineers and leaks of programmers.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: PNP ECU for Vw/Audi ME7

Post by kb1gtt »

The STM32F767 is a new chip for rusEFI. I understand it's currently blinking a LED, which is a huge first step. Porting the the existing rusEFI software is underway. As well this chip offers several diagnostics features via the SPI, so lots of new software will be beneficial for this PCB.
Welcome to the friendlier side of internet crazy :)
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

Dron_Gus wrote:
Mon Feb 25, 2019 8:31 am
Looks like this project has a lot of HW engineers and leaks of programmers.
Well, that's how it's usually done.

Hardware needs to be in place before programming.
puff
contributor
contributor
Posts: 2961
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: PNP ECU for Vw/Audi ME7

Post by puff »

Developing and debugging such complex software and enhancing its functionality requires a lot of effort and leaves much more room for mistakes and errors, which might be sort of discouraging (when diving in some projects people usually have certain expectations about the expected outcomes, and if they are not sure about the future results, they usually tend not to step up to such endeavours.

On the contrary, since it's not a GHz-domain project, with no RF technologies involved, building HW for it is probably not that difficult, once you are aware of and comply with the well-defined good pcb design practices.

All this, as well as the the obvious need for highly customizable aftermarket PnP ECUs lead to the current proliferation of various PCB designs (there seem to be six or seven independent designs based on rusefi firmware that have been launched over the past couple of years).

Back to the topic. What are the model years that used those ME ecus? Seems those newer engines have much higher requirements in terms of the quality of control and are prone to any slightest mistakes in tuning, compared to older engines. I could be wrong though.
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

960 wrote:
Mon Feb 25, 2019 7:43 am
STM32F767 MCU
Did you get it to blink status LED with STM32F767 or any other chip?
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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

russian wrote:
Mon Feb 25, 2019 4:58 pm
960 wrote:
Mon Feb 25, 2019 7:43 am
STM32F767 MCU
Did you get it to blink status LED with STM32F767 or any other chip?
I have one with a F4 that most is working.

But I had to order new pcb's cause of the lack of mask between pads.

It's impossible to get right as it is.

I think a F7 will work when that is resolved.
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

russian wrote:
Mon Feb 25, 2019 4:58 pm
960 wrote:
Mon Feb 25, 2019 7:43 am
STM32F767 MCU
Did you get it to blink status LED with STM32F767 or any other chip?
I have a F767 soldered properly, but still the same as last time.

No led blinking, just a weak constant light.

Both SWD and DFU working.

Do you have any idea?
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

What is the exact part number of stm32f4 which has worked and what is the exact part number of stm32f7 which does not work?
How sure are you about pin compatibility between these two chips?
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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

russian wrote:
Fri Mar 01, 2019 6:29 pm
What is the exact part number of stm32f4 which has worked and what is the exact part number of stm32f7 which does not work?
How sure are you about pin compatibility between these two chips?
STM32F407ZGT7

STM32F767ZIT6

I recall comparing the datasheets, but maybe it needs another look.
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

960 wrote:
Fri Mar 01, 2019 6:33 pm
STM32F407ZGT7

STM32F767ZIT6
Pins 95 and 121 show minor differences, no idea if this is important, You probably want to look into pins 95 and 121 and confirm that these differences are important or not?
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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

960 wrote:
Fri Mar 01, 2019 6:33 pm
STM32F767ZIT6
Since you have SWD working you need to start debugging the firmware - you shall run openocd and gdb and start stepping over the code and see how far it goes within the firmware. Let me know if you want me to help you set openocd via teamviewer - please install teamviewer and we would need some channel for audio. google hangouts or skype or whatsapp or viber.
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

Since 960 is not posting :)
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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

A little update:

The F767 are working fine, and a lot have been sorted out.

For the TLE8888, the outputs are still not working as they need SPI.

Boards are sent off to russian and arrives today, so I guess it's up and running soon :-)

russian will probably post some updates and pictures here as well.
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

I have the boards and @ has just moved the software forward under https://github.com/rusefi/rusefi/pull/733

Dear Santa, please give me a stereo microscope and 10 extra hours of life every week.

On the picture we see @'s sniffing setup
Attachments
hw_sniffing.JPG
hw_sniffing.JPG (4.58 MiB) Viewed 22987 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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

I just donated $50.

If you all donate a little, russian soon have his microscope :-)
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

960 wrote:
Thu Apr 04, 2019 9:48 pm
If you all donate a little, russian soon have his microscope :-)
Thank you!

If you all donate a lot, @ simply retires :)
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
ZHoob2004
contributor
contributor
Posts: 153
Joined: Sun Apr 03, 2016 7:11 pm
Location: Tucson, AZ

Re: PNP ECU for Vw/Audi ME7

Post by ZHoob2004 »

russian wrote:
Thu Apr 04, 2019 10:43 pm
If you all donate a lot, @ simply retires :)
Dangle the carrot just far enough...
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

russian wrote:
Thu Apr 04, 2019 10:43 pm
960 wrote:
Thu Apr 04, 2019 9:48 pm
If you all donate a little, russian soon have his microscope :-)
Thank you!

If you all donate a lot, @ simply retires :)
That would be the absolute best, but open source usually dont make people rich :-)

Come on folks, we now just need 135$ to reach the goal:)

Post donations here!

#microscopeforrussian
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

960 wrote:
Mon Feb 25, 2019 7:43 am
2x TLE7209 H-bridge drivers for E-Throttle
16x Analog Inputs
TLE8888-1QK For Power supply and rest of the outputs
Do you use any op-amps on analog inputs - which part number do you use?
Do you have half-bridges wired? Do you expect TLE8888 itself to be able to drive one or two E-Throttles?
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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

russian wrote:
Sun Apr 07, 2019 2:47 pm
960 wrote:
Mon Feb 25, 2019 7:43 am
2x TLE7209 H-bridge drivers for E-Throttle
16x Analog Inputs
TLE8888-1QK For Power supply and rest of the outputs
Do you use any op-amps on analog inputs - which part number do you use?
Do you have half-bridges wired? Do you expect TLE8888 itself to be able to drive one or two E-Throttles?
The analog inputs only have voltage dividers.
I did not have the right ones then, but the part numbers are YC324-JK-0710KL and 744C083153JP.
4 of each.

The Arrays for digital inputs are missing as well, they are 744C083222JP and
744C083333JP

The TLE7209 H-Bridges are connected directly to the MCU.
Wont it work?
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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

960 wrote:
Sun Apr 07, 2019 2:54 pm
The TLE7209 H-Bridges are connected directly to the MCU.
Wont it work?
Do not know. My question was if we expect TLE8888 to work as well or not.
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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

russian wrote:
Sun Apr 07, 2019 4:20 pm
960 wrote:
Sun Apr 07, 2019 2:54 pm
The TLE7209 H-Bridges are connected directly to the MCU.
Wont it work?
Do not know. My question was if we expect TLE8888 to work as well or not.
It shoud be able to, but I dont know how easy it is to implement.

I have not connected them to anything.

I spoke to a guy at Infineon a time ago, and he claimed it was used for GDI engines as well
I recall he mentioned something about IGBT's.
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

Tested in car today, but got no trigger signal.

I am not sure about the trigger setup.

How do you usually set up crank sensor?

I used 4 5K Resistors in series and one 5K in paralell.

No pull-up or pull down, but I have footprints for it.

This is the original setup:
Trigger_OEM.jpg
Trigger_OEM.jpg (404.87 KiB) Viewed 22788 times
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

This is the internal circuit in TLE8888:
TLE8888_Trigger.jpg
TLE8888_Trigger.jpg (283.57 KiB) Viewed 22784 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: PNP ECU for Vw/Audi ME7

Post by AndreyB »

did you assemble your frankenso max circuit?

with VR on frankenso one side is usually pulled down to GND
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
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

russian wrote:
Wed Apr 10, 2019 8:47 pm
did you assemble your frankenso max circuit?

with VR on frankenso one side is usually pulled down to GND
I have not found any info on it yet.

I have this circuit for the trigger.

I see the frankeso have both resistors on positive side. Do you use pull-down at positive?
ME7_PNP_Trigger.jpg
ME7_PNP_Trigger.jpg (617.1 KiB) Viewed 22775 times
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: PNP ECU for Vw/Audi ME7

Post by 960 »

It does not count if i try triggering with 1.5V, not 5V, but if I touch wire to 12V it counts.


EDIT: Just removed the Cap across, and now it counts with a 1.5v battery :-)
Post Reply