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

  1. The elapsed times are cycle accurate, but to...

    The elapsed times are cycle accurate, but to F_BUS (default 60 MHz), not F_CPU (default 180 MHz).
  2. Even though the IMXRT chip on Teensy 4.0 is...

    Even though the IMXRT chip on Teensy 4.0 is packed with powerful hardware, I don't see how any of that hardware is going to help you much with creating BCLK from LRCLK. There are 7 PLLs in the clock...
  3. Replies
    2
    Views
    35

    I'm guessing you're using the MIDI library...

    I'm guessing you're using the MIDI library by including MIDI.h, right?

    That library provides a turnThruOff() function. So if you've created an instance named MIDI1, you'd just put...
  4. It should work on Teensy 3.2 and 3.5, but you...

    It should work on Teensy 3.2 and 3.5, but you ought to monitor the voltage regulator's temperature under the heaviest load. Neither board has a dedicated heatsink, so all the heat has to be...
  5. Teensy 4.0 does not have 8 continuous pins on any...

    Teensy 4.0 does not have 8 continuous pins on any GPIO port. This was one of the painful trade-offs during the pre-beta discussion on assigning the pins and the changes made between the early 1052...
  6. For Teensy 3.2, connect LRCL to pin 23, DOUT to...

    For Teensy 3.2, connect LRCL to pin 23, DOUT to pin 13, and BCLK to pin 9.

    Connect GND the GND and 3V to 3.3V so that Adafruit module gets power.

    You can connect SEL to either GND or 3.3V. I2S...
  7. Replies
    5
    Views
    85

    Teensy LC wear levels 128 bytes over 2K of flash....

    Teensy LC wear levels 128 bytes over 2K of flash. NXP specifies the flash endurance at 10,000 write cycles minimum, 50,000 typical. NXP specifies 5 years minimum retention, 50 years typical. NXP...
  8. Replies
    4,295
    Views
    448,275

    No. USB uses only positive voltage relative to...

    No. USB uses only positive voltage relative to GND.




    If they were shorted together and both were in output mode and one tried to drive high while the other tried to drive low, that could...
  9. Replies
    78
    Views
    3,061

    Yup, I broke the show timestamp feature. ...

    Yup, I broke the show timestamp feature.




    Yes. The speedup work required replacing the normal serial monitor code structure with something that avoids making several copies of the high speed...
  10. Replies
    78
    Views
    3,061

    The serial monitor stopping after several minutes...

    The serial monitor stopping after several minutes on Macintosh definitely is a bug. I will eventually fix it. The important question right now is whether to hold off releasing 1.48. My feeling is...
  11. Mostly thinking about a future Teensy. The...

    Mostly thinking about a future Teensy.

    The main question here is whether one 12 bit DAC is sufficient? If not, what compelling applications truly require more than one built in DAC?
  12. Replies
    22
    Views
    934

    Maybe youíre thinking of Adafruit? They bundled...

    Maybe youíre thinking of Adafruit? They bundled loose pins with 3.2. Some other distributors do too.

    PJRC didnít does do that. From us, the ones with pins are soldered. Recently we changed the...
  13. Replies
    5
    Views
    130

    Have you tried the Encoder library?

    Have you tried the Encoder library?
  14. Replies
    22
    Views
    291

    Please try not to spread your question over...

    Please try not to spread your question over multiple threads on this forum. I know it must seem tempting, that by doing so you might reach a larger audience. But we're a fairly small community here...
  15. Please don't spread your same question over...

    Please don't spread your same question over multiple threads.

    Original is here:
    https://forum.pjrc.com/threads/57628-Any-work-with-USB-audio
  16. Replies
    22
    Views
    291

    Maybe give us a link to that page, so we can see...

    Maybe give us a link to that page, so we can see how they answer?
  17. If you're concerned about "overclocking", please...

    If you're concerned about "overclocking", please consider the electrical specs datasheet (footnote under table 57 on page 67) says 30 MHz is the max SPI speed regardless of how you internally...
  18. Replies
    6
    Views
    118

    Oh, opps, the stand alone Teensy Loader hasn't...

    Oh, opps, the stand alone Teensy Loader hasn't been updated yet.

    For now, you need to have Arduino 1.8.9 or 1.8.10 and then install Teensyduino. If using the brand new 1.8.10 version, you'll need...
  19. What applications truly need both Teensy 3.5 / 3.6 built in DACs?

    If you've used both built-in 12 bit DACs on Teensy 3.5 or 3.6, what was your application? Anything other than stereo audio?

    Or what sort of uses would you have for 2 (or possibly mode) DACs on...
  20. Replies
    78
    Views
    3,061

    This is a Linux thing. Or maybe just Ubuntu? ...

    This is a Linux thing. Or maybe just Ubuntu? I'm not sure, but I can tell you I also see it on Ubuntu 18.04, I didn't notice on older Ubuntu, and it does not happen on Windows and Macintosh.

    On...
  21. Replies
    22
    Views
    291

    It's all written from scratch, pretty much by me....

    It's all written from scratch, pretty much by me.

    Just this morning I wrote this message about the state of non-Serial USB stuff on Teensy 4.0.

    I definitely planning to implement 2 audio...
  22. USB host MIDI already works on Teensy 4.0. So...

    USB host MIDI already works on Teensy 4.0. So does regular serial MIDI.

    Sometime in October is pretty likely for USB MIDI device. It will appear here (this forum) first as a beta test version,...
  23. Replies
    135
    Views
    33,512

    I've added a comment in the CS42448 code with a...

    I've added a comment in the CS42448 code with a link to this thread.

    https://github.com/PaulStoffregen/Audio/commit/d4447df94dc29d56b165a3325bd7b0b6c9a9af76
  24. Replies
    5
    Views
    111

    It's probably not possible, at least in a highly...

    It's probably not possible, at least in a highly reliable way.



    There's certainly no API for this. You'll need to hack the low-level USB code in usb_dev.c.

    Maybe you'd try adding code into...
  25. Are you using the Arduino IDE to compile this...

    Are you using the Arduino IDE to compile this code? Or some non-Arduino system?
  26. Would you believe I've been considering doing...

    Would you believe I've been considering doing this for some time. The main challenge is making a small enough LED blink program with enough USB functionality to respond to Arduino's auto-reboot...
  27. For the sake of getting things working, I highly...

    For the sake of getting things working, I highly recommend you do it in a much simpler way without the pointers.

    Something like this...



    void AudioEffectNeuron::update(void)
    {
    ...
  28. Replies
    5
    Views
    88

    The (likely) reason it works perfectly with...

    The (likely) reason it works perfectly with Arduino Uno is because Arduino does use serial for uploading, and Arduino Uno has a dedicated USB-serial chip. As a result, your PC sees the same device...
  29. Replies
    5
    Views
    88

    My guess is a wrong Unix/Linux line discipline...

    My guess is a wrong Unix/Linux line discipline setting. The Linux kernel basically messes with incoming & outgoing data in ways that certain terminals need, which is great if you're using those...
  30. Replies
    78
    Views
    3,061

    I guess lower CPU use was a long shot. Pretty...

    I guess lower CPU use was a long shot. Pretty sure Apple hasn't changed much about that part of the OS in quite a long time.

    If you leave it running, does the serial monitor ever stop or freeze...
  31. The audio samples are 16 bits, but this code is...

    The audio samples are 16 bits, but this code is reading pairs of them into 32 bit variables. Because the CPU is 32 bit and the memory is 32 bits wide, this reads 2 samples at once for a 2X speedup. ...
  32. Replies
    4,295
    Views
    448,275

    @neurofun - Could I talk you into giving...

    @neurofun - Could I talk you into giving 1.48-beta1 a try on your Macs?

    https://forum.pjrc.com/threads/57609-Teensyduino-1-48-Beta-1

    I made some changes inside teensy_ports which might make it...
  33. Replies
    78
    Views
    3,061

    @Theremingenieur - Do you have a Teensy 4.0...

    @Theremingenieur - Do you have a Teensy 4.0 handy? Any chance you could run the USB print speed test and let me know how 10.15 does?

    On 10.14 Mojave it still uses a lot more CPU than Windows or...
  34. Replies
    8
    Views
    209

    Arduino published version 1.8.10, which shows a...

    Arduino published version 1.8.10, which shows a fix for MacOS 10.15 in the release notes.

    I've published Teensyduino 1.48-beta1 to support it.
    ...
  35. Replies
    1
    Views
    186

    Arduino 1.8.10

    Arduino released 1.8.10 this morning. Normally I notice within an hour or two and try to get a Teensyduino beta published within 24 hours.

    This time, I'm noticing 12 hours late, on a Friday...
  36. Replies
    9
    Views
    391

    i2c_t3 doesn't work on Teensy 4.0. You need to...

    i2c_t3 doesn't work on Teensy 4.0. You need to use the regular Wire library.
  37. We use a professional contract manufacturer for...

    We use a professional contract manufacturer for the board assembly. They have the usual pick and place machine and reflow oven used for surface mount soldering. They also have a solder paste...
  38. Which Teensy are you using? CAN bus really...

    Which Teensy are you using?

    CAN bus really sounds like the correct solution.

    If you're willing to use a not-so-correct solution, why reject the idea of random delays?

    The only sure way to...
  39. Just want to let you know I have this thread on...

    Just want to let you know I have this thread on my list of issues to investigate. At the rate things are going, there's no chance I will manage to seriously look at this until at least October. But...
  40. Replies
    26
    Views
    243

    In setup, add pinMode(), like this: void...

    In setup, add pinMode(), like this:



    void setup() {
    pinMode(13, OUTPUT);
    // Configure the pins for input mode with pullup resistors.

    In loop, add digitalWrite(), like this:
  41. If you're connecting a SD card to the SPI pins...

    If you're connecting a SD card to the SPI pins (11, 12, 13), then you can use any other digital pin for CS.

    If you're using the SD socket that's built into Teensy 3.6, use...
  42. Replies
    8
    Views
    209

    But I will briefly mention, all Mac code in...

    But I will briefly mention, all Mac code in Teensyduino is fully 64 bit. Unlike Arduino, we made the switch shortly before 10.14 to completely purge 32 bit stuff. I feel pretty confident we're in...
  43. Replies
    8
    Views
    209

    First, please let me give you some unpleasant but...

    First, please let me give you some unpleasant but realistic news. Supporting Apple's betas is a low priority. With the recent release of Teensy 4.0, you can read "low priority" to mean pretty much...
  44. I'm pretty sure Teensy's USB MIDI implementation...

    I'm pretty sure Teensy's USB MIDI implementation is class compliant. I wrote the code using the USBIF's "USB Device Class Definition for MIDI Devices" document, version 1.0 from Nov 1, 1999, and...
  45. Replies
    22
    Views
    934

    Like every other Teensy, we will add Teensy 4.0...

    Like every other Teensy, we will add Teensy 4.0 with pins soldered. But it's going to be a few more weeks. Look for them in October.
  46. Replies
    22
    Views
    934

    PCBs were delayed. It's going into production...

    PCBs were delayed. It's going into production Tuesday. So we're likely to start shipping on the 23rd.

    I already made a new test fixture which works with the prototype, and we ordered labels "For...
  47. Replies
    22
    Views
    934

    I have not personally tested PT8211 with Teensy...

    I have not personally tested PT8211 with Teensy 4.0. But I can tell you the 3 signals it needs are on different pins than they were with Teensy 3.x. You'll need to use wires or some other way to...
  48. Replies
    21
    Views
    1,093

    Yes, you're right. Thanks for noticing! I've...

    Yes, you're right. Thanks for noticing! I've updated the schematic.

    Also fixed the pins for the USB1 signals, which were off by 1 row.
  49. Replies
    4,295
    Views
    448,275

    Are you seeing "GUI update interrupted" print...

    Are you seeing "GUI update interrupted" print multiple times when the resize problem happens?

    Resizing or moving the window shouldn't cause Java to interrupt the thread. Normally the listener...
  50. Yup, just write to AIRCR. That's a register from...

    Yup, just write to AIRCR. That's a register from the ARM core, so it's usually not documented in the chip's reference manual.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4