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

  1. Replies
    4,291
    Views
    445,646

    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...
  2. Replies
    35
    Views
    1,378

    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...
  3. Replies
    35
    Views
    1,378

    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...
  4. 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?
  5. Replies
    19
    Views
    776

    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...
  6. Replies
    3
    Views
    60

    Have you tried the Encoder library?

    Have you tried the Encoder library?
  7. Replies
    14
    Views
    172

    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...
  8. 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
  9. Replies
    14
    Views
    172

    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?
  10. 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...
  11. Replies
    6
    Views
    84

    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...
  12. 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...
  13. Replies
    35
    Views
    1,378

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

    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...
  15. 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,...
  16. Replies
    135
    Views
    33,396

    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
  17. Replies
    5
    Views
    103

    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...
  18. Are you using the Arduino IDE to compile this...

    Are you using the Arduino IDE to compile this code? Or some non-Arduino system?
  19. 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...
  20. 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)
    {
    ...
  21. Replies
    5
    Views
    86

    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...
  22. Replies
    5
    Views
    86

    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...
  23. Replies
    35
    Views
    1,378

    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...
  24. 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. ...
  25. Replies
    4,291
    Views
    445,646

    @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...
  26. Replies
    35
    Views
    1,378

    @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...
  27. Replies
    8
    Views
    198

    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.
    ...
  28. Replies
    1
    Views
    150

    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...
  29. Replies
    6
    Views
    283

    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.
  30. 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...
  31. 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...
  32. 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...
  33. Replies
    26
    Views
    232

    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:
  34. 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...
  35. Replies
    8
    Views
    198

    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...
  36. Replies
    8
    Views
    198

    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...
  37. 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...
  38. Replies
    19
    Views
    776

    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.
  39. Replies
    19
    Views
    776

    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...
  40. Replies
    19
    Views
    776

    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...
  41. Replies
    21
    Views
    1,041

    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.
  42. Replies
    4,291
    Views
    445,646

    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...
  43. 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.
  44. Replies
    4,291
    Views
    445,646

    I was able to reproduce this bug. Committed a...

    I was able to reproduce this bug. Committed a fix on github.

    https://github.com/PaulStoffregen/Arduino-1.8.9-Teensyduino/commit/e203e8cfa87377d1d5839da852bc3a6ab62d880c

    I also made some...
  45. Replies
    19
    Views
    776

    The OSH Park version is identical, other than the...

    The OSH Park version is identical, other than the color.
  46. Yes, except for the DAC. Teensy 3.6 has its DAC...

    Yes, except for the DAC. Teensy 3.6 has its DAC output in a different location than Teensy LC and 3.2. If you want to use the audio amp part, you'll need a short wire to route the DAC signal.
    ...
  47. Replies
    4
    Views
    78

    You'd need to read the earlier value from the...

    You'd need to read the earlier value from the _VectorsRam array before writing your own. Then you could later write it back.

    But whether that would actually work also depends on whether you leave...
  48. Replies
    18
    Views
    727

    I keep hoping NXP will incorporate bluetooth (or...

    I keep hoping NXP will incorporate bluetooth (or wifi, but BT seems really compelling) into these chips. But so far, nada. Who knows, maybe they will someday?
  49. Replies
    21
    Views
    206

    That's from the core library, specifically this...

    That's from the core library, specifically this file.

    https://github.com/PaulStoffregen/cores/blob/master/teensy3/util/crc16.h

    Can't say why PlatformIO isn't finding it. Maybe try using...
  50. Replies
    11
    Views
    325

    Yes, much of that design is to withstand daily...

    Yes, much of that design is to withstand daily use & handling. The red & green LEDs are meant to make it simple to use. It also gives the operator the freedom to position the LEDs where they want...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4