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

  1. Replies
    15
    Views
    98

    If you believe there is still some bug involving...

    If you believe there is still some bug involving Teensy, I'm going to ask you to again post clear instructions to reproduce the problem, using Teensy without Arduino Micro or ESP8266.

    Otherwise,...
  2. Replies
    15
    Views
    98

    I was able to reproduce this problem. The bug is...

    I was able to reproduce this problem. The bug is in Moxa PComm Lite. Coolterm works perfectly.

    I tested both Teensy 2.0 and Teensy 4.0 with this code. Both respond properly to clicks on either...
  3. That's absurd. Of course Ethernet was...

    That's absurd. Of course Ethernet was considered. Same with the 24 bit LCD interface and camera interface and SDRAM bus and the 2nd FlexSPI port, none which aren't supported by Teensy 4.0.
    ...
  4. Replies
    25
    Views
    1,176

    Arduino on Windows and Linux has a self-contained...

    Arduino on Windows and Linux has a self-contained "portable mode". Teensyduino supports it.

    https://www.arduino.cc/en/Guide/PortableIDE

    Maybe this could help you? Sadly, it's not supported on...
  5. That's HID emulating serial, used together with...

    That's HID emulating serial, used together with MIDI. It's not a COM port at all.

    When you choose "MIDI" (without Serial), the USB support is build with this HID interface, so use of...
  6. SoftwareSerial on Teensy 3.6 only supports...

    SoftwareSerial on Teensy 3.6 only supports transmitting, unless you choose 2 pins which are a real serial port. But for the MIDI library, you should not use SoftwareSerial (on any board, not just...
  7. In Arduino, try File > Examples > Wire > Scanner

    In Arduino, try File > Examples > Wire > Scanner
  8. Please follow the "Forum Rule" which appears at...

    Please follow the "Forum Rule" which appears at the top of every page on this forum. Show a *complete* program. If using libraries other than the set Teensyduino installs, please clearly state...
  9. Replies
    15
    Views
    98

    I'm confused. Which board has a problem? Is it...

    I'm confused. Which board has a problem? Is it a Teensy, or an Arduino board, or FTDI chip?

    Just to be clear, if you've found a problem and want to see it investigated and fixed, you need to...
  10. Replies
    32
    Views
    350

    I ordered one of these PCM1802 boards. But it's...

    I ordered one of these PCM1802 boards. But it's coming from China. Estimate is 30 to 50 days for delivery!

    If @phil123456 returns, and I hope he does so we can fully resolve this issue, I'd like...
  11. Replies
    4
    Views
    95

    The right-side documentation panel in the design...

    The right-side documentation panel in the design tool, as Theremingenieur suggested, is the easiest place.

    But if you don't like easy-to-read documentation, you can always just read the .h files...
  12. Replies
    59
    Views
    2,214

    Sticky: Yes, seems so. Arduino 1.8.11 uses AdoptOpenJDK...

    Yes, seems so. Arduino 1.8.11 uses AdoptOpenJDK Java, which causes trouble on some systems.

    Arduino 1.8.12 was recently released, reverting back to Oracle Java. Please give 1.8.12 a try, using...
  13. Are pins 18 and 19 still showing no voltage? ...

    Are pins 18 and 19 still showing no voltage?

    If so, try measuring the 3.3V power on the bottom right corner behind the headphone jack, of course with the multimeter negative lead touching the USB...
  14. Me too. Any chance you can give me enough info...

    Me too.

    Any chance you can give me enough info & code to reproduce this here. I have 5 macs here that I use for testing and developing Teensy's support for MacOS. They run MacOS versions 10.15,...
  15. Maybe this can help? ...

    Maybe this can help?

    https://forum.pjrc.com/threads/42221-Audio-Library-and-4096-point-FFT-on-Teensy-3-6

    But if your signal isn't perfectly phase sync'd to the FFT's 4096 samples (which pretty...
  16. Replies
    32
    Views
    350

    Use your scope to view LRCLK, BCLK and DATA, as I...

    Use your scope to view LRCLK, BCLK and DATA, as I tried to explain in msg #26. If you need more help to do that, just ask.

    I have a hunch the waveforms are going to turn out to be left justified...
  17. Replies
    32
    Views
    350

    Since you have a scope, I'd recommend using it to...

    Since you have a scope, I'd recommend using it to watch LRCLK, BCLK and DATA. Set your scope to trigger on LRCLK.

    My guess is you'll see the bits immediately after LRCLK flickering wildly. If...
  18. Replies
    32
    Views
    350

    Look, this isn't the first time. Over and over...

    Look, this isn't the first time. Over and over this same conversation has come up on this forum, where someone misreads the datasheet and believes their chip expects exactly 24 BCLK clocks per phase...
  19. Replies
    32
    Views
    350

    Those wrong waveforms have recognizable 1-2 ms...

    Those wrong waveforms have recognizable 1-2 ms chunks of the input waveform. So focusing on clock ratios is very likely a huge distraction from the real problem.

    My 2 guesses from looking at...
  20. I've updated the datasheets page with this latest...

    I've updated the datasheets page with this latest version.

    https://www.pjrc.com/teensy/datasheets.html
  21. Either will work. AGND sometimes gives lower...

    Either will work. AGND sometimes gives lower noice performance for analog circuits. Always use regular GND for digital stuff. AGND is meant for sensitive analog.
  22. No worries on the current. No significant...

    No worries on the current. No significant current flows into the Teensy pin when it's an analog input. So the only current is 3.3V / 100Kohm, which is only 33 uA.

    But 100K is a little on the...
  23. Or if you really want to use String, just use...

    Or if you really want to use String, just use .c_str() to get a C style string for play(). Like this:



    playSdWav2.play(mySounds[tracknum].c_str());
  24. These usage page and usage index numbers...

    These usage page and usage index numbers distinguish the RawHID interface from other HID interfaces on the same device.


    // C-based example is 16C0:0480:FFAB:0200
    r =...
  25. Short answer: you can leave that wire out. It's...

    Short answer: you can leave that wire out. It's not used and never will be.

    Long ago, like in mid-2012, I imagined someday supporting USB host on Teensy 3.0. If you look at the 3.0 schematic,...
  26. Replies
    5
    Views
    151

    I too had hoped for DACs. Believe me, I've...

    I too had hoped for DACs. Believe me, I've repeatedly begged for DACs from my contacts within NXP. We are getting 1 DAC in the next chip, which is a lot better than none, but I'm pretty sure it's...
  27. Replies
    12
    Views
    211

    Indeed the main focus has been compatibility with...

    Indeed the main focus has been compatibility with Arduino and the large ecosystem of Arduino libraries and examples.
  28. Replies
    10
    Views
    207

    Check out this 31 page audio library tutorial. ...

    Check out this 31 page audio library tutorial. It coves a *lot* of audio stuff beyond just playing files, but the first parts are all about playing WAV files. :)
    ...
  29. Replies
    5
    Views
    151

    ARM announced Cortex-M55 this week, also with...

    ARM announced Cortex-M55 this week, also with vector processing for machine learning & signal processing. It's almost certain to become Teensy 5.x... in 2-3 years when chips become available.
  30. Glad that old SPI article helped. :)

    Glad that old SPI article helped. :)
  31. If you're using the default FastLED driver, try...

    If you're using the default FastLED driver, try adding this before the FastLED.h include.


    #define FASTLED_ALLOW_INTERRUPTS 0

    Usually interrupt problems manifest as flicker or corruption after...
  32. Sorry, I don't have time to review your code.

    Sorry, I don't have time to review your code.
  33. Delete or move this not-for-Teensy copy of Wire...

    Delete or move this not-for-Teensy copy of Wire out of your Documents / Arduino / libraries folder.

    Arduino lets you override any library by placing a copy in that folder. It's meant to let you...
  34. Replies
    6
    Views
    240

    Ok, published 1.51-beta. This time about 4 hours...

    Ok, published 1.51-beta. This time about 4 hours after Arduino released.

    https://forum.pjrc.com/threads/59566-Teensyduino-1-51-Beta-1
  35. Also consider that some WS2812 LEDs (NeoPixel) do...

    Also consider that some WS2812 LEDs (NeoPixel) do not work with 3.3V signals.

    But most newer ones do accept 3.3V, as do the very oldest ones.
  36. Are you sure that works on normal Arduino? I...

    Are you sure that works on normal Arduino? I don't see how it could, since you're missing "strip.begin();" to initialize the library.

    I tested just now with a Teensy 3.2 and the missing line...
  37. Replies
    6
    Views
    240

    There's always more to do! I was hoping to get...

    There's always more to do!

    I was hoping to get OctoWS2811 and USB Audio running on Teensy 4.0 for the next release. Might look at those this weekend, but not going to hold up 1.51 if they're not...
  38. Replies
    6
    Views
    240

    Arduino 1.8.12

    Arduino just released IDE version 1.8.12. I'm working now on a Teensyduino installer to support it.
  39. Pins 18 and 19 should definitely measure 3.3V...

    Pins 18 and 19 should definitely measure 3.3V (when the voltmeter's negative is connected to GND). Pins 18 and 19 are signals SDA & SCL, which are connected to 2K resistors on the audio shield. ...
  40. To make sure it really can work with this sort of...

    To make sure it really can work with this sort of wiring, I connected it on my desk here. I can confirm I'm hearing it play the Synth > Guitar example. Here's a few photos.

    19046

    19047
    ...
  41. Ok, I've put this on my list of issues to...

    Ok, I've put this on my list of issues to investigate. I can't promise I'll get to it quickly, but it is on the list so I won't forget.
  42. Can you help me to reproduce it in Arduino? ...

    Can you help me to reproduce it in Arduino? Please post that test program here on a forum message, so I can just copy it into Arduino and upload to a Teensy here to reproduce the issue.

    I did...
  43. If you find any example which uses the audio...

    If you find any example which uses the audio shield, you can just swap out the I2S output for a DAC output, and delete the SGTL5000 stuff about controlling the shield.

    To see how this is done,...
  44. Oh, that's a lot of wires! Are you're sure...

    Oh, that's a lot of wires! Are you're sure they're all connected properly?

    Maybe try removing all the non-essential wires. To make sound play, you only need 8 wires: GND, 3.3V, 18, 19, 9, 11,...
  45. The answer really depends on what's meant by...

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

    There is no simple & easy way to do this with the current USB code. It's all designed around a single packet / token per polling interval....
  46. Looking at your latest photo, I'm wondering if...

    Looking at your latest photo, I'm wondering if you have actually soldered the pins to the audio shield?

    19022

    Getting it to work even partially is pretty lucky if you're just placing the pins...
  47. Yes, those 3. You can also access those 3 on...

    Yes, those 3. You can also access those 3 on pads on the bottom side of the board near the edge.




    Possible by unlikely.

    Usually hardware damage will prevent any sort of sound output.
    ...
  48. Replies
    4
    Views
    99

    What is the pot's resistance? For higher...

    What is the pot's resistance?

    For higher values (over 25K), you might try adding a small ceramic capacitor between the analog pin and AGND. Capacitors between 470 pF to 0.1 uF work fine.

    Lower...
  49. Is there any reason to believe the u8g2 problem...

    Is there any reason to believe the u8g2 problem is with Teensy's SPI library, or other code provided by Teensyduino?
  50. Yes, it should work as you've connected it. ...

    Yes, it should work as you've connected it.

    Sometimes connecting to a grounded system can cause this sort of problem, as it effectively shorts the VGND to GND (as the note on the bottom of the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4