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

esp32s3 (maybe others) missing dedicated gpio? #183

Closed
yanshay opened this issue Jan 1, 2024 · 3 comments
Closed

esp32s3 (maybe others) missing dedicated gpio? #183

yanshay opened this issue Jan 1, 2024 · 3 comments
Labels
peripherals Something is wrong with one or more

Comments

@yanshay
Copy link

yanshay commented Jan 1, 2024

I can't find the DEDICATED_GPIO in esp32s3 while in espressif docs (https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/dedic_gpio.html) this functionality is avaliable in that model.

It is available in esp32s2.

Is it missing for a reason?

@jessebraham
Copy link
Member

Maybe I'm missing something, but as far as I can tell there are no actual registers for this peripheral? The header file linked in the documentation you shared isn't even in the soc component of ESP-IDF, which has been the case for all other peripherals as far as I can recall.

Is there something specific missing that you're looking for?

@jessebraham jessebraham added the peripherals Something is wrong with one or more label Jan 2, 2024
@yanshay
Copy link
Author

yanshay commented Jan 2, 2024

After searching some more, it seems like they provide that functionality but not using registers but rather through specialized cpu instructions:
https://www.esp32.com/viewtopic.php?t=27857

That probably means that esp-pacs is not the place to expect that to be, right?

@jessebraham
Copy link
Member

Yeah from the sounds of that we will need some driver code in another package somewhere, whether that's esp-hal or somewhere else. The scope of the PACs is really just to provide register access and enumerate the peripheral interrupts, so not really anything to do here.

Thanks for opening the issue regardless, though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
peripherals Something is wrong with one or more
Projects
Archived in project
Development

No branches or pull requests

2 participants