and also looking at the SSC.c but finding it hard to understand.
I am trying to get another inturupt driven function on the DUE to sync with this
driver. ( prevent functions begin run at the same time )
Also at what point on this timer in milli's would be the best time to try to anything and how many micro seconds do we have before another I2S inturrupt? if I have 48000 samples per second flying into a circular buffer I have written I guess there is much time to do anything else ?
sorry if this quesiton is simplistic , I am new to using timers.
Hi , does anyone know which timer / ISR this library is using and how I could use it to trigger and event in between that wont interfere with I2S SSC.
I have tried
if (channel != HIFI_CHANNEL_ID_1) { DoAnotherFunction() }
but there should be better way to time things with the SSC timer ?
I'm looking though the http://asf.atmel.com/docs/latest/sam.drivers.ssc.unit_tests.sam3x_ek/html/group__sam__drivers__ssc__group.html#ga8a68bfe46c95c426ef07be3ca618a54b
and also looking at the SSC.c but finding it hard to understand.
I am trying to get another inturupt driven function on the DUE to sync with this driver. ( prevent functions begin run at the same time )
Also at what point on this timer in milli's would be the best time to try to anything and how many micro seconds do we have before another I2S inturrupt? if I have 48000 samples per second flying into a circular buffer I have written I guess there is much time to do anything else ?
sorry if this quesiton is simplistic , I am new to using timers.