Search found 13 matches

by essess
Fri Feb 14, 2020 7:43 pm
Forum: Misc
Topic: FPGA in ECU
Replies: 43
Views: 21247

Re: FPGA in ECU

Tested on real work? Now I am faced with the task of connecting the microcontroller to the FPGA through an asynchronous interface. I’m afraid that I won’t be able to connect via wires and will have to make a printed circuit board. it is a pity that not many people are interested in fpga. I will con...
by essess
Wed Feb 12, 2020 11:10 am
Forum: Misc
Topic: FPGA in ECU
Replies: 43
Views: 21247

Re: FPGA in ECU

... But I read the main discussion thread and noticed that someone had already done the same thing on FPGA. ...
yes. I've done this: https://github.com/essess/agen

As with everyone else, I'll try to answer/help in anyway I can. It's been a while since I've worked on this.
by essess
Sat Jan 18, 2020 3:01 pm
Forum: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 72
Views: 21614

Re: [info] rusEfi Scheduler Performance & Accuracy

It's significantly more area and power required for not really any real performance benefit. The benefit it crank decoding and spark have virtually no lag and no meaningful distribution tail. Interrupts are the devil. But remember, if the timestamp is captured in hardware the interrupt can be prett...
by essess
Thu Jan 16, 2020 11:07 pm
Forum: Software
Topic: [info] rusEfi Scheduler Performance & Accuracy
Replies: 72
Views: 21614

Re: [info] rusEfi Scheduler Performance & Accuracy

If we had some kind of free-runnig multichannel timer that captures trigger events and generate output pulses using same counter - yes, this will be more precise. But stm does not have such advanced timers. May be it is possible by using timer synchronization. The stm32 can do a little bit of this,...
by essess
Sat Jan 11, 2020 3:14 pm
Forum: Misc
Topic: FPGA in ECU
Replies: 43
Views: 21247

Re: FPGA in ECU

Looks like MicroSemi's SmartFusion2 has an hard ARM, FPGA, AEQ cert, and many desirable features. The below flying lead chip costs about $18 and has inventory at Digikey. Don't get sidetracked with soft/hardcores unless you're considering ditching the F4. I think it would be a mistake to ditch the ...
by essess
Sat Jan 11, 2020 3:04 pm
Forum: Misc
Topic: FPGA in ECU
Replies: 43
Views: 21247

Re: FPGA in ECU

It's easiest to not try to think of the FPGA running the whole engine. Try to think of the FPGA instead as a box in which you can build any magical timer peripheral that you could theoretically have inside the MCU. At the very least, you could move our scheduling priority queue to hardware. Over an...
by essess
Fri Jan 10, 2020 11:00 pm
Forum: Misc
Topic: FPGA in ECU
Replies: 43
Views: 21247

Re: FPGA in ECU

Speaking of OT, should we break the FPGA talk into a different thread? here we are. Angle clock? I'm not following this. Do you mean an angle register that ticks between 0 and 3599? Then the software sets a 5mS injector timer to go off when the clock angle is something like 1800. When you say clock...
by essess
Fri Jan 10, 2020 9:32 pm
Forum: Misc
Topic: Is stm32f4 the right chip?
Replies: 137
Views: 53056

Re: Is stm32f4 the right chip?

Long time no speak. Good to hear from you. Hmmmm, Gods work you say. ARM+FPGA --> Jesus ECU? yaaaas! I'm not one for religion, but those were the best words I could come up with. You guys just keep chipping away and keeping it free for others. That's fricken god's work right there --- we need more ...
by essess
Fri Jan 10, 2020 2:16 pm
Forum: Misc
Topic: Is stm32f4 the right chip?
Replies: 137
Views: 53056

Re: Is stm32f4 the right chip?

Hi guys - I heard you're considering ARM+FPGA? Maybe this can be some inspiration: https://github.com/essess/agen I think it's a great idea, and the way forward. I too tried the 570 and it led to this 'interpretation of the HWAG' (which was undocumented at the time). You may also want to look into t...
by essess
Fri Aug 11, 2017 5:35 pm
Forum: Hardware
Topic: stm32 LQFP48
Replies: 21
Views: 10036

Re: stm32 LQFP48

You can't use USB and CAN at the same time on the F1.
I was wondering if someone was going to bring this up. It's also mentioned in the datasheet. Some F1 parts allow it, but not the 103's.

Start with this and just do your own firmware if what he supplies is unacceptable.
by essess
Fri Aug 11, 2017 12:15 pm
Forum: Hello World
Topic: Yo!
Replies: 6
Views: 1592

Re: Yo!

eTPU is obsolete and everyone seems to be moving to GTM (Bosch IP) . If the eTPU compiler was free (or there was a free assembler like the previous TPU generation), I wouldn't mind investing the time to become proficient. I'd really like to adapt to the 570 instead of the 56xx. My ultimate preferenc...
by essess
Fri Aug 11, 2017 1:23 am
Forum: Hello World
Topic: Yo!
Replies: 6
Views: 1592

Re: Yo!

No project. Just a platform 're-eval' of o5e. ARM is the future. I was interested in doing decode/fuel&spark scheduling with the HET since the assembler is free. The 570 is lockstep (we use it at work for an automotive controller prototype) -- but my problem was simply not enough HET horsepower to a...
by essess
Thu Aug 10, 2017 7:23 pm
Forum: Hello World
Topic: Yo!
Replies: 6
Views: 1592

Yo!

Hello!

I'm a long time lurker of many diyefi forums (libre/free/o5e). I recently tried using TI's 570 to get access to the HET. I don't think it'll work and I'm frustrated. I'm going to lurk here for a bit and see how you're able to pull off all this great work with a commodity microcontroller.