Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Frank B

Search: Search took 0.01 seconds.

  1. Replies
    64
    Views
    4,163

    That's the same for two channels.

    That's the same for two channels.
  2. Replies
    64
    Views
    4,163

    Ah.. I see :)

    Ah.. I see :)
  3. Replies
    64
    Views
    4,163

    It looks like we need the bitclock only.

    It looks like we need the bitclock only.
  4. Replies
    64
    Views
    4,163

    Looks like it does not use mclk: //...

    Looks like it does not use mclk:



    // not using MCLK in slave mode - hope that's ok?
    //CORE_PIN23_CONFIG = 3; // AD_B1_09 ALT3=SAI1_MCLK
    CORE_PIN21_CONFIG = 3; // AD_B1_11 ...
  5. Replies
    64
    Views
    4,163

    You can look at the I2S slave-code to see how...

    You can look at the I2S slave-code to see how it's done.
  6. Replies
    64
    Views
    4,163

    If you'd use the SPDIF-Hardware instead of I2S it...

    If you'd use the SPDIF-Hardware instead of I2S it would be doable, i think. As said, I'm not sure if it possible to sync I2S and the SPDIF-device.. but chances are higher if both, in- and out use the...
  7. Replies
    64
    Views
    4,163

    as said, feed mclk to the teensy. Not sure,...

    as said, feed mclk to the teensy.
    Not sure, should be in the register manual somewhere - it might be possible to use the SPDI-IN as clocksource, too(?)
    I am completely unsure about this - but I...
  8. Replies
    64
    Views
    4,163

    Well, I found no source for the imx.rt - but some...

    Well, I found no source for the imx.rt - but some time ago I read a document where it was measured for a predecessor-chip (was it imx6?) - it was around 50ps.
    I would be surprised if the imx.rt was...
  9. Replies
    64
    Views
    4,163

    Deleted User, how large is the jitter? Have you...

    Deleted User, how large is the jitter? Have you measured it?
    alrj, do you hear jitter, too?


    Anyway, i think even the cheapest SPDIF receivers have buffers (edit: together with a PLL) nowadays.....
  10. Replies
    64
    Views
    4,163

    Excellent!

    Excellent!
  11. Replies
    64
    Views
    4,163

    Sound great! 48k:Should be simple.. ...

    Sound great!


    48k:Should be simple..

    AudioOutputADAT::setI2SFreq(88200);

    replace it with AudioOutputADAT::setI2SFreq( 2 * AUDIO_SAMPLE_RATE_EXACT);

    After that it will use the...
  12. Replies
    64
    Views
    4,163

    I'd say, if both works leave it as a comment in...

    I'd say, if both works leave it as a comment in the code and use the value you are using now.
    After that, make a pull-request on github so that Paul can merge it- :)

    Thank you very much for...
  13. Replies
    64
    Views
    4,163

    A last hint for today: in startup.c (in...

    A last hint for today:

    in startup.c (in cores\tensy4\) you'll find these lines:


    SCB_MPU_RBAR = 0x20200000 | REGION(i++); // RAM (AXI bus)
    SCB_MPU_RASR = MEM_CACHE_WBWA | READWRITE |...
  14. Replies
    64
    Views
    4,163

    Suggestion: Take a break and try again tomorrow.....

    Suggestion: Take a break and try again tomorrow.. :)
    I'm too tired to look over the long source (and I don't khow what exactly it does or should do .. )
    Maybe tomorrow - it's late here.
  15. Replies
    64
    Views
    4,163

    No Problem, here :...

    No Problem, here : https://github.com/PaulStoffregen/Audio/blob/master/output_i2s.cpp#L137
  16. Replies
    64
    Views
    4,163

    Have you added the needed cache-handling? The...

    Have you added the needed cache-handling?
    The contens of the cache need to written to RAM before DMA can use it.
    You can see how it works i.e. in I2S Ouput. It's one call to a function.
Results 1 to 16 of 16