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

  1. Will you please share the .hex file you used? ...

    Will you please share the .hex file you used? That way I can try to reproduce this problem on my Macbook Air with Catalina, using the exact same file you were using.

    If using "Quick Reply", click...
  2. Replies
    1
    Views
    27

    No. USB does not work that way. Even though...

    No. USB does not work that way.

    Even though it's called universal serial "bus", devices like Teensy do not have any opportunity to observe the device-to-host communication of other devices. Even...
  3. Replies
    2
    Views
    20

    Yes, this is normal. A second HID interface is...

    Yes, this is normal.

    A second HID interface is created to emulate Serial, so you can use Serial.print() and have it appear in the Arduino Serial Monitor even with there is no COM port.
  4. Replies
    10
    Views
    130

    To directly answer your questions, 1:...

    To directly answer your questions,

    1: Somewhere between "fairly hard" to "almost impossible" depending on your level of skill and whether you have hardware or software to reliably view the USB...
  5. Replies
    16
    Views
    196

    Yes, exactly. Likewise all the code in that...

    Yes, exactly. Likewise all the code in that folder is written for Teensy's specific hardware, so all the Arduino functions which access hardware actually work properly on Teensy.

    To answer your...
  6. Here's a closer look at the PWM output to audio...

    Here's a closer look at the PWM output to audio shield input connection.

    20432

    The whole thing is mounted on a test board that just routes all 48 pins of the Teensy 4.1 to 3 sockets. I plugged...
  7. I tested this today. It seems to work fine. ...

    I tested this today. It seems to work fine.

    To test, I used 4 PWM pins and with 10K resistors and 0.1 uF capacitors to as low-pass filters, to create 4 distinctive test waveforms. I connected...
  8. Replies
    10
    Views
    130

    I can't say exactly what's happening in your...

    I can't say exactly what's happening in your case. I don't have it set up here to investigate. But I can answer your questions about the general design.

    USB audio has 3 ways to deal with small...
  9. Replies
    105
    Views
    11,200

    That hardware compatibility check only works if...

    That hardware compatibility check only works if the .elf file corresponding to the .hex file is present in the same folder, and only if the .elf file was built by gcc using settings similar to what's...
  10. It compiles here without any errors on Linux. ...

    It compiles here without any errors on Linux.

    20422

    This really should work on Windows too. My best guess is your Teensyduino install might be corrupted. Maybe Windows Defender or some other...
  11. Replies
    16
    Views
    196

    Yes. In fact, here's a quick test created by...

    Yes.

    In fact, here's a quick test created by just copying the audio library code. The only change is the DREQ flag, so the DMA stops when it gets to the end of the buffer rather than infinitely...
  12. Any chance you might share a small but complete...

    Any chance you might share a small but complete program to demonstrate the problem?

    If no code is posted here to reproduce the problem, I'm afraid the reality is this issue will never be...
  13. Replies
    16
    Views
    165

    Whatever happens, please do send some feedback to...

    Whatever happens, please do send some feedback to OSH Park. Maybe they'll consider more durable packaging material?
  14. Replies
    16
    Views
    165

    The part closest to pins 7, 8 and pad 33 is the...

    The part closest to pins 7, 8 and pad 33 is the inductor.

    The one above it is the 10 uF capacitor and the smaller one to the right is the 4.7 uF capacitor.
  15. Replies
    16
    Views
    165

    Those are these 3 parts on the schematic. ...

    Those are these 3 parts on the schematic.

    20414

    The part closest to pins 7, 8 and pad 33 is the inductor. You can use a wire or any ferrite bead rated for 100 mA or higher. The other 2 do...
  16. Indeed that is all it does, just connect Teensy...

    Indeed that is all it does, just connect Teensy to the display.




    You don't need that circuit board. It's just wires and 1 resistor. But it sure is convenient if you retest the library every...
  17. Teensy 4.0 & 4.1 have S/PDIF input. Details here...

    Teensy 4.0 & 4.1 have S/PDIF input. Details here (right side documentation column)

    https://www.pjrc.com/teensy/gui/?info=AudioInputSPDIF3
    ...
  18. Did you connect 3.3V power to the processor's...

    Did you connect 3.3V power to the processor's VBAT pin?

    Check the troubleshooting info at the bottom of the MKL02 page.

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

    When the processor runs the...
  19. Replies
    1
    Views
    41

    Yes, the MPU would be 1 reason... By default...

    Yes, the MPU would be 1 reason...

    By default the memory ranges not normally used for code are configured with NOEXEC. It's meant as a security precaution. So you would need to edit this code in...
  20. Replies
    5
    Views
    102

    The next result is the timing varies by approx...

    The next result is the timing varies by approx +/- 1 bit time, which is about 32 us at 31250 baud. Other very minor differences can also be seen. Here's a screen grab from the scope:

    20410

    A...
  21. Replies
    5
    Views
    102

    No, probably not a valid assumption. The exact...

    No, probably not a valid assumption. The exact timing behavior will depend on many fine details of the internal design of those UARTs, which NXP doesn't publish. But we do know some things. The...
  22. Sure, just edit...

    Sure, just edit {Arduino}/hardware/teensy/avr/boards.txt

    Looks like we already have the support code in mk20dx128.c to implement those speeds. But of course that code should be considered...
  23. You're using Teensy 4.0 which does not have any...

    You're using Teensy 4.0 which does not have any 1.2 volt reference for its ADC. That hardware only exists on Teensy 3.x. On Teensy 4.0 the ADC always uses the 3.3V power as its reference. That's...
  24. This should be able to work, if the oscillator is...

    This should be able to work, if the oscillator is able to drive the on-chip capacitor. A resistor between the oscillator and Teensy pin might be a good idea to limit the current if the oscillator...
  25. In Arduino, click File > Examples > Teensy >...

    In Arduino, click File > Examples > Teensy > USB_MIDI > InputRead. Upload it, then open the Arduino Serial Monitor to watch your Teensy print info about each incoming MIDI message.

    If you're...
  26. Replies
    2
    Views
    89

    Use File > Preferences to turn on verbose info...

    Use File > Preferences to turn on verbose info while compiling.

    Then Arduino will show you the exact gcc commands it is using to compile your program. Most of these just change the -O...
  27. Replies
    2
    Views
    59

    Teensy 4.0 does not support this. The fuse bits...

    Teensy 4.0 does not support this. The fuse bits are set to the unlocked configuration.

    We make in the (likely distant) future have a way to support encrypted code, but that is not currently in...
  28. Liquid flux, bright lighting and a good magnifier...

    Liquid flux, bright lighting and a good magnifier can make a huge difference in soldering small parts.

    Tin/lead solder is much easier than lead-free.

    A good soldering iron also helps, but often...
  29. Servo.h and AudioOutputAnalog don't play nice...

    Servo.h and AudioOutputAnalog don't play nice with each other on Teensy 3.x. They both want the PDB timer.

    The simplest solution is to use PWMServo.h rather than Servo.h. But PWMServo only...
  30. Replies
    11
    Views
    206

    While not good, normal I2C pullup resistors to 5V...

    While not good, normal I2C pullup resistors to 5V should not kill Teensy 4.0 or 4.1. The chip has ESD protection diodes. NXP doesn't rate them for handling any level of continuous current, but in...
  31. Can you try compiling your code in Arduino with...

    Can you try compiling your code in Arduino with Teensyduino 1.52?
  32. Replies
    2
    Views
    67

    Which version of Teensy Loader are you using. In...

    Which version of Teensy Loader are you using. In the small Teensy window, click Help > About (or Teensy > About if using Macintosh) to see the version.

    A bug with daylight savings time was fixed...
  33. Replies
    18
    Views
    861

    Hypothetically speaking, where do you imagine...

    Hypothetically speaking, where do you imagine that PSRAM chip could fit onto Teensy 4.0?
  34. Maybe this thread can help? ...

    Maybe this thread can help?

    https://forum.pjrc.com/threads/60557-48kHz-8i80-USB-Audio

    I might add more USB audio features in the future, but right now other things are a higher priority.
  35. Replies
    24
    Views
    926

    Progress is being made. Here's links to the...

    Progress is being made. Here's links to the github activity, in case anyone following this thread is interested.

    https://github.com/PaulStoffregen/Audio/pull/346/files
    ...
  36. Replies
    5
    Views
    179

    To take a step back, how does one go about...

    To take a step back, how does one go about choosing anything when the number of possible choices is overwhelming?

    There are 2 ways to think about choosing, which I’ve heard called maximizing...
  37. I use the Beagle 480 (not "power" or "ultimate")....

    I use the Beagle 480 (not "power" or "ultimate"). It works well, though the $1200 prices puts it pretty far outside of hobbyist use.

    The class level decoding is nice. I don't understand why they...
  38. Replies
    24
    Views
    926

    I've added the compatibility metadata with these...

    I've added the compatibility metadata with these commits.

    https://github.com/PaulStoffregen/Audio/commit/deddf6ad40a795f67c3128bab52da8577558d456...
  39. Replies
    24
    Views
    926

    @Frank - Now I see what you were trying to do...

    @Frank - Now I see what you were trying to do with the colors and device info. Detecting compatibility between the many inputs and outputs is something I've wanted to do for a very long time. I've...
  40. Replies
    20
    Views
    6,438

    I've added this to my list of bugs to fix.

    I've added this to my list of bugs to fix.
  41. Replies
    9
    Views
    144

    Here is the info where Arduino is considering...

    Here is the info where Arduino is considering trying this.

    https://github.com/arduino/Arduino/pull/10234

    Sorry, been really busy here. Haven't had time to try cobbling together a test copy...
  42. But the only electrical spec about the amount of...

    But the only electrical spec about the amount of hysteresis is only in the part about I2C pins. So hard to know....
  43. Figure 10-5 in the ATMEGA32U4 datasheet seems to...

    Figure 10-5 in the ATMEGA32U4 datasheet seems to say all the digital inputs have schmitt trigger.

    20303
  44. Are there forum threads or blog posts I can use...

    Are there forum threads or blog posts I can use for links?
  45. I've learned the hard way about publishing...

    I've learned the hard way about publishing documentation on the main website for new features before or during beta testing. That's why I'm working now to get all the documentation updated for the...
  46. Have you considered adding a library.properties...

    Have you considered adding a library.properties file, and submitting it to Arduino for inclusion in the library manager?

    Details here, under "How can I add my library to Library Manager?"
    ...
  47. As a quick check, try running the Wire library's...

    As a quick check, try running the Wire library's Scanner example.

    Does it correctly detect when the BNO055 is disconnected?
  48. If you're familiar with serial MIDI on Arduino...

    If you're familiar with serial MIDI on Arduino Mega, one minor detail that commonly comes up is the need for different resistors with 3.3V signals. Details here:
    ...
  49. Replies
    13
    Views
    213

    Pretty sure you didn't select Triple Serial...

    Pretty sure you didn't select Triple Serial (which is the *only* way that works). I tried it here as a quick sanity check. It definitely does work. Here's a screenshot where you can see clicking...
  50. Use SD.begin(BUILTIN_SDCARD) to cause the SD...

    Use SD.begin(BUILTIN_SDCARD) to cause the SD library to access the SD socket on Teensy 4.1.

    The comments in all the SD library examples mention this only for Teensy 3.5 and 3.6. I've committed an...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4