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

Search:

Type: Posts; User: Frank B

Page 1 of 10 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    59

    Quick answer: No.

    Quick answer: No.
  2. Replies
    205
    Views
    13,683

    My knowledge may be outdated, but as far as I...

    My knowledge may be outdated, but as far as I remember the Pico can do either audio-in or audio-out, but not both. You would also have to see if it can provide mclk for the SGTL.

    In the meantime...
  3. Replies
    205
    Views
    13,683

    Would be easier and save much time to just use a...

    Would be easier and save much time to just use a Teensy ;)
  4. Hi, use transfer(void *buf, size_t count) -...

    Hi,
    use transfer(void *buf, size_t count) - that's the fastest.
  5. ..and..can you show us a photo? Is everything...

    ..and..can you show us a photo? Is everything soldered?
  6. This is the USB Serial. You may want to try...

    This is the USB Serial. You may want to try Serial2 :-)

    If that doesn't solve the problem, you'll have to show us some code - or better, all the code.
    It needs to be broken down to a minimalistic...
  7. Replies
    7
    Views
    127

    That's the easy part. attachInterrupt() Then,...

    That's the easy part. attachInterrupt()
    Then, you can take a look at the audio-library SPDIF input and look at the code. Remove all the DMA stuff, and it is almost done..
  8. Replies
    4
    Views
    105

    The Audio library provides raw data. Just use the...

    The Audio library provides raw data. Just use the AudioRecordQueue: https://www.pjrc.com/teensy/gui/?info=AudioRecordQueue to read the data - and then print it.
    What is printing useful for?
  9. Replies
    7
    Views
    127

    IMXRT1060 Reference Manual Rev2, Page 2028 shows...

    IMXRT1060 Reference Manual Rev2, Page 2028 shows that it can gegerate an interrupt depending on the fill-state of the FIFO.

    Of course there is no example code to do that, as the audio library is...
  10. Replies
    7
    Views
    127

    Well, first it would be needed to define what...

    Well, first it would be needed to define what "realtime" is.
  11. Replies
    4
    Views
    105

    Don't know why you posted this in Announcements -...

    Don't know why you posted this in Announcements - I moved this thread to "Audio".
  12. Serial flash is - compared to other memory -...

    Serial flash is - compared to other memory - incredible slow.
    I don't think there is a way to make it much faster.
  13. Replies
    205
    Views
    13,683

    I would say the Pico would be more than busy with...

    I would say the Pico would be more than busy with the sound emulation alone. The sound chip is very complex, and was the best of its time. The code for the sound emulation is quite complex, too.......
  14. Replies
    525
    Views
    8,381

    The ILI9341_T3 lib sets it to 119Hz. I did this...

    The ILI9341_T3 lib sets it to 119Hz. I did this some years ago by adding it to the init data.
  15. Yes :-) In the meantime I have now learned that...

    Yes :-)
    In the meantime I have now learned that __aeabi_uldivmod is used here for 64 bit data types.
    So, everything is OK.
  16. Replies
    6
    Views
    148

    See this Forum, "Announcements". All your...

    See this Forum, "Announcements".

    All your files will be deleted when you upload a new sketch.
    As far as I know it is planned to change that. May take some months.
  17. Replies
    24
    Views
    1,042

    Glad that it works now. Yes, please!

    Glad that it works now.

    Yes, please!
  18. _svfprintf_r includes aeabi_uldivmod which in turn includes software divisions..?

    Teensy 4, see title.
    Do we have a bug with printf? Perhaps include a wrong library?
    T4 shouldn't need integer divisions in software...
    The added code is a) slow and b) very large... and not...
  19. Teensy 4.1 builtin SD does not use pin 10. The...

    Teensy 4.1 builtin SD does not use pin 10. The Audio Board uses pin10 if you use its SD.
    I think it should be natural to look at everything carefully before connecting anything, and I can't see an...
  20. Replies
    18
    Views
    349

    I'd double-check if you really need more than...

    I'd double-check if you really need more than 400kHz instead. Humans tend to overestimate some things..
  21. The audio shields uses Pin 15 - it's for the...

    The audio shields uses Pin 15 - it's for the optional potentiometer and has a capacitor to smooth its readings..
    It's always a good idea to take a look at the used pins before connecting something :)
  22. Hi, I never tried that. The code uses the SD...

    Hi,
    I never tried that.
    The code uses the SD from an interrupt, so I'd expect problems.
    You can try to surround your code by AudioNoInterrupts() [..] AudioInterrupts()n and make sure it computes...
  23. Replies
    1
    Views
    91

    How should the board connect to your instrument?...

    How should the board connect to your instrument? Which interface? Or is it usb?
  24. You can use the godbolt link I gave you, and...

    You can use the godbolt link I gave you, and modify the foo() function on the left to see the influence of different ways to write code. Even if you don't know assembler, you get an idea of what is...
  25. Whenever you call set_arm_clock.. Or try to copy...

    Whenever you call set_arm_clock.. Or try to copy the lines form set_arm_clock (regarding the IPG) to your program.

    The other things..and "assembler".
    Note, it is not really assembler.

    a)
    This...
  26. No I said the other chip just does not blink. The...

    No I said the other chip just does not blink. The blink codes are not needed for boards sold by PJRC, because they are all tested.

    The blink still indicates a problem that should be fixed, and you...
  27. Yes these chips use a different firmware - for...

    Yes these chips use a different firmware - for the normal 4.0/4.1 the blink codes are just not needed :)
  28. Replies
    28
    Views
    1,247

    Remember the pins are in swapped order.

    Remember the pins are in swapped order.
  29. https://github.com/PaulStoffregen/cores/blob/a2368...

    https://github.com/PaulStoffregen/cores/blob/a2368ad57e9470608a234d942c55a2278c6cd72b/teensy4/clockspeed.c#L148

    You could try to change the both "4" to 3 or even 2.. (600 / 3 = 200MHz or 600 / 2=...
  30. Replies
    17
    Views
    581

    I think we have to wait for Paul, and that he...

    I think we have to wait for Paul, and that he tests that board.
  31. Replies
    17
    Views
    581

    Hm that looks correct...

    Hm that looks correct...
  32. it's possible to overclock that IPG - in the past...

    it's possible to overclock that IPG - in the past when I tried it, it was not 100% stable in every case. But it leads to pretty amazing speedup..
  33. I tried it with godbolt:...

    I tried it with godbolt: https://godbolt.org/z/dbbefx5K7
    Looks like the compiler does translate the code above optimal (with -O2):


    foo():

    ldr r0, .L2
    ldr r1, .L2+4
    ldr...
  34. Great .... :o)

    Great .... :o)
  35. You can try something like { uint32_t...

    You can try something like
    {
    uint32_t gpt1=GPT1_CR | GPT_CR_EN;
    uint32_t gpt2=GPT2_CR | GPT_CR_EN;
    asm("":::"memory");
    GPT1_CR = gpt1;
    GPT2_CR = gpt2;
    asm("dsb":::"memory");
    }
  36. ..and what is the format of the wave file? It...

    ..and what is the format of the wave file? It needs to be 44kHz, 16 Bit, Stereo. Everything else does not work..
  37. You are using AudioOutputPT8211_2 ...

    You are using
    AudioOutputPT8211_2 pt8211_2_1; //xy=557,951

    Are you sure you are using the correct pins? Can you show your a photo of your hardware, please`?
    And did you try one of the...
  38. Replies
    17
    Views
    581

    If the ADAU is I2S compatible, the timing is not...

    If the ADAU is I2S compatible, the timing is not an issue.
    a) did you close the jumper R15?
    b) How did you sample it? It works with 1.8V levels.

    24374
  39. Add some Audio memory.. void setup() { ...

    Add some Audio memory..


    void setup() {
    AudioMemory(20);
  40. Replies
    66
    Views
    2,753

    Hi Chichiwoof, yes, you'll need the latest...

    Hi Chichiwoof,
    yes, you'll need the latest Teensyduino beta.
  41. Most likely the problem are all the out of bound...

    Most likely the problem are all the out of bound accesses to the array (Post #6) - there may be more than the String strings[5] array.
    ist has 5 elements. the first is [0] - the last element is [4]...
  42. Replies
    24
    Views
    1,042

    AH... Not sure if this is the case here... but...

    AH...
    Not sure if this is the case here... but it almost looks like!
    Sounds it reasonable when I say the freeze is about 1.6 .. 1.7 seconds?
    If yes, please try to update Teensyduino to 1.54 Beta...
  43. String strings[5];// An array with 5 entries....

    String strings[5];//

    An array with 5 entries.

    Pretty fascinating that this works on AVR..


    for (int i = 0; i <=5 ; i++)
    {
    strings[i]= myString.substring(0,myString.indexOf("|"));
  44. all the code in this style void thirteen() {...

    all the code in this style

    void thirteen()
    {
    digitalWrite(demux0,LOW);
    digitalWrite(demux1,HIGH);
    digitalWrite(demux2,HIGH);
    digitalWrite(demux3,LOW);
    digitalWrite(0,LOW);
    ...
  45. Normally, a freeze is a hardfault. ...

    Normally, a freeze is a hardfault.
    Unfortunatley, Teensyduino jumps to a endless loop, then, instead of showing them ;)
    I'd look for array / buffer overflows, nullpointers, etc.
  46. Replies
    177
    Views
    21,312

    Note, there is a newer revision (Rev.4 10/2019)...

    Note, there is a newer revision (Rev.4 10/2019) of the Hardware Development Guide on the NXP website than the one mentioned here: https://www.pjrc.com/store/ic_mkl02_t4.html (which is Rev 0).
    Needs...
  47. Replies
    24
    Views
    1,042

    Can you post a photo of the hardware you built?...

    Can you post a photo of the hardware you built? (i.e. the connections of the board and display should be clearly visible)
  48. Replies
    525
    Views
    8,381

    Oh... the comments are not very enthusiastic.

    Oh... the comments are not very enthusiastic.
  49. Replies
    7
    Views
    215

    again, you use pins that are used by the audio...

    again, you use pins that are used by the audio board.
  50. Replies
    89
    Views
    6,034

    Perhaps we should review the PAD settings for I2C...

    Perhaps we should review the PAD settings for I2C and use very conserative settings.
    From my experients they work well, even for higher I2C speeds and may cause less problems.


    edit: Perhaps the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4