Skip to content

Timer #9

Description

@benbiles

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions