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

  1. Replies
    860
    Views
    41,877

    Looks like LittleFS_Program is only working on...

    Looks like LittleFS_Program is only working on Teensy 4.1 but crashes on Teensy 4.0. :(
  2. Flushing the CPU cache does make sense for the...

    Flushing the CPU cache does make sense for the ramdisk. But it should be done from the static_sync() function, not with an API addition at the filesystem level.



    static int...
  3. Sure. Send me just 2 chips. I'll solder one to...

    Sure. Send me just 2 chips. I'll solder one to a Teensy 4.1 and run the memory test. Assuming it passes, I'll use the other for a photo to add to the PSRAM page. The 3 photos on the page today...
  4. I believe you should first try simple things...

    I believe you should first try simple things within the audio library (like peak level analysis), before adding all the complexity of queues and handling data and adding a SD card into the list of...
  5. I tried to follow the wires in your photo, but...

    I tried to follow the wires in your photo, but due to the bad camera angle I just can't clearly see where each wire really connects.

    I connected my ICS52000 to a Teensy 4.0 on my desk.

    25056
    ...
  6. I have a couple of those ICS52000 boards here,...

    I have a couple of those ICS52000 boards here, part number NW-AUD-ICS52000. I believe this is the datasheet with its schematic, right?
  7. I don't know. It's only been tested with the 2...

    I don't know. It's only been tested with the 2 chips we use on Teensy 4.0 and 4.1.

    Other RT1060 series chips might work, might not. If they don't work, you'll have to just throw those boards...
  8. yup, looks good

    yup, looks good
  9. Yikes, don't connect the GND wire to VIN on...

    Yikes, don't connect the GND wire to VIN on Teensy LC. It needs to connect to GND, next to pin 0.

    This should work if you connect GND properly and the wires aren't "too long" for 12 Mbit USB...
  10. Oh how I wish we could integrate a RJ45. It...

    Oh how I wish we could integrate a RJ45. It kinda doesn't really fit...

    If you can carefully desolder the part and get the location where something went wrong, there's a pretty good chance this...
  11. Replies
    2
    Views
    72

    That's really a question for Cirrus Logic. But...

    That's really a question for Cirrus Logic. But frankly, I'm amazed there are still 20 pieces in stock anywhere. Almost every chip is out of stock at every distributor.
  12. Does the same PC beep happen when you press &...

    Does the same PC beep happen when you press & release the pushbutton?

    Sure sounds like it's trying to work, but can't.

    All signs point to both the main IMXRT processor and the MKL02 bootloader...
  13. That's ohms impedance at 100 MHz, which is the...

    That's ohms impedance at 100 MHz, which is the standard way almost ferrite beads are specified.
  14. Well that's a good sign. The 3.3V power means...

    Well that's a good sign. The 3.3V power means powerup sequence reached at least step 6 (of 8), details here:

    https://www.pjrc.com/store/ic_mkl02_t4.html

    Can you measure the voltage on the...
  15. Do you have a voltmeter? Probably time to check...

    Do you have a voltmeter? Probably time to check if the board has 5V power on VIN and 3V power at the 3.3V pin.
  16. They're not. All the capacitors are non-polar...

    They're not. All the capacitors are non-polar ceramic, like X5R & X7R. Don't read too much into the shape of the symbol on the schematic.
  17. Teensy 2.0 doesn't have USB D+ & D- test points. ...

    Teensy 2.0 doesn't have USB D+ & D- test points. There are no equivalent pads on those older boards. Only the newer Teensy models have this.
  18. Yes. Ok to omit the DP83825 if you don't need...

    Yes. Ok to omit the DP83825 if you don't need ethernet. Just don't run the NativeEthernet library or other code which accesses that chip.





    No. IMXRT fuses won't be set up properly if you...
  19. Opps, yes, it is indeed a typo. I've updated the...

    Opps, yes, it is indeed a typo. I've updated the website and github to properly show pin 20 for FS on Teensy 4.x.




    I want to help you, but as far as I know WMXZ's suggested connection is...
  20. As you read imxrt.h, hopefully you can see we've...

    As you read imxrt.h, hopefully you can see we've kept the names identical to register names in the reference manual, so you can just type any register name as it appears in NXP's documentation. ...
  21. Replies
    22
    Views
    1,538

    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...
  22. Replies
    2
    Views
    108

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

    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.
  25. 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...
  26. Replies
    5
    Views
    140

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

    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...
  29. Replies
    5
    Views
    162

    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...
  30. 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...
  31. Replies
    5
    Views
    162

    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...
  32. 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.
  33. Replies
    7
    Views
    135

    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...
  34. 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...
  35. Replies
    7
    Views
    135

    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...
  36. Maybe remove that yellow wire and look for any...

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

    25006
  37. Replies
    2
    Views
    89

    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.
  38. Replies
    5
    Views
    218

    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...
  39. 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.
    ...
  40. Replies
    17
    Views
    363

    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.
    ...
  41. 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...
  42. 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...
  43. 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...
  44. Replies
    12
    Views
    1,192

    Is is this product? ...

    Is is this product?

    https://www.pcgamingrace.com/products/glorious-model-o-white
  45. 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...
  46. Replies
    2
    Views
    118

    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...
  47. 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...
  48. 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...
  49. 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);
    ...
  50. 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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4