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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.12 seconds.

  1. Continuing work on this. The received packet...

    Continuing work on this. The received packet loss bug is definitely on the Teensy side in managing the linked list of dTD structures.
  2. Maybe also check out Kurt's ILI9341_t3n library,...

    Maybe also check out Kurt's ILI9341_t3n library, which uses a frame buffer and DMA for very efficient updates. It recently got quite a bit of testing when we were playing with FlexIO interface to...
  3. I recall measuring about 33K some time ago, which...

    I recall measuring about 33K some time ago, which is pretty close to 27K.

    You can expect on-chip resistors to change quite a lot with temperature and from chip to chip.
  4. I'm looking into the packet loss issue. I'm able...

    I'm looking into the packet loss issue. I'm able to reproduce it with Kurt's BogusFS code and LargeIndexedTestfile.txt (which really should win an award or something for the most reproducible test...
  5. Maybe I'm reading too much into this question,...

    Maybe I'm reading too much into this question, but it kinda sounds like an assumption that a SBC microprocessor is a superset, that it would have everything a microcontroller has, that a...
  6. Teensy 4.1 is a microcontroller. Indeed...

    Teensy 4.1 is a microcontroller.




    Indeed this question isn't so clear with modern parts. Even NXP's marketing info calls these new chips "crossover".

    26804

    But other than the high CPU...
  7. Please open an issue with PlatformIO. ...

    Please open an issue with PlatformIO.

    Officially, PJRC only maintains and tests Teensyduino with Arduino. If the same code works in Arduino and fails in PlatformIO, that sort of issue needs to be...
  8. Maybe you can reuse code from the audio library?...

    Maybe you can reuse code from the audio library?

    https://github.com/PaulStoffregen/Audio/blob/master/output_pt8211.cpp

    https://github.com/PaulStoffregen/Audio/blob/master/output_pt8211_2.cpp
    ...
  9. Yes, several different breakout boards were made,...

    Yes, several different breakout boards were made, but only the last 2 versions gave access to SDIO. The first SDIO breakout used tiny pogo pins. I'm pretty sure I only made 1 which never left my...
  10. Looks like the SDIO DAT2 & DAT3 connection was...

    Looks like the SDIO DAT2 & DAT3 connection was the only thing actually correct about pins 38 & 39.

    Hopefully these commits fix all the lingering pin 38 & 39 swap issues.
    ...
  11. What happens if you remove...

    What happens if you remove Serial.println("loop"); so you're printing only from the interrupt and not also from the main program?
  12. Replies
    111
    Views
    2,739

    Please do not submit pull requests with GPLv3...

    Please do not submit pull requests with GPLv3 code.

    I want to be absolutely clear - this code will never be merged into the Teensy audio library because of Frank's choice to apply GPLv3.
  13. Replies
    14
    Views
    339

    7.4 volts does seem pretty unlikely, but could...

    7.4 volts does seem pretty unlikely, but could also explain the hardware getting hot and being damaged.
  14. Replies
    15
    Views
    344

    2 questions Can you reproduce the problem...

    2 questions

    Can you reproduce the problem without TeensyThreads? These libraries usually aren't thread safe.

    Which version of Teensyduino are you using? This matters because the old SD...
  15. Replies
    2
    Views
    118

    I'm also not clear about the question. But I ...

    I'm also not clear about the question. But I add a few facts, which may or may not help depending on what was meant in the question.

    Agree, the best solution for a full size USB B connector is a...
  16. Replies
    14
    Views
    339

    When using Arduino, click Help > About. The...

    When using Arduino, click Help > About. The About info will show both Arduino & Teensyduino versions.

    Also try Help > About in Teensy Loader, as it's possible to have an older copy of Teensy...
  17. Replies
    51
    Views
    2,412

    Bill, would you like to have either of these SD1...

    Bill, would you like to have either of these SD1 cards? I'd be happy to send you one.
  18. Replies
    51
    Views
    2,412

    Yes, tried it just now. Teensy 3.6 is able to...

    Yes, tried it just now.

    Teensy 3.6 is able to see both SD1 cards.
  19. Replies
    11
    Views
    366

    First, try running File > Examples > SD >...

    First, try running File > Examples > SD > listfiles, just to check that your SD card really is working and has the BMP file. Not much point digging into the details if the problem is as "simple" as...
  20. Replies
    4
    Views
    146

    UART Serial may be more competitive with SPI than...

    UART Serial may be more competitive with SPI than you're assuming.

    On Teensy 4.1, the maximum baud rate is 1/4th of the UART's base clock, which defaults to 24 MHz. But the hardware can be...
  21. Replies
    51
    Views
    2,412

    Ran SdInfo with 4 old cards. The two SD2 cards...

    Ran SdInfo with 4 old cards. The two SD2 cards work fine. Both SD1 don't seem to work with SDIO at all, even if I increase BUSY_TIMEOUT_MICROS to 5000000 and CMD8_RETRIES to 9, but those changes to...
  22. Replies
    2
    Views
    225

    Updated imxrt.h ...

    Updated imxrt.h

    https://github.com/PaulStoffregen/cores/commit/d15e3a3b5f670893bf310ba673948a976e78afed
  23. Replies
    51
    Views
    2,412

    Even though these older cards aren't being...

    Even though these older cards aren't being manufactured, many people still have them laying around. I have several here. Would be happy to send you one.

    Since switching from the old SD library...
  24. Replies
    3
    Views
    193

    The answer really depends on some details,...

    The answer really depends on some details, especially the number of bits or bytes per pixel.

    The chip at 88 MHz clock has a bandwidth of about 40 MByte/sec, or about 60 MByte/sec if you increase...
  25. Replies
    51
    Views
    2,412

    Have you tried any non-SDHC (2GB or smaller)...

    Have you tried any non-SDHC (2GB or smaller) cards on SDIO?
  26. On those sorts of power supply, the amperage spec...

    On those sorts of power supply, the amperage spec is a maximum the product can deliver. The power supply controls the voltage and the current depends on how much power is used by the things you...
  27. That result sure looks like your board got...

    That result sure looks like your board got programmed with the HEX file, not EHEX.

    First, check Teensy Loader version with Help > About in the small Teensy Loader windows. If older than 1.55,...
  28. Which Teensy model are you using?

    Which Teensy model are you using?
  29. Check the URL you're using for the design tool. ...

    Check the URL you're using for the design tool. Any chance you're accessing an old copy? Or a local copy?

    (some old copies are on the server... I should probably delete them)
  30. Tried it just now. Opened File > Examples >...

    Tried it just now. Opened File > Examples > Audio > Effects > Vocoder19Band. Then copied all the audio instances and connections to clipboard. Clicked Import in the design tool and pasted.
    ...
  31. Isn't this it? ...

    Isn't this it?

    https://www.pjrc.com/teensy/gui/?info=AudioEffectRectifier
  32. Replies
    2
    Views
    203

    For microcontroller compute speed, usually...

    For microcontroller compute speed, usually CoreMark is used. Here is a copy which runs on Teensy and most other Arduino compatible boards.

    https://github.com/PaulStoffregen/CoreMark

    While...
  33. First, this message isn't legal advice. ...

    First, this message isn't legal advice. Generally speaking, legal advice comes from an attorney you've hired, not forum messages on the internet.

    Now with that in mind, yes, of course it's ok to...
  34. Replies
    4
    Views
    244

    If you still have the code which crashed, maybe...

    If you still have the code which crashed, maybe save a copy.

    This MyFault library is an attempt to collect code samples for all the ways to crash Teensy 4.x. Starting with 1.54, many of these...
  35. Replies
    113
    Views
    44,860

    The main PSRAM part number is APS6404L-3SQR. ...

    The main PSRAM part number is APS6404L-3SQR.

    Several other parts are the exact same chip with different marking. Details on the PSRAM page.

    https://www.pjrc.com/store/psram.html
  36. No. You must not name your product "TEENSYMEGA"...

    No. You must not name your product "TEENSYMEGA" or anything else which is confusingly similar with Teensy, especially not if you sell them on Tindie or any other website.

    Teensy is a registered...
  37. Replies
    4
    Views
    249

    ARM does have a SP register, but it is a CPU...

    ARM does have a SP register, but it is a CPU register, not memory mapped like AVR. So to access it you need to use inline ASM. For an example, see the startup code.
    ...
  38. Multiple copies of Arduino is still the only...

    Multiple copies of Arduino is still the only plausible explanation.

    The only other not-very-likely explanation I can imagine is overly aggressive anti-virus software is silently interfering with...
  39. Maybe you have more than 1 copy of Arduino on...

    Maybe you have more than 1 copy of Arduino on your PC, and when you ran the Teensyduino installer it wrote all the Teensy files into the other copy of Arduino?
  40. Yes, this is the best way. Just configure for...

    Yes, this is the best way. Just configure for the longest and simply use less on the others. Simple and easy, but wastes some memory for the "unused" LEDs.





    I'm reluctant to answer this...
  41. Replies
    9
    Views
    376

    Hardware-wise, make sure you have a GND...

    Hardware-wise, make sure you have a GND connection from Teensy to the LEDs. The GND wire should follow the same physical path as the signal wire. Most modern WS2812B can work with a 3.3V signal...
  42. Replies
    6
    Views
    327

    Glad you got it working. Is there any brief...

    Glad you got it working.

    Is there any brief info you might share, which I could add (as comments in the makefile) to help other Windows users? I personally use Linux and only test the makefile on...
  43. Replies
    9
    Views
    545

    Yes, indeed if you intentionally want distortion...

    Yes, indeed if you intentionally want distortion for a certain "classic sound", you can get it. The waveform synth doesn't enforce limits on the waveform table. That's your responsibility. You can...
  44. Replies
    9
    Views
    545

    Waveform synthesis is done at the audio sample...

    Waveform synthesis is done at the audio sample rate, which defaults to 44.1 kHz. Sampling a signal at a fixed rate means the data can only represent spectrum up to half the sample rate, which is...
  45. Your memory is good. That cable was...

    Your memory is good. That cable was discontinued. But you can buy a nearly identical cable from Adafruit.

    https://www.adafruit.com/product/937
  46. Replies
    15
    Views
    1,129

    Recommend extracting a clean copy of Arduino...

    Recommend extracting a clean copy of Arduino 1.8.16 and installing 1.56-beta3 again.

    Looks like src/ExFatLib/upcase.cpp is a leftover file from a prior SdFat version. It's now...
  47. No, not correct at all. Seems there are at least...

    No, not correct at all. Seems there are at least a couple wrong assumptions in this question.

    The default startup code only initializes FlexSPI2 if it finds 1 or 2 PSRAM chips. To access...
  48. Replies
    5
    Views
    336

    Ok, I see what you're trying to do. And wow,...

    Ok, I see what you're trying to do. And wow, that is a really ancient chip! Just curious, why use it rather than a modern part?

    With some fiddling and watching the waveforms on a scope or logic...
  49. Replies
    15
    Views
    1,129

    Should probably mention, the main benefit from...

    Should probably mention, the main benefit from the 1.07 update is LittleFS_Program will persist across code uploads, if the filesystem size is within these limits.



    Board Normal ...
  50. Replies
    5
    Views
    336

    You could poll the TCSR FRF bit, to check when...

    You could poll the TCSR FRF bit, to check when the transmit FIFO wants more data.

    This may be a silly question, but have you at least tried the audio library, even if only the verify your DAC chip...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4