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. Yup, looks like it's using the wrong one. ...

    Yup, looks like it's using the wrong one. Easiest way is to just delete the copy it shouldn't be using.
  2. I purchased a MAX98357 breakout board. I'm...

    I purchased a MAX98357 breakout board. I'm listening to it right now, with the Synth > Guitar example (no edits, not even removing the SGTL5000 stuff).

    It's quite loud, definitely working!
    ...
  3. Replies
    5
    Views
    72

    Good to hear 12 Mbit/sec is working. Maybe my...

    Good to hear 12 Mbit/sec is working. Maybe my fears of so little testings are a bit on the paranoid side.
  4. Replies
    5
    Views
    72

    Sadly, the only one I've tested so far (and the...

    Sadly, the only one I've tested so far (and the only one I've found that's affordable) I can confirm does *NOT* work.

    https://hifimediy.com/high-speed-usb-isolator-480Mbps

    However, their 12...
  5. Connect it like this: 19193 DO NOT use...

    Connect it like this:

    19193

    DO NOT use wires. It must be mounted close to the audio shield, because rev B does not have the extra 100 ohm resistor on MCLK.
  6. First, answers I can give... If you're sending...

    First, answers I can give...

    If you're sending data in only 1 direction, from Uno to Teensy, you only need 1 signal plus GND. If using Teensy 3.2 or 3.5, you can connect it directly to Teensy's...
  7. Yes, there is indeed a way. Use the non-blocking...

    Yes, there is indeed a way. Use the non-blocking WS2812Serial library instead of the blocking Adafruit_NeoPixel.

    However, the copy of WS2812Serial included with Teensyduino does not support...
  8. The rev D audio shield...

    The rev D audio shield uses those pins. It definitely does work.
  9. Replies
    3
    Views
    83

    Without knowing the bandwidth, resolution, DC...

    Without knowing the bandwidth, resolution, DC accuracy, reference stability or other specs required, I'm going to guess you'll be happiest with "bunch of I2C DACs".

    Then again, if you need full...
  10. Replies
    4
    Views
    102

    You'll probably hit CPU usage problems long...

    You'll probably hit CPU usage problems long before running short on memory. The modulated waveform synth code uses very little memory. Usually memory issues come up when you use lots of effects...
  11. Any chance for photos?

    Any chance for photos?
  12. Replies
    22
    Views
    2,037

    In case anyone's wondering, I did download the...

    In case anyone's wondering, I did download the MIDI 2.0 spec. Will read through it "soon".

    But I'm not going to actually *do* anything until at least one operating system has a driver and at...
  13. Protection measures like capacitors and TVS...

    Protection measures like capacitors and TVS diodes can be much more effective if there is a resistor in series, between them and the horribleness of the outside world.
  14. Replies
    15
    Views
    443

    I downloaded the spec. Haven't read any of it...

    I downloaded the spec. Haven't read any of it yet.

    Just to be clear, I have absolutely no plans to touch MIDI 2.0 until at least 1 of the major operating systems has a driver and at least some...
  15. Try adding this: pinMode(23, INPUT_DISABLE); ...

    Try adding this:

    pinMode(23, INPUT_DISABLE);

    Does it help?
  16. Many people have successfully used USB serial...

    Many people have successfully used USB serial communication with Teensy from software other than Arduino. It definitely does work. If you believe it does not, I recommend running CoolTerm, which is...
  17. First to answer your question, yes, if you want...

    First to answer your question, yes, if you want more you can edit IntervalTimer.h to remove this limit.



    if (cycles < 17) return false;


    But now that you have your answer,...
  18. Replies
    102
    Views
    153,323

    Sticky: @Mike118 - You need to email us directly. In...

    @Mike118 - You need to email us directly. In your email, don't forget to tell us about your company. We will not approve you as a distributor if you don't give us a clear picture of your company.
    ...
  19. Simple template, no. Simple guidance, sure. ...

    Simple template, no.

    Simple guidance, sure. Just add a pointer in your C++ class to retain access to the 2nd block. Make sure it's NULL normally. Then in your update function, check whether...
  20. Replies
    3
    Views
    88

    No "PINA" register has ever existed on Teensy...

    No "PINA" register has ever existed on Teensy 3.2.

    We do have software emulation of some AVR register names, but PINA is not among those. Those AVR names aren't real hardware registers. They are...
  21. Replies
    15
    Views
    443

    Starting 1.52 Beta Soon

    Planning to start 1.52 beta soon. Now's a good time to remind me of libraries and contributions I should merge.

    Over the weekend I worked on USB audio for Teensy 4.0. I also merged a...
  22. Please follow the "Forum Rule" (in red at the top...

    Please follow the "Forum Rule" (in red at the top of every page) when something doesn't work. There could be many reasons why that code isn't working, but nobody can help if you don't show enough of...
  23. Before you dive into AudioStream.cpp...

    Before you dive into AudioStream.cpp, maybe try creating and destroying audio connections on the heap with C++ new / delete.

    Again, do not create these objects on the stack (eg, local variables)...
  24. All the source code is in the audio lib and core...

    All the source code is in the audio lib and core lib, so you certainly can try to modify it.

    Whether that's considered "easily" really depends upon you - how good your programming skill is and...
  25. Usually the best approach is to use the mixer and...

    Usually the best approach is to use the mixer and amp with gain of 0.0 and 1.0. Zero gain is handled as turning off the flow of data, and gain of 1.0 passes data through without any math, so it...
  26. No, the headphone output can not be used an an...

    No, the headphone output can not be used an an input. It's output only.



    Yes. That is the way to get a signal in.



    This should be possible. It's probably easier on Teensy 4.0, since...
  27. Were you using a USB protocol analyzer or some...

    Were you using a USB protocol analyzer or some other way to view the USB tokens & packets?

    Every time this subject comes up, while I know it's extremely unlikely, I kinda do hope a little to see...
  28. Replies
    6
    Views
    986

    Clock generation on Teensy 4.0 is very different...

    Clock generation on Teensy 4.0 is very different from Teensy 3.x. Pin muxes also have small but important differences. Audio I/O code written for Teensy 3.6 can't just automatically work on Teensy...
  29. Looks like you're blinking the LEDs with busy...

    Looks like you're blinking the LEDs with busy loop delays.

    Are you planning to write your own drivers for any of the peripherals? If you attempt USB, I'd be curious to see what you create.
  30. Replies
    5
    Views
    118

    Alternately, on your Mac you can click the Apple...

    Alternately, on your Mac you can click the Apple menu and "About This Mac". Then click "System Report" and click "USB" in the left column. It will show a list of all USB devices connected to your...
  31. Replies
    5
    Views
    118

    Yup, we've heard this over and over on this forum...

    Yup, we've heard this over and over on this forum - tried 2, 3, 4, even 5 different short cables - all of them without data wires!

    Those charge-only cables tend to accumulate in people's spare...
  32. Replies
    5
    Views
    118

    We've seen this problem many times. It almost...

    We've seen this problem many times. It almost always turns out to be a charge-only USB cable.

    Get another known-good USB cable.
  33. Maybe look at the startup code, which configures...

    Maybe look at the startup code, which configures the main 3 PLLs and most essential parts.

    https://github.com/PaulStoffregen/cores/blob/master/teensy4/startup.c
    ...
  34. It's trying to run "rm" to delete a file. ...

    It's trying to run "rm" to delete a file.

    Either install a "rm" program, or edit the makefile to use dos "del" command.
  35. Replies
    9
    Views
    362

    Consider ARM announced Cortex-M7 in 2014. A...

    Consider ARM announced Cortex-M7 in 2014. A couple years later, Atmel, Freescale & ST released expensive, power hungry M7 chips running between 200 to 300 MHz. It wasn't until NXP made iMXRT in...
  36. Replies
    1
    Views
    55

    Yes, it does indeed. ...

    Yes, it does indeed.

    https://github.com/PaulStoffregen/cores/blob/master/teensy4/analog.c#L210
  37. Any chance you're running all of Teensy's current...

    Any chance you're running all of Teensy's current though extremely thin, low-quality wires? Like these...

    19139

    If you have wires like this, try measuring them with an ohm meter. Some are so...
  38. Remember, 1K is 1024 bytes, not 1000 bytes, and a...

    Remember, 1K is 1024 bytes, not 1000 bytes, and a 2M chip is 2048K.

    2031616 bytes is 1984K.



    The bootloader simply does not erase or write to the top 64K. No special partitioning is done by...
  39. Yes, Rev C is for Teensy 3.x. If you use wires...

    Yes, Rev C is for Teensy 3.x.

    If you use wires to route the signals to the correct pins, Rev C can work with Teensy 4.0. But it will not work when plugged in directly, because the five I2S...
  40. Replies
    3
    Views
    147

    Yes and no. Yes, when Teensy 4.1 is released,...

    Yes and no.

    Yes, when Teensy 4.1 is released, of course we will publish all the usual info, the same as is done for every other Teensy.

    But until then, no. It's not a released product yet. ...
  41. I put the code on GitHub. ...

    I put the code on GitHub.

    https://github.com/PaulStoffregen/TopOctaveGenerator
  42. Of course, if you use the audio library...

    Of course, if you use the audio library and audio shield, you can synthesize and software mix about 100 waveforms, with control of the waveform shape and features like frequency or phase modulation,...
  43. Quick followup to this old thread, when Teensy...

    Quick followup to this old thread, when Teensy 3.6 was the latest board.

    Now Teensy 4.0 is available, with PWM capable of 18 independent frequencies. So this is now very easy. :)



    // Top...
  44. Yes, Teensy 4.0 has PWM pins which can generate...

    Yes, Teensy 4.0 has PWM pins which can generate 18 independent frequencies!



    // Top Octave Generator

    void setup() {
    analogWriteFrequency(2, 4186.01);
    analogWriteFrequency(4, 4434.92);...
  45. Good choice. Teensy LC can do quite a lot if...

    Good choice.

    Teensy LC can do quite a lot if you work hard on the programming, and it's wonderful for small projects. But building more ambitious projects is much more enjoyable on Teensy 3.x and...
  46. Try comparing with the example Makefile ...

    Try comparing with the example Makefile

    https://github.com/PaulStoffregen/cores/blob/master/teensy4/Makefile

    Looks like -mfpu=fpv5-d16 and -DARDUINO_TEENSY40 may be missing or incorrect.
  47. At this point we're waiting on components. ...

    At this point we're waiting on components.

    While distributors are still promising the same lead times, whether the coronavirus quarantines in China will affect the global supply of electronic...
  48. Replies
    2
    Views
    50

    Yes, all Teensy models are lead free and rohs...

    Yes, all Teensy models are lead free and rohs compliant. The pins are added using left-free solder which is rosh compliant.
  49. Replies
    29
    Views
    2,107

    I'm considering whether to release 1.51 now, as...

    I'm considering whether to release 1.51 now, as it is... or to merge a number of contributions and spend the next week on a couple widely requested features... which would require a couple more weeks...
  50. Replies
    2
    Views
    114

    That's how we tested the SD interface, with the...

    That's how we tested the SD interface, with the breakout boards.

    https://www.pjrc.com/breakout-board-for-teensy-4-0/

    The pads on the bottom of the PCB are designed for a FFC connector, part...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4