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.04 seconds; generated 23 minute(s) ago.

  1. There are cheap mp3 modules with sd slot around...

    There are cheap mp3 modules with sd slot around 5 - i think you don't even need an Arduino. Might be the better solution (because much simpler) in this case.
  2. A board with CS42448 can output 8 Channels....

    A board with CS42448 can output 8 Channels.
    https://hackaday.io/project/2984-teensy-audio-library/log/187557-updated-cs42448-pcb-for-teensy-4x

    However a SD Card is not fast enough to play 16...
  3. No need to solder it. Too late here. Good night...

    No need to solder it.
    Too late here. Good night :)
  4. Ok, forget my post. I wrote at the same time as...

    Ok, forget my post. I wrote at the same time as you


    Just use the bounce library and everything is fine.
    Not because its bouncing - it makes the handling easier for you.
    But i do not understand...
  5. add this to setup: pinMode(13, OUTPUT); and...

    add this to setup:
    pinMode(13, OUTPUT);

    and this to loop:


    void loop() {
    digitalWrite(13, digitalRead(INT_PIN));
    if(!digitalRead(INT_PIN)){
    trellis.read(false);
  6. Maybe it pulls down the INT pin for a short time...

    Maybe it pulls down the INT pin for a short time only?
  7. Replies
    167
    Views
    22,552

    Was reported several times. The whole "Tutorial"...

    Was reported several times. The whole "Tutorial" and "How to" is for AVR. It even uses Pin 11 for "Blink"...
  8. Maybe an XOR gate is good enough? 26285 ...

    Maybe an XOR gate is good enough?
    26285

    Sorry, no article in English. With tuning RC you can adjust the width of the impulses.

    https://de.wikipedia.org/wiki/Frequenzverdopplung_(Elektronik)
    ...
  9. Best is to buy a meter. You spent some hundret $$...

    Best is to buy a meter. You spent some hundret $$ for the Neotrellis... :)
    You will need it again, anyway..

    I doubt that removing connections will help much. As you say the Matrix works. And the...
  10. A CPU, or better, software, is not the right...

    A CPU, or better, software, is not the right tool for this job. The allowed jitter is too tight. Use a dedicated chip (PLL?) or some discrete logic.
    Or maybe there is way to do that in hardware...
  11. You will alway have jitter because the core...

    You will alway have jitter because the core disables the interrupts at several places.
    That's independend of the priority.
    The only reliable way is - yes, disable all and do polling.
    Of course you...
  12. Replies
    36
    Views
    713

    Can you post your HEX (+used sourcecode) file for...

    Can you post your HEX (+used sourcecode) file for the CS42448? I can use it and compare. It should show the same problem, right?
  13. Replies
    36
    Views
    713

    I ran this: #include #include...

    I ran this:



    #include <Audio.h>
    #include <SPI.h>
    #include <Wire.h>
    #include "ILI9341_t3.h"

    #define TFT_DC 29
  14. Well, I would still remove most of the pullups....

    Well, I would still remove most of the pullups. It's definitely not good and is still against the specifications of the SAMD. Just to fix at least this issue.
    Then, I'd ask ADAFRUIT.
  15. Replies
    36
    Views
    713

    26276 Just for the sake of completeness, here's...

    26276
    Just for the sake of completeness, here's how it looks with the GND problem. Looks surprisingly similar to the posted scope screenshots.
  16. Replies
    36
    Views
    713

    Ok, found it. I see the spikes when I disconnect...

    Ok, found it.
    I see the spikes when I disconnect the GND from the probes - Seems they had no good GND contact the first time with T4.1.

    So.. no, I can't reproduce it.
  17. Replies
    36
    Views
    713

    But wait... now they are gone. Something is...

    But wait... now they are gone. Something is wrong.... not a joke. I replaced the 4.1 with a T4 - no spikes. A clean picture. Then I've put the T4.1 back in - clear Signal too.

    Have NO idea what...
  18. Replies
    36
    Views
    713

    Still have to compare it with a T4.0 - but my...

    Still have to compare it with a T4.0 - but my scope shows this noise (spikes), too, an a T.41
    Even without SPI.
  19. Replies
    36
    Views
    713

    Ok, i have the cs42488 here. Please post your HEX...

    Ok, i have the cs42488 here. Please post your HEX file! I can test, and perhaps confirm that. If i see the same effect, we'll know it's not your setup and I have some ideas how to debug that.
  20. OK, my guesses are (both 50% probability) -...

    OK, my guesses are (both 50% probability)

    - 11ma are too much
    , or: it's just a serial Monitor problem

    Have read the Datasheet of the ATSAMD09: Max IO current for output LOW is 10mA. The 11mA...
  21. ...and better try this loop: int myCount =...

    ...and better try this loop:



    int myCount = 0;
    void loop() {
    if(!digitalRead(INT_PIN)){
    Serial.println(myCount);
    myCount++;
    }
  22. However, I should read more, too. I'm not that...

    However, I should read more, too.
    I'm not that sure what "When it keeps printing it goes down to 0.80 and stays there until I press again and goes back up." means.

    His code:


    void loop() {...
  23. "The matrix works fine in every other respect...

    "The matrix works fine in every other respect but the interrupt. " tells me that it works?

    And, in the first post: "All works fine with the Adafruit example but the interrupt function ( it works...
  24. Sorry, Paul.. sometimes you should really read...

    Sorry, Paul.. sometimes you should really read the questions (and other posts) with more thought





    There is no I2C problem here. It's just the pullup-resistance, I think.

    Moris526, if you...
  25. Replies
    2
    Views
    115

    These are the alternative pins. i.e. if you want...

    These are the alternative pins.
    i.e. if you want to use Serial1, and pins 26, 27 instead of 0,1

    You would use
    Serial1.setTX(26);
    Serial1.setRX(27);

    This is decribed here:...
  26. Replies
    31
    Views
    1,847

    Here are some instruction and code to print a...

    Here are some instruction and code to print a full stacktrace.
    Found that by accident.

    Might be useful for someone or a future TD version:...
  27. Replies
    36
    Views
    713

    Hm. Wait! I see no codec init code in your...

    Hm. Wait! I see no codec init code in your program.
    - Which TDM chip you are using?
    - Are you sure it does not mix the inputs with the outputs with the default settings?
    - are the inputs connected...
  28. Replies
    36
    Views
    713

    Maybe post the generated HEX file. Then we have...

    Maybe post the generated HEX file. Then we have exactly the binary code you have!
  29. Replies
    36
    Views
    713

    https://forum.pjrc.com/attachment.php?attachmentid...

    https://forum.pjrc.com/attachment.php?attachmentid=26229&d=1634732370&thumb=1
    This image (the circled part) does not look like transmission errors. The circled part shows linearly increasing (green)...
  30. Replies
    4
    Views
    108

    Hm I have a pretty old board and code.. from...

    Hm I have a pretty old board and code.. from 2016... for ESP8266.
    But perhaps it's enough to get the idea: https://github.com/FrankBoesing/FlexiBoard
    It was for WLAN and the ESP "AT MODEM" std...
  31. Replies
    4
    Views
    108

    Yes, use serial.

    Yes, use serial.
  32. Not directly the topic - just to mention. There...

    Not directly the topic - just to mention. There is a great library by ARM ("CMSIS DSP") that does interpolation etc pretty fast. It has a lot of useful things.
    I've used it to interpolate to 352kHz...
  33. Thread: WaveplayerEx

    by Frank B
    Replies
    112
    Views
    5,521

    It's documented now....

    It's documented now.
    https://github.com/FrankBoesing/Teensy-WavePlayer/blob/5cc77153067f907a4b121435028ede3f47878173/play_wav.h#L10
  34. Thread: WaveplayerEx

    by Frank B
    Replies
    112
    Views
    5,521

    Yes, decreasing will not help as it also breaks...

    Yes, decreasing will not help as it also breaks the (time-)order if you add new ones after.
    Simple solution: Don't use it dynamic or don't use the waveplayer. At the moment, these have contrary...
  35. Replies
    8
    Views
    187

    If this was really not meant as spam (paid...

    If this was really not meant as spam (paid consulting etc) I apologize of course.
    It would be fine if he would contribute the algorithm to the Teensy audiolib.
  36. I have a workaround for Littlfs: ...

    I have a workaround for Littlfs:

    https://forum.pjrc.com/threads/67754-WaveplayerEx?p=291833&viewfull=1#post291833
  37. Thread: WaveplayerEx

    by Frank B
    Replies
    112
    Views
    5,521

    Ok, last addition for a while. As Teensy's...

    Ok, last addition for a while.
    As Teensy's LittleFS is not threadsafe and, for NAND Flash, takes way too long to open a file - (I've seen > 12 millisconds!), this can be seen as workaround, too.
    ...
  38. Replies
    282
    Views
    8,993

    Nothing. If you read the my following post: I...

    Nothing. If you read the my following post: I said it will not help.

    Better get your roof done:) That's more important.
  39. Replies
    21
    Views
    384

    ?? School Math :-) 1 / 2 / 8000000Hz = 62.5ns

    ?? School Math :-)
    1 / 2 / 8000000Hz = 62.5ns
  40. Replies
    282
    Views
    8,993

    Eh, no, that will not help much.. it may reduce...

    Eh, no, that will not help much.. it may reduce the pobability for races (if existing) but will not slow down..
  41. Replies
    21
    Views
    384

    See Post#2

    See Post#2
  42. Replies
    21
    Views
    384

    That it is not possible to reach more than 8 MHz.

    That it is not possible to reach more than 8 MHz.
  43. Replies
    21
    Views
    384

    No it's a fundamental law....

    No it's a fundamental law.
    https://en.wikipedia.org/wiki/Nyquist_rate
  44. Thread: WaveplayerEx

    by Frank B
    Replies
    112
    Views
    5,521

    Ok, let's assume we use the...

    Ok, let's assume we use the Nums_7dot1_8_44100.wav file from the examples. There is a voice, counting from 1 to 8 (each number on a different channel - but this is not interesting here)

    There is a...
  45. Replies
    282
    Views
    8,993

    Hm. Not tried - does it help to just make the...

    Hm. Not tried - does it help to just make the timer slower? (That would be the perfect place to create a variable speed - IF that works)
    Tim? Can you test?

    edit:
    It would be a opportunity to add...
  46. Replies
    282
    Views
    8,993

    Yes, that's the challenge. Also, perhaps we have...

    Yes, that's the challenge.
    Also, perhaps we have to keep in mind slow PCs.

    And, a question - there are Tablets etc with Windows. Do they have the same problem? I own no such thing...
    The next...
  47. Not needed here - pressed() takes care of that....

    Not needed here - pressed() takes care of that. It returns true if the state changed.
    It's just the wrong pin.
  48. Replies
    20
    Views
    679

    Could you both post the layout (the USB traces...

    Could you both post the layout (the USB traces should be visible) ?
  49. PIN 19 is used for I2C which is needed for the...

    PIN 19 is used for I2C which is needed for the Audio Shield.
  50. Replies
    8
    Views
    187

    As said, the lib is open source. Good...

    As said, the lib is open source. Good contributions are always welcome.

    And, as this is a commercial site, placing the link here is questionable.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4