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-C2] Are reported flash frequencies correct for ESP32-C2? (ESPTOOL-778) #937

Closed
TD-er opened this issue Dec 5, 2023 · 2 comments
Closed

Comments

@TD-er
Copy link

TD-er commented Dec 5, 2023

Operating System

Windows 11

Esptool Version

latest

Python Version

Python 3.11.4

Full Esptool Command Line that Was Run

No response

Esptool Output

No response

What is the Expected Behaviour?

Recently I added this PR to Arduino/ESP32 repo, which uses the frequencies in esptool.py for the Arduino function magicFlashChipSpeed()

However on further inspection, I notice the SPI bus frequency of the ESP32-C2 is running at 40 MHz, even though I have set the flash frequency to 60 MHz in the board definition and use esptool.py to flash.

See this issue about my concerns regarding the APB/SPI bus frequency.

This makes me wonder if the frequencies mentioned in esptool for the ESP32-C2 are correct.

More Information

No response

Other Steps to Reproduce

No response

@TD-er TD-er added the Type: Bug label Dec 5, 2023
@github-actions github-actions bot changed the title [ESP32-C2] Are reported flash frequencies correct for ESP32-C2? [ESP32-C2] Are reported flash frequencies correct for ESP32-C2? (ESPTOOL-778) Dec 5, 2023
@radimkarnis
Copy link
Collaborator

Hello @TD-er,
in your recent discoveries, you mention the actual measured frequency is indeed 60 mHz.

Is this issue ticket still relevant? If it is, I will need to check with more developers to be sure.

@TD-er
Copy link
Author

TD-er commented Dec 7, 2023

Well from an esptool perspective, this no longer seems relevant.
But if you know something to help me find the correct way to read/detect in software the actual registers where the flash freq. can be read or used to compute the actual flash freq. then I would be very interested.

@TD-er TD-er closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants