Hi All,
I'm working on adding simple melodies (2-5 tones) to my app using the I2S module and i'm facing some problems:
How do i determine the tone?
Can i determine the duration of the tone?
How do i change the volume of the tone?
On the simple I2S example, when does the "data_handler" being called? what's the trigger?
My I2S configuration is:
MCK - 0.256 [MHz]
Ratio - 32 (=> LRCK - 8 [kHz])
Channels - Stereo
Sample width - 16 bit
And another thing: if i'm not changing the tx ptr at all (let it loop itself), what impact does the RXTXD.MAXCNT have? (assuming RXTXD.MAXCNT is larger than the tx.ptr actual size)
Thanks!
Guy