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. I completed the upgrade to MacOS 10.15.5. Ran...

    I completed the upgrade to MacOS 10.15.5. Ran the test again, GUI Teensy Loader version 1.52. with file "adaptffbjoy-r54.hex". No terminal window open, no use of the command line loader. I pressed...
  2. Replies
    14
    Views
    201

    If I had only 15 minutes to try to reproduce this...

    If I had only 15 minutes to try to reproduce this problem, what should I try? The code on msg #8, right? I have a Macbook Air with 10.15.5. It does *not* have Max/MSP software. Will just playing...
  3. Replies
    4
    Views
    42

    Why are you using CP_Firmata.h rather than...

    Why are you using CP_Firmata.h rather than regular Firmata.h ?
  4. Are you using Mac, Linux or Windows. Which...

    Are you using Mac, Linux or Windows. Which version? If Linux, double check you have the latest udev rules (they were updated months ago for a new ModemManger bug).
  5. I agree with Frank, the best solution is to use...

    I agree with Frank, the best solution is to use Teensy 3.2 with a coin cell on VBAT. Then you can store this data in the battery supported RTC memory.

    Another good approach would be to add a FRAM...
  6. I really don't know what else you could try,...

    I really don't know what else you could try, other than maybe use a different Mac or a PC?

    You can see in the video on msg #8 how it should work. I'm updating that Macbook Air to 10.15.5 right...
  7. Replies
    7
    Views
    153

    Scroll down to the bottom of the MKL02 page,...

    Scroll down to the bottom of the MKL02 page, until you find the "Troubleshooting" section:

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

    The most common problems and solutions are explained in that...
  8. Looks like you're running both the GUI and...

    Looks like you're running both the GUI and command line loaders at the same time! Of course they're conflicting, as they're both trying to talk to the same Teensy.

    Run only 1 of them.
  9. Replies
    7
    Views
    135

    Today, no. In the future, maybe.

    Today, no. In the future, maybe.
  10. Here's a quick video so you can see how I tested....

    Here's a quick video so you can see how I tested. Hopefully this helps?


    https://www.youtube.com/watch?v=4cqYX9S-Wy8
  11. I was able to upload this .hex file to a Teensy...

    I was able to upload this .hex file to a Teensy 2.0 using my Macbook Air running Catalina 10.15.4 and Teensy Loader 1.52. I did the upload many times. No errors.
  12. 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...
  13. Replies
    1
    Views
    45

    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...
  14. Replies
    2
    Views
    36

    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.
  15. Replies
    14
    Views
    201

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

    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...
  17. 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...
  18. 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...
  19. Replies
    14
    Views
    201

    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...
  20. Replies
    105
    Views
    11,311

    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...
  21. 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...
  22. Replies
    16
    Views
    213

    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...
  23. 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...
  24. Replies
    16
    Views
    205

    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?
  25. Replies
    16
    Views
    205

    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.
  26. Replies
    16
    Views
    205

    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...
  27. 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...
  28. 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
    ...
  29. 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...
  30. Replies
    1
    Views
    53

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

    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...
  32. Replies
    5
    Views
    121

    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...
  33. 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...
  34. 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...
  35. 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...
  36. 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...
  37. Replies
    2
    Views
    106

    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...
  38. Replies
    2
    Views
    70

    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...
  39. 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...
  40. 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...
  41. Replies
    11
    Views
    225

    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...
  42. Can you try compiling your code in Arduino with...

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

    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...
  44. Replies
    18
    Views
    891

    Hypothetically speaking, where do you imagine...

    Hypothetically speaking, where do you imagine that PSRAM chip could fit onto Teensy 4.0?
  45. 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.
  46. Replies
    24
    Views
    944

    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
    ...
  47. Replies
    5
    Views
    190

    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...
  48. 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...
  49. Replies
    24
    Views
    944

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

    I've added the compatibility metadata with these commits.

    https://github.com/PaulStoffregen/Audio/commit/deddf6ad40a795f67c3128bab52da8577558d456...
  50. Replies
    24
    Views
    944

    @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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4