[info] Manhattan: TLE8888 breakout board

Hardware inside and outside of the ECU
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Manhattan: TLE8888 breakout board

Post by AndreyB »

TLE8888 is a lot of stuff together in one 100 pin package - power supply, low side drivers and configurable single channel VR.

There is also a reference design at the bottom of https://www.infineon.com/cms/en/product/automotive-system-ic/engine-management-ic/tle8888-1qk/

iBom https://rusefi.com/docs/ibom/TLE8888_Module_latest.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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

Would a LQFP-1000 universal board like allow us to start playing with this chip quickly? I know it would probably not be great since no gnd pad in the middle but would it be a start?

What external components would be needed to see power supply working for example? What about VR?
Attachments
s-l1600.jpg
s-l1600.jpg (336.42 KiB) Viewed 20703 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
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: TLE8888 breakout board

Post by kb1gtt »

The thermal slug is likely important. AKA needs to say cold. This one might work, but you should keep an eye on the slug. The 100 is the smallest on this board, so the slug will likely work. On the 176, I would be concerned that the chips slug would bridge some of the pins.
https://www.ebay.ca/itm/2-TQFP-EQFP-LQFP-176-100-Pin-0-5mm-to-DIP-Adapter-PCB-Board-Converter-Gold-B90/282319634009
Attachments
lqfp-100-proto-board.JPG
lqfp-100-proto-board.JPG (68.88 KiB) Viewed 20691 times
Welcome to the friendlier side of internet crazy :)
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: TLE8888 breakout board

Post by 960 »

I dont have a breakout, but have made a full PCB with this IC.

Infineon provided schematics for it.
Attachments
TLE8888-1QK.jpg
TLE8888-1QK.jpg (117.9 KiB) Viewed 20681 times
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

@ that's a cool picture, do you want to start a separate thread about your board?
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: TLE8888 breakout board

Post by 960 »

russian wrote:
Fri Jan 25, 2019 3:28 pm
@ that's a cool picture, do you want to start a separate thread about your board?
Still some work left, so I'll see.

But do you understand the SPI/MSC communication stuff in the datasheet?

As not all of the outputs are paralell I am not sure if we can use them.
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

Two chips (with and without watchdog) are on the way to a secret Carteret assembly facility. No longer mouser has a nice "1000" in stock :)

PS: here is the link to see current stock - https://www.mouser.com/Search/Refine?Keyword=tle8888

Would be fun to check this in a month and in 6 month to see if we see 999 or else.
Attachments
TLE8888_order.png
TLE8888_order.png (136.03 KiB) Viewed 20639 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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

960 wrote:
Fri Jan 25, 2019 8:24 pm
Still some work left, so I'll see.
How about now?
Attachments
secret_red_board.JPG
secret_red_board.JPG (1.4 MiB) Viewed 20544 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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

TLE8888 needs a OE command to enable parallel pins? That's a bit unusual but I guess they had their reasons.
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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

Well, someone has purchased some of these sweet TLE8888 :)

We only need to send a couple of bytes via SPI to enable output channels. https://github.com/rusefi/rusefi/issues/714 first steps https://github.com/rusefi/rusefi/commit/c9b022d5628d511ae9128798f51328ec56578044
Attachments
chrome_aQn0UShfca.png
chrome_aQn0UShfca.png (45.57 KiB) Viewed 20426 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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

By some miracle CMD_OE could be working. Zero testing and did not check what SPI speed is supposed to be, but worth at least a try.

Also something weird - my TS does not show "tle8888 CS pin mode" control between "tle8888 CS pin" and "tle8888 SPI" while the project seem to have it?
Attachments
javaw_QtSl6WiaYG.png
javaw_QtSl6WiaYG.png (58.07 KiB) Viewed 20414 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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

Current status: no low-side control so far :(

I have OUTPUT2 wired as low side of an LED, I have INP2/PC6 set as injector and self-stimulation toggling that INP2 all the time. No life on the LED.


At the moment I can only sniff PB3 wire since it's both SWO and SPI1 SCK - at least I see SCK on the logic analyzer.

I have some debug data points

Code: Select all

		tsOutputChannels.debugIntField1++;
		tsOutputChannels.debugIntField2 = tx;
		tsOutputChannels.debugIntField3 = rxb;
total 15 SPI commands sent.

Last command 0x239
Last response 0x240
Attachments
TLE8888_SCK.png
TLE8888_SCK.png (36.02 KiB) Viewed 20344 times
java_RtucjoukhW.png
java_RtucjoukhW.png (62.73 KiB) Viewed 20344 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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

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
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: TLE8888 breakout board

Post by kb1gtt »

Some good stuff for sure.
Welcome to the friendlier side of internet crazy :)
960
contributor
contributor
Posts: 336
Joined: Mon Dec 10, 2018 1:22 am
Location: Norway

Re: TLE8888 breakout board

Post by 960 »

I placed all needed components for a 4 cylinder just to see how compact/few components it get.

It's got
14 Analog
8 Digital
E-Throttle
CAN, VR etc
60 Pin TE AMP Superseal
70 x 60 mm

Add a TLE8110ED, and it's enough for 8 cylinder :-)
Front_CU.jpg
Front_CU.jpg (118.56 KiB) Viewed 20267 times
Back_CU.jpg
Back_CU.jpg (122.74 KiB) Viewed 20267 times
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

dron_gus has just made some changes and

Code: Select all

boardConfiguration->fuelPumpPin = TLE8888_PIN_20;
actually blinks the LED now :)
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: TLE8888 breakout board

Post by 960 »

russian wrote:
Sun Apr 14, 2019 12:21 pm
dron_gus has just made some changes and

Code: Select all

boardConfiguration->fuelPumpPin = TLE8888_PIN_20;
actually blinks the LED now :)
Great news! :-)

Does E-Throttle work also?
Do you see any difference in performance compared to your old H-Bridge?
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

my understanding was that the video above shows working tle7209
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: TLE8888 breakout board

Post by 960 »

russian wrote:
Sun Apr 14, 2019 4:25 pm
my understanding was that the video above shows working tle7209
Yes, I saw it's working.

I meant the setup/settings for it to work correctly in vehicle.

I haven't tried it in car yet, does it work like expected? and how do I calibrate it?
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

960 wrote:
Sun Apr 14, 2019 8:10 pm
I haven't tried it in car yet, does it work like expected? and how do I calibrate it?
Let's continue this at https://rusefi.com/forum/viewtopic.php?f=5&t=592 I suggest making a bench setup with real throttle body
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: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

We are still working on enabling TLE8888 in the default firmware - it is still affecting integration test negatively :( See https://github.com/rusefi/rusefi/issues/764

I was travelling this week but on the way to the airport now to catch my flight home so I will have access to hardware again.
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: TLE8888 breakout board

Post by 960 »

russian wrote:
Sun Apr 14, 2019 12:21 pm
dron_gus has just made some changes and

Code: Select all

boardConfiguration->fuelPumpPin = TLE8888_PIN_20;
actually blinks the LED now :)
Do you have a copy of firmware from this stage?
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

please try current version just define 8888 count to 1. i believe there is a good chance it would work.

i am still working on enabling 8888 in default firmware
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: TLE8888 breakout board

Post by 960 »

russian wrote:
Sat Apr 20, 2019 12:53 pm
please try current version just define 8888 count to 1. i believe there is a good chance it would work.

i am still working on enabling 8888 in default firmware
Yes, some issues, but enough to do some in vehicle testing.

Just found the trigger issue/solution.

When changing this in board.h (PA5) it works fine:

PIN_MODE_INPUT(GPIOA_SPC) | \ origin: PIN_MODE_ALTERNATE

PIN_OSPEED_HIGH(GPIOA_SPC) | \

PIN_PUPDR_PULLUP(GPIOA_SPC) | \ origin: PIN_PUPDR_FLOATING
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

960 wrote:
Sat Apr 20, 2019 2:10 pm
Just found the trigger issue/solution.
Thank you for the defect report! A big change was done in this area and it looks like default rusEfi is currently completely FUBAR. Please continue this discussion at https://github.com/rusefi/rusefi/issues/767
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: TLE8888 breakout board

Post by 960 »

I am good at posting things in the wrong places :-)

Have everything up and running fine in vehicle today, ready to start, but just cant get any spark/ignition signal from the TLE8888.
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

breakout board starts to happen at https://github.com/rusefi/hw_modular/tree/master/TLE8888_Module thank you @!
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: TLE8888 breakout board

Post by 960 »

Latest revision:
TLE8888_Module_22mm.jpg
TLE8888_Module_22mm.jpg (168.18 KiB) Viewed 19934 times
TLE8888_Module_22mm_B.jpg
TLE8888_Module_22mm_B.jpg (168.56 KiB) Viewed 19936 times
User avatar
AndreyB
Site Admin
Posts: 14280
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TLE8888 breakout board

Post by AndreyB »

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

Re: TLE8888 breakout board

Post by 960 »

Great!! :-)

Have you tested them?
Post Reply