OVMS3-idf/examples/peripherals/i2s
Tuan PM 9d39881981 i2s: add support apll clock
using apll_param to setup APLL

new apll calculation method, much faster

validate freq calculation

Ensure that the i2s frequency is greater than the hardware limit

Add description of how to calculate apll clock, support apll for other 16-bits audio, check rev0 chip

correct space
2017-10-06 15:36:24 +07:00
..
main i2s: add support apll clock 2017-10-06 15:36:24 +07:00
Makefile Moved examples to new folders / categories. Removed example numbers from example names 2017-01-16 23:08:35 +01:00
README.md I2S: fixed support for 24 and 32-bits, fixed tx/rx at the same time and others in log: 2017-04-27 10:00:10 +07:00

I2S Example

This example shows:

Init and using I2S module:

  • Generate 100Hz triangle wave in a channel, and sine wave in another, with 36Khz sample rates. Change bits per sample every 5 seconds

  • You can change bits per sample and sample rates with i2s_set_clk