The original block diagram released in January had one
Are there plans to add any DAC functionality before release?
Oh that's sad to hearESP_krzychb
That's a bummer. Are you going to provide something else instead of the DAC? I wanted to use it as embedded audio, or we are left with an external DAC and I2S?Hi sere_dev and dmaxben,
The upcoming ESP32-S3 does not have DAC1 and DAC2 peripherals.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}Thanks Jeroen!I2S will have a PDM option; this is more-or-less the same idea as PWM but better. You can effectively feed your audio into the I2S peripheral, have a RC-filter (or ideally a better one, but RC should be sufficient) on the output pins, then connect a speaker to that.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}It depends. PDM can work at pretty high frequencies, so depending on what you need, you may be able to get away with a simple sallen-key lowpass filter.And what if I just want to output a simple DC voltage (yes it needs to be purely DC, it cannot be an rectified oscillating voltage). That would mean using PWM and adding quite a high quality R-C-L filter which I'd rather avoid. Bummer!
Users browsing this forum: Baidu [Spider], ChatGPT-User, PerplexityBot, Qwantbot and 3 guests