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

  1. Replies
    22
    Views
    1,503

    With the software that exists today, no. It only...

    With the software that exists today, no. It only supports one PDM input.

    But if your idea of "possible" includes editing the low-level code in the library, then theoretically up to 5 PDM inputs...
  2. No. Teensy is a microcontroller, programmed with...

    No. Teensy is a microcontroller, programmed with traditional programming languages. Verilog is used programmable logic and IC design. Teensy 4.1 doesn't have generic programmable logic on the...
  3. On the wire length, all of the issues we saw were...

    On the wire length, all of the issues we saw were with the MCLK signal to the SGTL5000 chip.

    Usually SD cards work fine with 3 inches of wire. With all wiring, running the ground wire along the...
  4. Replies
    5
    Views
    113

    Yes, 0603 size. It's only a decoupling...

    Yes, 0603 size.

    It's only a decoupling capacitor for the USB voltage. The board should probably still work without it, especially if used with a short USB cable.
  5. Install the latest beta...

    Install the latest beta
    https://forum.pjrc.com/threads/67252-Teensyduino-1-54-Beta-9

    Use the LittleFS library

    Create an instance of LittleFS_Program for a filesystem which accesses program...
  6. Replies
    5
    Views
    113

    That looks like C27. Scroll to the bottom of the...

    That looks like C27. Scroll to the bottom of the Teensy 4.1 page the schematic and parts placement diagrams.

    https://www.pjrc.com/store/teensy41.html#tech
  7. I can confirm, a few times I've seen a strange...

    I can confirm, a few times I've seen a strange effect where the ADC plays havoc with an opamp's output. It's on my long list of things I'd like to explore and write up nice documentation. Odds of...
  8. Replies
    6
    Views
    236

    If you wanted it done all within the audio...

    If you wanted it done all within the audio library, you could try using the envelope effect with sustain level at zero. Then you'd set the attack and decay to low numbers and the hold time to the...
  9. Replies
    5
    Views
    132

    Look at the last line of RS485.cpp ...

    Look at the last line of RS485.cpp

    https://github.com/arduino-libraries/ArduinoRS485/blob/master/src/RS485.cpp#L181

    It's depending on whatever the board's core library defines for...
  10. It's not noise or soldering. (or at least...

    It's not noise or soldering. (or at least probably is not those issues)

    You're running into somewhat obscure limitation of serial communication where the receiver can't sync to the 8 bit words...
  11. Replies
    5
    Views
    132

    This library doesn't even compile. Neither does...

    This library doesn't even compile. Neither does the code from msg #1.

    Here's a fixed copy of the library.
    https://github.com/PaulStoffregen/ArduinoModbus

    To get the code above to compile, I...
  12. We've seen this exact problem over and over. ...

    We've seen this exact problem over and over. It's almost always a charge-only USB cable.
  13. Replies
    7
    Views
    99

    Arduino's software works for multiple users, if...

    Arduino's software works for multiple users, if installed in a location like /usr/local. It stores each user's local settings & data in a ~/.arduino15 folder in their home directory. Builds are...
  14. Email directly and we'll check if any extra chips...

    Email directly and we'll check if any extra chips are available.

    You might consider using the IMXRT1062 chip from Teensy 4.0 & 4.1 for a new project. The cost is similar and all signs are...
  15. Replies
    7
    Views
    99

    Arduino 1.8.15 is the latest Arduino version. ...

    Arduino 1.8.15 is the latest Arduino version.

    https://www.arduino.cc/en/software




    No. Teensyduino never supports the modified copies of Arduino from the various linux distros. We only...
  16. Maybe remove that yellow wire and look for any...

    Maybe remove that yellow wire and look for any stray solder.

    25006
  17. Replies
    2
    Views
    76

    You're missing AudioMemory(). Without that line...

    You're missing AudioMemory(). Without that line to allocate memory, the audio library can't do anything.

    In Arduino, click File > Examples > Audio to open any of the examples.
  18. Replies
    5
    Views
    196

    We made Teensy 3.0 in black, at least initially...

    We made Teensy 3.0 in black, at least initially in 2012 & early-2013.

    Turns out good quality black solder mask is uncommon. With most PCB vendors, when you order black you get a lower quality...
  19. I'm saying it's definitely damaged. The word...

    I'm saying it's definitely damaged.

    The word "dead" normally means so badly damaged that it shows no response, or responds in a way that suggests repair is impossible. That's not the case here.
    ...
  20. Replies
    17
    Views
    296

    Opps, yeah, the way I wrote that code will indeed...

    Opps, yeah, the way I wrote that code will indeed have a small phase error at the end of every cycle. It was meant to be only "a quick sanity check" to verify whether the DAC hardware was working.
    ...
  21. That's definitely damaged hardware! Look for...

    That's definitely damaged hardware!

    Look for any damage or stray solder in the area near pins 22 & 23. Especially check the tiny pins on the chip facing pin 23. Signals shorted together in that...
  22. Just to confirm, when you see that brief flash on...

    Just to confirm, when you see that brief flash on the red LED, you're supposed to release the button. If you do release within a few seconds of that brief red blink, the red LED is supposed to turn...
  23. From everything you've described, it really...

    From everything you've described, it really should work.

    As you can see in the audio library tutorial (and video demo) this does work.




    Kinda feels like a defective mic or wire between the...
  24. Replies
    11
    Views
    1,127

    Is is this product? ...

    Is is this product?

    https://www.pcgamingrace.com/products/glorious-model-o-white
  25. Try connecting a resistor from the analog pin to...

    Try connecting a resistor from the analog pin to AGND. Starting with 47K. Use higher resistance if you're not getting enough signal for the sensor. Use lower if you get too much noise during times...
  26. Replies
    2
    Views
    104

    Measuring current requires cutting the wire...

    Measuring current requires cutting the wire carrying the current **, so you can connect your multimeter probes to the 2nd ends, causing all the current to flow through your meter.

    The 2 options...
  27. Looking at your code again, I'm pretty sure...

    Looking at your code again, I'm pretty sure you're hitting problem #3.

    But to know for sure, you really need to add some Serial.print() lines and watch with the Arduino serial monitor to see what...
  28. Oh, you also need to delete this from setup() ...

    Oh, you also need to delete this from setup()


    AudioNoInterrupts();

    Or if you have some reason to turn off audio library updates, you need to turn it back on ASAP to let the audio library...
  29. As a very simple first test, try adding a 10...

    As a very simple first test, try adding a 10 second delay right after you start it playing. Like this:



    if (shouldPlaySound1) {
    playSdWav1.play("RKIT.WAV");
    delay(10000);
    ...
  30. The 3 most common WAV file problems: 1:...

    The 3 most common WAV file problems:

    1: Unsupported encoding - basically anything other than 16 bit, 44100 Hz.

    2: Not 8.3 filenames (not an issue here, and starting with Teensyduino 1.54-beta...
  31. Replies
    155
    Views
    12,808

    Officially, no, not yet. Only the 2 flash chips...

    Officially, no, not yet. Only the 2 flash chips from Teensy 4.0 & Teensy 4.1 are supported.

    Unofficially, the larger chip from MicroMod might work on a DIY board, but hasn't been tested. I only...
  32. Replies
    17
    Views
    296

    Yup. I've configure the DAC to use the 1.2V...

    Yup. I've configure the DAC to use the 1.2V internal reference, and then use an opamp to scale 0-1.2V to -10 to +10V
  33. The tone function (specifically audio library...

    The tone function (specifically audio library AudioAnalyzeToneDetect class) can indeed be reconfigured while your program runs. But it takes time to detect detect a frequency. The default is 10...
  34. Replies
    7
    Views
    217

    Good to know it's working for you. We don't...

    Good to know it's working for you. We don't really promote using this at runtime yet, because it just hasn't been tested much.

    And yes, confirm what Defragster said, it's the same on both 4.0 &...
  35. Replies
    7
    Views
    217

    The answer really depends on what's meant by...

    The answer really depends on what's meant by "programming option". If you're looking for a reliable, well tested and well supported function, then the answer is no.

    But if you want to dive into...
  36. You can find the alternate FTM2 address...

    You can find the alternate FTM2 address documented in the table on page 113.

    We use the alternate address because it matches the (only) FTM2 address for MK20 chip on Teensy 3.2.





    Yes,...
  37. Replies
    6
    Views
    236

    Yes. Use elapsedMillis. ...

    Yes. Use elapsedMillis.

    https://www.pjrc.com/teensy/td_timing_elaspedMillis.html

    You can create as many elapsedMillis variables as you need, and then check them without delaying so you start...
  38. If anyone wants to dig into what's really...

    If anyone wants to dig into what's really happening, here is the source code for teensy_serialmon on MacOS.

    I've been building on MacOS Mojave. Here's the compiler version I use to build...
  39. Glad you found the problem. :) This really is...

    Glad you found the problem. :)

    This really is the hardest thing, troubleshooting both driver-level software & new hardware at the same time.
  40. Replies
    6
    Views
    236

    You can start the waveform with begin() and stop...

    You can start the waveform with begin() and stop it by setting the amplitude to zero. Like this...

    24989



    waveform1.begin(1.0, 1000, WAVEFORM_SINE);
    delay(20);
    waveform1.amplitude(0);...
  41. Wow, that's a strange problem. Before I look...

    Wow, that's a strange problem.

    Before I look into this, could you do a quick test? Try connecting 1K resistors from pin 10 to GND and pin 12 to GND. If MQS really is driving those pins, it...
  42. Replies
    11
    Views
    271

    In the small Teensy Loader window, click Help >...

    In the small Teensy Loader window, click Help > Verbose Info. The verbose info window gives a *lot* of information (sometimes too much...) about what's really happening. In that window, the Log...
  43. Replies
    4
    Views
    130

    No, definitely not. The pin is 5V tolerant. ...

    No, definitely not. The pin is 5V tolerant. It's not 10V tolerant!
  44. Replies
    3
    Views
    125

    Looks like this should work. Maybe there's a...

    Looks like this should work.

    Maybe there's a mistake or misunderstanding in wiring. I can't see it well enough.

    Can you show a large version of the image, ideally with the camera zoomed in to...
  45. Replies
    86
    Views
    6,433

    I can confirm pretty much nothing has changed on...

    I can confirm pretty much nothing has changed on the software support for MacOS or Windows. Linux got some updates since 1.53.

    However, if you're having strange problems on MacOS, check out this...
  46. One issue you may face is the current audio...

    One issue you may face is the current audio library code transmits 32 bit words, where we put the 16 bit audio sample into the top half and zeros get sent for the lower half.

    Very old versions of...
  47. If you're using the audio library, only the top...

    If you're using the audio library, only the top 16 bits are captured. The low 8 bits are lost.

    Normally people route the audio data from TDM to other audio library features. If you're not yet...
  48. Indeed this has all the hallmarks of a...

    Indeed this has all the hallmarks of a charge-only cable, except 2 cables are said to be known good.

    Still, all signs point to the Teensy getting power but no data. I suppose it's theoretically...
  49. PJRC has plenty of these in stock. ...

    PJRC has plenty of these in stock.

    https://www.pjrc.com/store/header_socket_3x2.html
  50. Thread: blocked

    by PaulStoffregen
    Replies
    4
    Views
    343

    Indeed I have been working on flash encryption...

    Indeed I have been working on flash encryption support. It's the main reason I've been less active lately on other software.

    When PJRC officially supports encrypted flash, we will begin selling a...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4