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

    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. ...
  2. I put the code on GitHub. ...

    I put the code on GitHub.

    https://github.com/PaulStoffregen/TopOctaveGenerator
  3. 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,...
  4. 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...
  5. 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);...
  6. 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...
  7. 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.
  8. 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...
  9. Replies
    2
    Views
    18

    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.
  10. Replies
    29
    Views
    1,876

    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...
  11. 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...
  12. The biquad filter uses 32 bit math internally,...

    The biquad filter uses 32 bit math internally, and 32 bit coefficients. 16 x 32 bit multiplies are done internally as 48 bits, then rounded back to 32.

    Sure, it probably isn't comparable to high...
  13. Usually I agree with Frank, but in this case I...

    Usually I agree with Frank, but in this case I believe simply using a library like EasyTransfer is best. You don't need to learn how to solve every type of technical challenge. Simply knowing the...
  14. That still doesn't tell you which byte is high vs...

    That still doesn't tell you which byte is high vs low. If the receiver starts up or reboots in the middle of an incoming stream of bytes, it could possibly miss the first low byte, and then forever...
  15. 3 problems here. First, you need to use...

    3 problems here.

    First, you need to use Serial.available() to check whether bytes have been received. Only call Serial.read() after Serial.available() returns more than 0. These chips run much...
  16. It never crashes on my Macbook Air. While I...

    It never crashes on my Macbook Air.

    While I don't want to deny the possibility of software bugs, if you're seeing so much crashing with regular use (the Java runtime does create quite a CPU load a...
  17. Please give 1.51-beta1 using Arduino 1.8.12 a...

    Please give 1.51-beta1 using Arduino 1.8.12 a try.

    https://forum.pjrc.com/threads/59566-Teensyduino-1-51-Beta-1

    It is any better?
  18. Please don't be shy. Many of us here can help...

    Please don't be shy. Many of us here can help you with these details, but only if you show us enough code. C++ is a complicated language, where fine details matter. In cases like this, where we...
  19. Replies
    21
    Views
    215

    I don't know. I've never used Arduino Micro. I...

    I don't know. I've never used Arduino Micro. I don't even own one, but I do have an Arduino Leonardo. The few times I've used Leonardo, I've run Arduino's code on it. I've never tried running...
  20. Replies
    21
    Views
    215

    Saw your github report. Looks like it's an...

    Saw your github report. Looks like it's an Arduino-only problem & Teensy works properly. ;)

    https://github.com/arduino/Arduino/issues/9786

    Thanks for following up here. And if you do find...
  21. Replies
    3
    Views
    78

    You could make a copy of the Arduino IDE, and...

    You could make a copy of the Arduino IDE, and within that copy edit the vendor ID in usb_desc.c to something other than 0x16C0. Upload to that Teensy 3.2. Then do not use that copy of Arduino again...
  22. Replies
    21
    Views
    215

    If you believe there is still some bug involving...

    If you believe there is still some bug involving Teensy, I'm going to ask you to again post clear instructions to reproduce the problem, using Teensy without Arduino Micro or ESP8266.

    Otherwise,...
  23. Replies
    21
    Views
    215

    I was able to reproduce this problem. The bug is...

    I was able to reproduce this problem. The bug is in Moxa PComm Lite. Coolterm works perfectly.

    I tested both Teensy 2.0 and Teensy 4.0 with this code. Both respond properly to clicks on either...
  24. That's absurd. Of course Ethernet was...

    That's absurd. Of course Ethernet was considered. Same with the 24 bit LCD interface and camera interface and SDRAM bus and the 2nd FlexSPI port, none which aren't supported by Teensy 4.0.
    ...
  25. Replies
    29
    Views
    1,876

    Arduino on Windows and Linux has a self-contained...

    Arduino on Windows and Linux has a self-contained "portable mode". Teensyduino supports it.

    https://www.arduino.cc/en/Guide/PortableIDE

    Maybe this could help you? Sadly, it's not supported on...
  26. That's HID emulating serial, used together with...

    That's HID emulating serial, used together with MIDI. It's not a COM port at all.

    When you choose "MIDI" (without Serial), the USB support is build with this HID interface, so use of...
  27. SoftwareSerial on Teensy 3.6 only supports...

    SoftwareSerial on Teensy 3.6 only supports transmitting, unless you choose 2 pins which are a real serial port. But for the MIDI library, you should not use SoftwareSerial (on any board, not just...
  28. In Arduino, try File > Examples > Wire > Scanner

    In Arduino, try File > Examples > Wire > Scanner
  29. Please follow the "Forum Rule" which appears at...

    Please follow the "Forum Rule" which appears at the top of every page on this forum. Show a *complete* program. If using libraries other than the set Teensyduino installs, please clearly state...
  30. Replies
    21
    Views
    215

    I'm confused. Which board has a problem? Is it...

    I'm confused. Which board has a problem? Is it a Teensy, or an Arduino board, or FTDI chip?

    Just to be clear, if you've found a problem and want to see it investigated and fixed, you need to...
  31. Replies
    32
    Views
    383

    I ordered one of these PCM1802 boards. But it's...

    I ordered one of these PCM1802 boards. But it's coming from China. Estimate is 30 to 50 days for delivery!

    If @phil123456 returns, and I hope he does so we can fully resolve this issue, I'd like...
  32. Replies
    4
    Views
    120

    The right-side documentation panel in the design...

    The right-side documentation panel in the design tool, as Theremingenieur suggested, is the easiest place.

    But if you don't like easy-to-read documentation, you can always just read the .h files...
  33. Replies
    59
    Views
    2,358

    Sticky: Yes, seems so. Arduino 1.8.11 uses AdoptOpenJDK...

    Yes, seems so. Arduino 1.8.11 uses AdoptOpenJDK Java, which causes trouble on some systems.

    Arduino 1.8.12 was recently released, reverting back to Oracle Java. Please give 1.8.12 a try, using...
  34. Are pins 18 and 19 still showing no voltage? ...

    Are pins 18 and 19 still showing no voltage?

    If so, try measuring the 3.3V power on the bottom right corner behind the headphone jack, of course with the multimeter negative lead touching the USB...
  35. Me too. Any chance you can give me enough info...

    Me too.

    Any chance you can give me enough info & code to reproduce this here. I have 5 macs here that I use for testing and developing Teensy's support for MacOS. They run MacOS versions 10.15,...
  36. Maybe this can help? ...

    Maybe this can help?

    https://forum.pjrc.com/threads/42221-Audio-Library-and-4096-point-FFT-on-Teensy-3-6

    But if your signal isn't perfectly phase sync'd to the FFT's 4096 samples (which pretty...
  37. Replies
    32
    Views
    383

    Use your scope to view LRCLK, BCLK and DATA, as I...

    Use your scope to view LRCLK, BCLK and DATA, as I tried to explain in msg #26. If you need more help to do that, just ask.

    I have a hunch the waveforms are going to turn out to be left justified...
  38. Replies
    32
    Views
    383

    Since you have a scope, I'd recommend using it to...

    Since you have a scope, I'd recommend using it to watch LRCLK, BCLK and DATA. Set your scope to trigger on LRCLK.

    My guess is you'll see the bits immediately after LRCLK flickering wildly. If...
  39. Replies
    32
    Views
    383

    Look, this isn't the first time. Over and over...

    Look, this isn't the first time. Over and over this same conversation has come up on this forum, where someone misreads the datasheet and believes their chip expects exactly 24 BCLK clocks per phase...
  40. Replies
    32
    Views
    383

    Those wrong waveforms have recognizable 1-2 ms...

    Those wrong waveforms have recognizable 1-2 ms chunks of the input waveform. So focusing on clock ratios is very likely a huge distraction from the real problem.

    My 2 guesses from looking at...
  41. I've updated the datasheets page with this latest...

    I've updated the datasheets page with this latest version.

    https://www.pjrc.com/teensy/datasheets.html
  42. Either will work. AGND sometimes gives lower...

    Either will work. AGND sometimes gives lower noice performance for analog circuits. Always use regular GND for digital stuff. AGND is meant for sensitive analog.
  43. No worries on the current. No significant...

    No worries on the current. No significant current flows into the Teensy pin when it's an analog input. So the only current is 3.3V / 100Kohm, which is only 33 uA.

    But 100K is a little on the...
  44. Or if you really want to use String, just use...

    Or if you really want to use String, just use .c_str() to get a C style string for play(). Like this:



    playSdWav2.play(mySounds[tracknum].c_str());
  45. These usage page and usage index numbers...

    These usage page and usage index numbers distinguish the RawHID interface from other HID interfaces on the same device.


    // C-based example is 16C0:0480:FFAB:0200
    r =...
  46. Short answer: you can leave that wire out. It's...

    Short answer: you can leave that wire out. It's not used and never will be.

    Long ago, like in mid-2012, I imagined someday supporting USB host on Teensy 3.0. If you look at the 3.0 schematic,...
  47. Replies
    6
    Views
    177

    I too had hoped for DACs. Believe me, I've...

    I too had hoped for DACs. Believe me, I've repeatedly begged for DACs from my contacts within NXP. We are getting 1 DAC in the next chip, which is a lot better than none, but I'm pretty sure it's...
  48. Replies
    12
    Views
    242

    Indeed the main focus has been compatibility with...

    Indeed the main focus has been compatibility with Arduino and the large ecosystem of Arduino libraries and examples.
  49. Replies
    10
    Views
    216

    Check out this 31 page audio library tutorial. ...

    Check out this 31 page audio library tutorial. It coves a *lot* of audio stuff beyond just playing files, but the first parts are all about playing WAV files. :)
    ...
  50. Replies
    6
    Views
    177

    ARM announced Cortex-M55 this week, also with...

    ARM announced Cortex-M55 this week, also with vector processing for machine learning & signal processing. It's almost certain to become Teensy 5.x... in 2-3 years when chips become available.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4