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
    12
    Views
    27

    If you turn off interrupts, the USB interrupt...

    If you turn off interrupts, the USB interrupt can't respond to Arduino's request to automatically reboot. Teensy is running, just not handling any interrupts when I/O occurs.

    Expect to need to...
  2. Replies
    3
    Views
    19

    Frank is right, on Teensy 3.x we use a frequency...

    Frank is right, on Teensy 3.x we use a frequency close but not exactly 44.1 kHz.

    When the PDB timer is the clock master, it's generated from 48 MHz / 1088, or 60 MHz / 1360, because the timers...
  3. Replies
    12
    Views
    27

    You can also get a 20 MHz waveform from the PWM...

    You can also get a 20 MHz waveform from the PWM hardware, but not at 50% duty cycle. The timers run at 60 MHz (when Teensy 3.6 runs at any multiple of 60 MHz), so a 20 MHz carrier is only 3 timer...
  4. Replies
    12
    Views
    27

    Two issues. 1: By default pinMode() turns on...

    Two issues.

    1: By default pinMode() turns on the slew rate limit feature. This greatly reduces noise and undesirable high speed effects when normal wires are used, but it also limits how fast the...
  5. The most important concept is I2S master vs I2S...

    The most important concept is I2S master vs I2S slave. It's about the direction of the clocks, not data. The I2S master creates the clock signals, BCLK & LRCLK (and maybe also MCLK). Those signals...
  6. Don't suppose you can just set the block size...

    Don't suppose you can just set the block size back to 128?

    Many parts of the audio library automatically adapt to different block sizes. But some parts definitely depend on 128 samples. USB...
  7. Teensy 4.0 has completely different timers. The...

    Teensy 4.0 has completely different timers. The FTM timers are only in Teensy 3.2.

    The good news is the FlexPWM timers in Teensy 4.0 have even more capability than the FTM ones Teensy 3.x had. ...
  8. The Audio and Servo libraries should work...

    The Audio and Servo libraries should work together well on Teensy 3.x and 4.0.

    Interrupt priority levels are used, so the Servo library gets the low latency interrupt response it needs to create...
  9. Replies
    7
    Views
    139

    If you don't already have the software, install...

    If you don't already have the software, install Arduino and Teensyduino.

    https://www.pjrc.com/teensy/td_download.html

    Then run Arduino and make sure Teensy is selected in Tools > Boards. The...
  10. You're asking for pluggable discovery JSON, but...

    You're asking for pluggable discovery JSON, but from the context of the question, it sounds like you really mean the package index JSON. There is no package index, because we do not use Arduino's...
  11. Replies
    122
    Views
    8,130

    Indentical FPUs is looking very unlikely. The M4...

    Indentical FPUs is looking very unlikely. The M4 core will almost certainly have the single precision FPU we get now in Teensy 3.5 & 3.6.
  12. Temporarily disable Windows Defender.

    Temporarily disable Windows Defender.
  13. Yup, exactly my thoughts - just didn't have time...

    Yup, exactly my thoughts - just didn't have time to write a lengthy message.

    Also, the ResponsiveAnalogRead library can work wonders for this sort of use.

    Code that transmits MIDI messages too...
  14. Replies
    9
    Views
    106

    This is the one you want for FM. ...

    This is the one you want for FM.

    https://www.pjrc.com/teensy/gui/?info=AudioSynthWaveformModulated

    You can modulate frequency directly (the default way), or indirectly by phase modulation.
  15. That's really a question for MCS electronics. ...

    That's really a question for MCS electronics. Best to ask on their forum.

    https://www.mcselec.com/index2.php?option=com_forum&Itemid=59

    As far as I know, their software only works with the...
  16. As a quick experiment, try adding delay(10) in...

    As a quick experiment, try adding delay(10) in the loop.

    Yeah, I know *adding* delay seems counter-intuitive. But please, give it a try anyway. It's so simple and easy to test.
  17. Any chance Windows Defender or other anti-virus...

    Any chance Windows Defender or other anti-virus software is interfering?

    I believe Windows 10 gives you a way in settings to temporarily pause Defender. The installer does not use any internet...
  18. Replies
    7
    Views
    161

    I saw a project where someone used 8 panels. I...

    I saw a project where someone used 8 panels. I don't know if they were using SmartMatrix or other code to drive them. But that is a huge amount of data to transfer, maybe starting to push the...
  19. Replies
    25
    Views
    928

    Sticky: If you're using the pre-4.0 boards and not using...

    If you're using the pre-4.0 boards and not using MacOS Catalina, 1.49 only bring very minor improvements, like a few harmless compiler warnings fixed.

    Likewise, Arduino 1.8.9 may run faster than...
  20. No, the audio library does not support Teensy LC...

    No, the audio library does not support Teensy LC at all.
  21. Replies
    30
    Views
    902

    Yes, I know it's frustrating. :( In a perfect...

    Yes, I know it's frustrating. :(

    In a perfect world, we would have implemented absolutely every feature from Teensy 3.x before releasing Teensy 4.0. The the reality is I'm not that good. PJRC...
  22. Replies
    2
    Views
    70

    Are you sure it's an A/D. Here's the datasheet...

    Are you sure it's an A/D.

    Here's the datasheet I was able to download. Says "16 Bits Digital-to-Analog Converter IC". Looks like same as PT2811, but with voltage reference on pin 7.
  23. Replies
    30
    Views
    902

    I don't understand your question. Which...

    I don't understand your question. Which functionality are you asking about? Audio shields? USB streaming audio?

    The audio library does support I2S on Teensy 4.0 and works great with the audio...
  24. That's pretty compelling. One minor issue,...

    That's pretty compelling.

    One minor issue, discussed just yesterday, is the installer doesn't know how to delete the old files if they're present from a prior install. I believe Arduino is...
  25. Replies
    25
    Views
    928

    Sticky: This is normal, though the complexity of...

    This is normal, though the complexity of Cortex-M7 memory doesn't fit well into Arduino's very simple summary.

    The lion's share of this 41K is ITCM memory used for code. The hardware has 32K...
  26. One last followup to this old thread. ...

    One last followup to this old thread. Teensyduino 1.49 has been released. USB MIDI device mode is now fully supported on Teensy 4.0.
  27. Replies
    1
    Views
    47

    In the Teensy Loader window, turn off Auto mode...

    In the Teensy Loader window, turn off Auto mode and keep it somewhere visible on your desktop.

    Then just press the button on your Teensy. The Teensy Loader window should respond by detecting the...
  28. That means no communication is working between...

    That means no communication is working between Teensy and the MCP23017 chip. While not good, at least this mean you know to focus on the power and I2C wires. There's no point worrying about the...
  29. Try running File > Examples > Wire > Scanner. ...

    Try running File > Examples > Wire > Scanner. After uploading, make sure you have Teensy selected in Tools > Ports, then open the Arduino Serial Monitor.

    What does it print in the serial monitor?
  30. Replies
    29
    Views
    2,428

    Try adding this at the beginning of setup()? ...

    Try adding this at the beginning of setup()?


    pinMode(A1, INPUT_DISABLE);

    Does it help?
  31. The status is basically too late to alter the...

    The status is basically too late to alter the pinout or feature set, but too early to predict when it will be released.

    Regarding memory mapping a FPGA, plan on the normal 6 SQPI signals (CLK, CS,...
  32. Replies
    70
    Views
    1,700

    Ok, one final followup, now that Teensyduino 1.49...

    Ok, one final followup, now that Teensyduino 1.49 has been released.

    As far as I know, 1.49 solves all the known problems we were seeing with BNO080. Unless I hear more reports of trouble, I'm...
  33. Last time I tested, YIN used nearly all the CPU...

    Last time I tested, YIN used nearly all the CPU power of Teensy 3.2, just to analyze a single audio channel. To run 4 channels concurrently, you're probably going to need the CPU power of Teensy...
  34. Replies
    9
    Views
    133

    If you still have that code which didn't work...

    If you still have that code which didn't work with TimerOne, any chance you could give it a try with the just-released Teensydinno 1.49? TimerOne and TimerThree were both improved for this new...
  35. The max speed is 30 MHz. The speed input to...

    The max speed is 30 MHz.

    The speed input to SPISettings is meant to be the maximum speed your hardware can use. The SPI library gives you fastest speed the hardware is capable of using, which is...
  36. Replies
    122
    Views
    8,130

    Today with with 1062 we get 512K is TCM for M7...

    Today with with 1062 we get 512K is TCM for M7 and the remaining 512K is accessed by slower AXI bus.

    Soon with 1170, we'll get the same 512K as TCM for M7, and 256K as TCM for M4, and the...
  37. Replies
    25
    Views
    928

    Sticky: Yup, that's correct. We have to submit a set of...

    Yup, that's correct. We have to submit a set of files to Apple for notarization. No changes can be made after signing and notarization.

    Until Catalina, I always found ways to work around these...
  38. Replies
    25
    Views
    928

    Sticky: Generally you can install over an old version. ...

    Generally you can install over an old version. The one gotcha is when a file existed in the old version but was removed or renamed in the new version. The installer knows how to deal with this and...
  39. I can also confirm, Rev B definitely does work...

    I can also confirm, Rev B definitely does work with Teensy 3.5.

    Rev C added a 100 ohm resistor. The 100 ohm resistor is only needed if long wires (length of a solderless breadboard) are used with...
  40. The Time library always uses the Arduino...

    The Time library always uses the Arduino millisecond timer stuff and is meant to sync to an "external" source. To the Time lib, the RTC is considered external, which can be a little confusing since...
  41. Replies
    30
    Views
    902

    No, nothing new is coming in the final 1.49...

    No, nothing new is coming in the final 1.49 release.

    In fact, since no serious bugs have turned up, the final 1.49 release is going to be nearly identical to 1.49-beta5.




    I'm considering...
  42. Replies
    100
    Views
    152,001

    Sticky: Sports Internet Solutions is on the list of...

    Sports Internet Solutions is on the list of official distributors (they buy in bulk from PJRC), so it should be a genuine Teensy.

    https://forum.pjrc.com/threads/23601-Official-Distributors
  43. My best guess is you make have a local copy of 1...

    My best guess is you make have a local copy of 1 or more of these libs in your {Documents}/Arduino/libraries folder.

    To check, click File > Preference and turn on verbose output while compiling. ...
  44. Normally I would just say to use the latest...

    Normally I would just say to use the latest version, which I already confirmed works fine.

    But this time, I started wondering if this really was broken back in 1.46-beta10, because these are all...
  45. Replies
    30
    Views
    902

    I'm leaning towards a final 1.49 software release...

    I'm leaning towards a final 1.49 software release within the next 24 hours.

    If anyone has a bug or critical issue I should know about, now's the time to mention it. No new features are going into...
  46. Currently there is no software support for the...

    Currently there is no software support for the NAND flash chips. Only the older, simpler NOR type are supported.

    Those chips are on my bucket list. I have 10 of them here, still in unopened in...
  47. I tried just now, but could not reproduce the...

    I tried just now, but could not reproduce the problem. I tried for every Teensy model. All compile without error.

    Here's a screenshot of the compile for Teensy 4.0.

    18738
  48. It's probably because we're currently running...

    It's probably because we're currently running those timers from the 24 MHz clock, and there's probably a multiple-cycle sync going on.
  49. Replies
    47
    Views
    3,730

    Done....

    Done.
    https://github.com/adafruit/circuitpython/issues/2508
  50. Replies
    47
    Views
    3,730

    Though why Python can't give microsecond...

    Though why Python can't give microsecond precision delay is also a good question. Arduino supports delayMicroseconds() on all boards. The slower boards usually have a minimum delay of several...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4