migrate to esp32-p4

It's all about the code!
Post Reply
savenlid
Posts: 2
Joined: Fri Oct 31, 2025 12:43 pm
Github Username: savenlid

migrate to esp32-p4

Post by savenlid »

I know you will think this is crazy.

But.....

I plan to migrate into esp32-p4 and freertos ( esp idf environment )
Possibly add a small fpga for some front-end off-loading.

USB, Web-HMI, Ethernet, wifi, and native lcd display support.
Lots of memory and internal disk on flash.


Working on it.

Will be some major rewrites along the way, I plan in introducing some game-changers never seen before.
User avatar
AndreyB
Site Admin
Posts: 14771
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: migrate to esp32-p4

Post by AndreyB »

savenlid wrote:
Fri Oct 31, 2025 12:49 pm
I know you will think this is crazy.
it's not crazy, it's more like unjustified

Please consider the https://xyproblem.info/ approach
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: 3779
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: migrate to esp32-p4

Post by kb1gtt »

What feature would be added by esp32? Cheaper, faster, more robust? I'm not sure I'm understanding what features would be added. FPGA might allow more accurate crank decode or less jitter. However those don't seem to be a problem currently.

Many STM32's have a 10+ year mfg guarantee. That's handy as you can plan that you won't be doing major overhauling for years to come. Instead strained resources can focus on new development.
Welcome to the friendlier side of internet crazy :)
savenlid
Posts: 2
Joined: Fri Oct 31, 2025 12:43 pm
Github Username: savenlid

Re: migrate to esp32-p4

Post by savenlid »

I want more memory, running web.servers, getting USB OTG, having USB that can toggle freely between host/slave.

Also I have invested time into P4 :-)
Freertos.

I am not asking for anyone to help, me I understand you rather not change a cpu, and I never asked for that.

But my personally i would rather use a more modern processor, that can drive a display , run a web-server and have internal disk, run a console for commands, etc,
User avatar
mpgmike
Posts: 98
Joined: Thu Aug 15, 2024 2:49 pm
Location: Oklahoma, USA

Re: migrate to esp32-p4

Post by mpgmike »

I empathize with your goals. Personally, I use Microchip processors exclusively for my projects; mostly the PIC line. Seeing older processors still being used frustrates me. Since I'm familiar with the Microchip PIC offerings, I have in the past updated someone else's (freely shared) project with a newer, more capable processor. However, when it comes to the rusEFI line, I know nothing about the ST processors. Therefore, here I'm just a user. Good luck with it, though.
'95 Jeep Grand Cherokee, 4.6 Stroker
User avatar
Dron_Gus
contributor
contributor
Posts: 491
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: migrate to esp32-p4

Post by Dron_Gus »

Why to run web server and real-time applications on the same cpu?
Why connecting display directly to ecu? We have open source dashboard that perfectly interact with rusefi over 2 wires of robust can bus. Esp32 can drive only parallel bus to display. This is 10+ wires of low noise immunity parallel interface.
Why do you need usb host? BTW stm32f4/7 has two usb interfaces. One can be used as host.
And esp is definitely not a more modern processor. It is more specialized.
Post Reply