Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESP32] Detect single core 160 MHz ESP32-U4WD (Shelly Plus i4) #4020

Closed
TD-er opened this issue Apr 25, 2022 · 3 comments
Closed

[ESP32] Detect single core 160 MHz ESP32-U4WD (Shelly Plus i4) #4020

TD-er opened this issue Apr 25, 2022 · 3 comments
Labels
Category: Build Related to building/IDE/releases Type: Enhancement Improve something already present

Comments

@TD-er
Copy link
Member

TD-er commented Apr 25, 2022

The Shelly Plus i4 seems to be using the ESP32-U4WD
This one has 4MB embedded flash.
But on chip silicon from before 2021/12/02, this ESP32 only had 1 core running at max. 160 MHz.

See related forum thread

This chip is also used in ESP32 modules called: ESP32-MINI-1, ESP32-MINI-1U

@TD-er TD-er added Type: Enhancement Improve something already present Category: Build Related to building/IDE/releases labels Apr 25, 2022
@Jason2866
Copy link
Contributor

Jason2866 commented Apr 27, 2022

If i read the product change sheet from espressif correctly it does support 240 Mhz.
Anyways we use for Tasmota as standard 80 Mhz clock speed. All supported Tasmota Shelly devices with the single core ESP32 do run stable with our single core Arduino32 framework.
You can NOT use a standard usual Arduino framework for any single core ESP32.
So detecting is just a cosmetic thing. You have to flash always a single core firmware.
Many compiled Arduino libs are different when in IDF the (needed) setting single core is choosen.
https://github.com/arendst/Tasmota/blob/development/platformio_tasmota32.ini#L48-L52

@TD-er
Copy link
Member Author

TD-er commented Apr 27, 2022

@Jason2866 Thanks for the heads up.
That will probably save me a lot of trial and error.

About the 240 MHz... the strange thing is that the earlier revisions apparently did support only 160 MHz, but after the update it supports 240 MHz. (and dual core)

@tonhuisman
Copy link
Contributor

This seems to be solved, so can be closed.

@TD-er TD-er closed this as completed Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Build Related to building/IDE/releases Type: Enhancement Improve something already present
Projects
None yet
Development

No branches or pull requests

3 participants