IntegerDividByZero in i2s_std_set_clock (IDFGH-14952) #15659
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.5-dev-2657-g23c73cdc37
Espressif SoC revision.
ESP32-D0WDQ6 (revision v1.0)
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32S
Power Supply used.
USB
What is the expected behavior?
What is the actual behavior?
Guru Meditation Error: Core 0 panic'ed (IntegerDivideByZero). Exception was unhandled.
Steps to reproduce.
Do an
i2s_channel_init_std_mode
with a frequency below 4000?.Debug Logs.
Diagnostic report archive.
idf-diag-aa07af15-ebc9-4071-aac4-52f5ff4eb252.zip
More Information.
I have tracked it down to
i2s_std_set_clock
where the call toi2s_hal_set_tx_clock
setsret_mclk_div
's fieldsdenominator
andnumerator
to 0.The subsequent division by
(ret_mclk_div.integer * ret_mclk_div.denominator + ret_mclk_div.numerator)
then leads to a panic.The text was updated successfully, but these errors were encountered: