Does ESP32S3 have two 8 bit DACs?

djixon
Posts: 113
Joined: Sun Oct 01, 2023 7:48 pm

Does ESP32S3 have two 8 bit DACs?

Postby djixon » Fri Nov 17, 2023 10:21 pm

There is no mention about DAC(s) in the latest TRM for ESP32S3 except in a table where IO_MUX registers are counted IO_MUX_GPIO17_REG and IO_MUX_GPIO18_REG. However, there is no function for DAC(s) in IO_MUX table pin functions. So obviously it is an error. How should I know what to populate into bitfield IO_MUX_MCU_SEL of those registers, when there is no function mentioned in the table. Is there any example of such a trivial thing as writing an 8 bit value in DAC_REG and getting corresponding analog voltage at some output pad?

MicroController
Posts: 1553
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Does ESP32S3 have two 8 bit DACs?

Postby MicroController » Sat Nov 18, 2023 7:51 pm

djixon wrote:
Fri Nov 17, 2023 10:21 pm
There is no mention about DAC(s) in the latest TRM for ESP32S3 except in a table where IO_MUX registers are counted IO_MUX_GPIO17_REG and IO_MUX_GPIO18_REG. However, there is no function for DAC(s) in IO_MUX table pin functions. So obviously it is an error.
Not sure if that's actually an error. Might just be some misunderstanding about what DAC should mean in that context or some relation to the I2S.
Is there any example of such a trivial thing as writing an 8 bit value in DAC_REG and getting corresponding analog voltage at some output pad?
I doubt it: https://esp32.com/viewtopic.php?t=22740#p82152
But you can use PWM or the I2S's PDM...

djixon
Posts: 113
Joined: Sun Oct 01, 2023 7:48 pm

Re: Does ESP32S3 have two 8 bit DACs?

Postby djixon » Sat Nov 18, 2023 9:36 pm

It looks that two 8 bits DACs are removed from ESP32S3 .... anyway, I will redesign part of my circuit to use PWM instead, however info that DA converters are not presented anymore should be placed in documentation

MicroController
Posts: 1553
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Does ESP32S3 have two 8 bit DACs?

Postby MicroController » Sat Nov 18, 2023 11:23 pm

It looks that two 8 bits DACs are removed from ESP32S3
If by "removed" you mean there never were "8 bit DACs" in the S3 and no-one ever claimed there would be, then yes, they were "removed".

If only there was some sort of "product selector" page on the internet where people could select the features they need and it would tell them which chips are available with this set of features before they decide what to build their design on...

Who is online

Users browsing this forum: No registered users and 59 guests