Skip to content

Conversation

P-R-O-C-H-Y
Copy link
Member

Summary

Changed fixed DAC pins which are different for ESP32S2 to predefined DAC pins from SOC.

Impact

None.

Related links

@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Feb 14, 2022
@VojtechBartoska VojtechBartoska added the Area: Peripherals API Relates to peripheral's APIs. label Feb 14, 2022
@VojtechBartoska VojtechBartoska added this to the 2.0.3 milestone Feb 14, 2022
@Jason2866
Copy link
Collaborator

Working with S3 too?

@P-R-O-C-H-Y
Copy link
Member Author

Working with S3 too?

S3 does not support DAC.

@Jason2866
Copy link
Collaborator

@P-R-O-C-H-Y
Copy link
Member Author

The S3 has 20 ADC channels working, but no DAC channel ;)

}
#endif
}
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while here, let's use the SOC defines te test wether DAC is supported and maybe how many channels

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOC define used now.
According to how many channels there are always 2 channels when supported.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not given that this will be true in the future. Why not have more?

@me-no-dev me-no-dev merged commit 01303b7 into espressif:master Feb 16, 2022
@P-R-O-C-H-Y P-R-O-C-H-Y deleted the ADC_esp32s2-fix branch April 19, 2023 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Peripherals API Relates to peripheral's APIs.

Projects

Development

Successfully merging this pull request may close these issues.

4 participants