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.

  1. 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
    ...
  2. 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.
  3. Replies
    9
    Views
    315

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

    Yes, it does indeed. ...

    Yes, it does indeed.

    https://github.com/PaulStoffregen/cores/blob/master/teensy4/analog.c#L210
  5. 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...
  6. 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...
  7. 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...
  8. Replies
    3
    Views
    87

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

    I put the code on GitHub.

    https://github.com/PaulStoffregen/TopOctaveGenerator
  10. 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,...
  11. 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...
  12. 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);...
  13. 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...
  14. 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.
  15. 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...
  16. Replies
    2
    Views
    30

    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.
  17. Replies
    29
    Views
    1,999

    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...
  18. 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...
  19. 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...
  20. 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...
  21. 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...
  22. 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...
  23. 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...
  24. 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?
  25. 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...
  26. Replies
    21
    Views
    245

    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...
  27. Replies
    21
    Views
    245

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

    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...
  29. Replies
    21
    Views
    245

    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,...
  30. Replies
    21
    Views
    245

    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...
  31. 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.
    ...
  32. Replies
    29
    Views
    1,999

    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...
  33. 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...
  34. 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...
  35. In Arduino, try File > Examples > Wire > Scanner

    In Arduino, try File > Examples > Wire > Scanner
  36. 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...
  37. Replies
    21
    Views
    245

    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...
  38. Replies
    32
    Views
    444

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

    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...
  40. Replies
    59
    Views
    2,450

    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...
  41. 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...
  42. 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,...
  43. 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...
  44. Replies
    32
    Views
    444

    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...
  45. Replies
    32
    Views
    444

    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...
  46. Replies
    32
    Views
    444

    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...
  47. Replies
    32
    Views
    444

    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...
  48. 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
  49. 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.
  50. 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...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4