Moderator: eriksl
eriksl wrote:The guys from Espressif are definitely no strangers to typo's . But what makes it interesting is that this function is also (by Espressif) used for other purposes than I2S. It seems to just set the system clock + division parameters. I might have a go sometime to just try some things and see what happens. If only we could monitor what the actual clock frequency is (+ I/O bus too), now I don't see another way than counting cycles of a busy loop against a "wall" clock.
Yeah it seems to be used for SPI, or at least the SLC stuff - the one thing it doesn't seem to ever be used for right now is i2c!!! LOL
I wonder if we can set the divisors to various values, measure the i2s bit clock and deduce it from there?
This may also help out:
http://ratzzo.net/index.php/posts/rom-i2c-readreg-dissection