Value sent to the device for volume +22.5dB is wrong.
Code sends 0x06 when it should be 0x05. Result is that the device goes mute (as 0x06 is an invalid value).
Valid volume values are (badly) described in the User manual of the chip.
Fix is in src/audio_driver/es7243/es7243.c , l.171
ret |= es7243_write_reg(0x08, 0x06); //22.5db
becomes
ret |= es7243_write_reg(0x08, 0x05); //22.5db
Device Description
Custom
Sketch
-
Other Steps to Reproduce
Setting the volume on ES7243 with es7243_adc_set_voice_volume(60) will result in no sound instead of sound with gain of 22.5dB.
Provide your Version of the EP32 Arduino Core
nothing to do with Arduino Core
I have checked existing issues, discussions and online documentation
[X] I confirm I have checked existing issues, discussions and online documentation
Problem Description
Value sent to the device for volume +22.5dB is wrong. Code sends 0x06 when it should be 0x05. Result is that the device goes mute (as 0x06 is an invalid value). Valid volume values are (badly) described in the User manual of the chip.
Fix is in src/audio_driver/es7243/es7243.c , l.171
ret |= es7243_write_reg(0x08, 0x06); //22.5db
becomesret |= es7243_write_reg(0x08, 0x05); //22.5db
Device Description
Custom
Sketch
Other Steps to Reproduce
Setting the volume on ES7243 with es7243_adc_set_voice_volume(60) will result in no sound instead of sound with gain of 22.5dB.
Provide your Version of the EP32 Arduino Core
nothing to do with Arduino Core
I have checked existing issues, discussions and online documentation