Skip to content

How works the configuration of the config files? #198

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

Open
cicciocb opened this issue Aug 4, 2024 · 6 comments
Open

How works the configuration of the config files? #198

cicciocb opened this issue Aug 4, 2024 · 6 comments

Comments

@cicciocb
Copy link

cicciocb commented Aug 4, 2024

Sorry for that, it seems a very simple question but how implement the speed of the flash and the psram at 120MHZ?

I tried to modify the existing defconfig.esp32s3 file but the generation is always the same.

Should I change the build.json file?

@Jason2866
Copy link
Contributor

It depends, for which MCU?

@cicciocb
Copy link
Author

cicciocb commented Aug 9, 2024

It depends, for which MCU?

Thanks for your answer.
Is for the ESP32-S3

@Jason2866
Copy link
Contributor

Jason2866 commented Aug 9, 2024

SPIRAM 120Mhz is already implemented and useable. Flash speed of 120Mhz is an experimental feature not implemented in the builder. It needs a board with verified working 120Mhz flash chips. Will end in crash when trying with boards widely available and sold.

To get the needed settings do a simple "Hello World" with native IDF select S3 and enable experimental features. Now you see the new options for 120Mhz. Do your settings you want.
Extract the needed settings from the sdkconfig file and add them in the corresponding configs add an new extra entry in builds.json

I did this and tried and ended in crashes (no 120Mhz flash). Deleted the changes in Arduino Lib Builder, so I don't remember exactly what changed.

@cicciocb
Copy link
Author

cicciocb commented Aug 9, 2024

SPIRAM 120Mhz is already implemented and useable. Flash speed of 120Mhz is an experimental feature not implemented in the builder. It needs a board with verified working 120Mhz flash chips. Will end in crash when trying with boards widely available and sold.

To get the needed settings do a simple "Hello World" with native IDF select S3 and enable experimental features. Now you see the new options for 120Mhz. Do your settings you want. Extract the needed settings from the sdkconfig file and add them in the corresponding configs add an new extra entry in builds.json

I did this and tried and ended in crashes (no 120Mhz flash). Deleted the changes in Arduino Lib Builder, so I don't remember exactly what changed.

In fact using the Arduino 3.0.4, even setting the Flash at 120MHz I cannot see any changes in terms of performances. As the flash and the PSRAM can also work in SDR or DDR, it becomes very complicate to understand how they are working.
As per my understanding there are no functions available to receive this information.

Anyway thanks, I'll check before using IDF as you suggested.

@Jason2866
Copy link
Contributor

In fact using the Arduino 3.0.4, even setting the Flash at 120MHz I cannot see any changes in terms of performances. As the flash and the PSRAM can also work in SDR or DDR, it becomes very complicate to understand how they are working.
As per my understanding there are no functions available to receive this information.

The speed change is probably only visible when using an oscilloscope 😄

@cicciocb
Copy link
Author

cicciocb commented Aug 9, 2024

The speed change is probably only visible when using an oscilloscope 😄

If is only visible with the scope this means that there is no interest at all :-)

Anyway, I have a scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants