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.13 seconds.

  1. Replies
    96
    Views
    2,110

    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.
  2. Replies
    14
    Views
    294

    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.
  3. Replies
    10
    Views
    217

    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...
  4. Replies
    2
    Views
    103

    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...
  5. Replies
    14
    Views
    294

    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...
  6. Replies
    51
    Views
    2,227

    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.
  7. Replies
    51
    Views
    2,227

    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.
  8. Replies
    9
    Views
    292

    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...
  9. Replies
    4
    Views
    109

    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...
  10. Replies
    51
    Views
    2,227

    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...
  11. Replies
    2
    Views
    199

    Updated imxrt.h ...

    Updated imxrt.h

    https://github.com/PaulStoffregen/cores/commit/d15e3a3b5f670893bf310ba673948a976e78afed
  12. Replies
    51
    Views
    2,227

    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...
  13. Replies
    3
    Views
    173

    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...
  14. Replies
    51
    Views
    2,227

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

    Have you tried any non-SDHC (2GB or smaller) cards on SDIO?
  15. 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...
  16. 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,...
  17. Which Teensy model are you using?

    Which Teensy model are you using?
  18. 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)
  19. 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.
    ...
  20. Isn't this it? ...

    Isn't this it?

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

    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...
  22. 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...
  23. Replies
    4
    Views
    222

    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...
  24. Replies
    113
    Views
    44,736

    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
  25. 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...
  26. Replies
    4
    Views
    226

    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.
    ...
  27. 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...
  28. 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?
  29. 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...
  30. Replies
    9
    Views
    358

    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...
  31. Replies
    6
    Views
    310

    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...
  32. Replies
    9
    Views
    510

    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...
  33. Replies
    9
    Views
    510

    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...
  34. 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
  35. Replies
    15
    Views
    1,064

    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...
  36. 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...
  37. Replies
    5
    Views
    316

    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...
  38. Replies
    15
    Views
    1,064

    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 ...
  39. Replies
    5
    Views
    316

    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...
  40. Replies
    41
    Views
    1,228

    The P-channel circuit has some chance of working,...

    The P-channel circuit has some chance of working, because 100 ohm pull-down will turn the N-channel mosfet off fairly quickly. But you should connect the P-channel source to 3.3V, not the battery,...
  41. You will need to get this FastLED, or install...

    You will need to get this FastLED, or install 1.56-beta3 (when it's published... should be a matter of days).

    https://github.com/PaulStoffregen/FastLED

    If you haven't already tried setting...
  42. Yes, Teensy 4.0 can certainly generate 3 sine...

    Yes, Teensy 4.0 can certainly generate 3 sine waves and mix them in software. You would use the audio library with 3 instance of the waveform synth, and a mixer to combine them.

    Getting the...
  43. First, in Arduino copy all your code to the...

    First, in Arduino copy all your code to the clipboard. This is easiest by CTRL-A to select all, then CTRL-C to copy.

    Then on the forum, click this button.

    26544

    You will see the 2 code tags...
  44. Replies
    41
    Views
    1,228

    Your other option is to find a different mosfet...

    Your other option is to find a different mosfet with lower total gate charge. If you can find one with only 2nC instead of 10nC, then you could use 5X lower gate current which you can easily get...
  45. Replies
    41
    Views
    1,228

    Generally speaking, you would need at least 2...

    Generally speaking, you would need at least 2 transistors to drive the mosfet gate. With PWM, turning the mosfet off quickly is as important as turning it on quickly. The circuit in msg #3 only...
  46. Yes, just use these from the design tool....

    Yes, just use these from the design tool.

    26525

    As with everything in the design tool, the documentation appears on the right side panel when you click it. That's where you find the requires...
  47. Replies
    41
    Views
    1,228

    Yes, for 20 kHz PWM, you probably do need a gate...

    Yes, for 20 kHz PWM, you probably do need a gate driver chip or circuit.

    You should also use a "fast" diode across the motor. IN4007 is very slow. Without a good quality diode or other snubber...
  48. I'm pretty sure you already know this, but if you...

    I'm pretty sure you already know this, but if you want me to actually look into this issue, you need to post a reproducible test case.
  49. Please try 1.56-beta2. ...

    Please try 1.56-beta2.

    https://forum.pjrc.com/threads/68386-Teensyduino-1-56-Beta-2

    1.56-beta1 has a "Fix serial monitor stall on Windows" and 1.56-beta2 also has "Fix rare serial monitor stall...
  50. Replies
    6
    Views
    278

    The USB ground wire needs to be connected to...

    The USB ground wire needs to be connected to Teensy 4.0, close to where the D+ and D- wires connect.

    The 1.6M ohms measurement is probably a false alarm. Your multimeter transmits a small test...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4