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

  1. Which Teensy model are you using?

    Which Teensy model are you using?
  2. 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)
  3. 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.
    ...
  4. Isn't this it? ...

    Isn't this it?

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

    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...
  6. 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...
  7. Replies
    4
    Views
    178

    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...
  8. Replies
    113
    Views
    44,231

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

    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.
    ...
  11. 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...
  12. 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?
  13. 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...
  14. Replies
    9
    Views
    294

    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...
  15. Replies
    6
    Views
    268

    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...
  16. Replies
    9
    Views
    431

    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...
  17. Replies
    9
    Views
    431

    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...
  18. 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
  19. Replies
    15
    Views
    874

    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...
  20. 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...
  21. Replies
    5
    Views
    266

    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...
  22. Replies
    15
    Views
    874

    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 ...
  23. Replies
    5
    Views
    266

    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...
  24. Replies
    41
    Views
    1,058

    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,...
  25. 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...
  26. 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...
  27. 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...
  28. Replies
    41
    Views
    1,058

    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...
  29. Replies
    41
    Views
    1,058

    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...
  30. 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...
  31. Replies
    41
    Views
    1,058

    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...
  32. 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.
  33. 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...
  34. Replies
    5
    Views
    233

    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...
  35. Replies
    8
    Views
    339

    GTK3 is required. Again, PJRC's position is we...

    GTK3 is required.

    Again, PJRC's position is we only support Ubuntu on x64 PCs. Most other Linux distros tend to work, but when they are lacking some library or feature, you need to either find a...
  36. In your schematic, I don't see any connection to...

    In your schematic, I don't see any connection to pin 14 (VCC) on the 74AHCT125 chip.

    The schematic seems to show a 20 pin ribbon cable. But in the photo I see only 5 wires.

    Your message says...
  37. Replies
    8
    Views
    339

    Officially, for Linux on PCs, only Ubuntu is...

    Officially, for Linux on PCs, only Ubuntu is supported. Unofficially, maybe the missing library can be somehow installed for Puppy Linux? A screenshot or exact copy of the error would be a good...
  38. Replies
    1
    Views
    265

    Look at the bottom side of both circuit boards. ...

    Look at the bottom side of both circuit boards. You should see pin numbers labeled on both. You need to orient the 2 boards so the numbers all match up.

    Also quickly check that the audio shield...
  39. Use ordinary pinMode().

    Use ordinary pinMode().
  40. Just curious, did that 16GB card work after...

    Just curious, did that 16GB card work after reformatting?

    So far I've not seen any SDHC cards which are incompatible with SdFat's SDIO, only the older pre-SDHC ones (usually less than 4GB).
  41. Replies
    7
    Views
    320

    Just to confirm, the speaker needs to be powered....

    Just to confirm, the speaker needs to be powered. I don't see a power cord in that photo. Maybe it has batteries?
  42. Replies
    7
    Views
    320

    The pin might be damaged, but it might also be...

    The pin might be damaged, but it might also be perfectly fine and you don't hear anything because the DAC has a relatively high output impedance which can't drive enough power into your speaker to be...
  43. What happens if you try File > Examples >...

    What happens if you try File > Examples > WS2812Serial > BasicTest, of course with the pin number edited to 10. Does that work?
  44. Replies
    5
    Views
    312

    In Arduino, first make sure Teensy 4.1 is...

    In Arduino, first make sure Teensy 4.1 is selected in Tools > Boards.

    Then click File > Examples > ST7735_t3 > graphicstest

    In the example code, scroll down and look for the defines showing the...
  45. Replies
    4
    Views
    299

    If the top 16 bits will do, try the easy thing...

    If the top 16 bits will do, try the easy thing first and use the audio library. It has I2S slave mode input, where the external LRCLK controls the audio sample rate.

    If you're not familiar with...
  46. AudioInputAnalog depends on which Teensy model...

    AudioInputAnalog depends on which Teensy model you're using, and which version of Teensyduino you have (click Help > About in Arduino to check).
  47. I hope you can understand any more suggestions at...

    I hope you can understand any more suggestions at this point would amount to blind guessing, since you've changed the hardware and software, and as far as I can see we still don't even know the exact...
  48. I'm a few weeks and nearly 200 messages behind on...

    I'm a few weeks and nearly 200 messages behind on this thread... but going to catch up this week. Any chance you can give me a quick summary of the main issues needing my attention?

    Also...
  49. Replies
    13
    Views
    1,016

    Also, when using CDC serial, you should see the...

    Also, when using CDC serial, you should see the COM appear in both "Teensy Ports" and "Serial ports".

    If you select the Teensy Ports version, a highly optimized Arduino Serial Monitor is used...
  50. Replies
    13
    Views
    1,016

    You need to select this, from Teensy Ports: ...

    You need to select this, from Teensy Ports:

    26457
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4