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 your search was case sensitive? It appears...

    Maybe your search was case sensitive? It appears on page 986 in all caps. You can see "SYSTICK" appears twice in the 13.3.2.1 screen grab I posted on msg #3 above.

    But as I mentioned earlier,...
  2. Normally WAV files are just raw audio data with a...

    Normally WAV files are just raw audio data with a small metadata header. If you know the data is 16 bits and stereo or mono, and if you don't mind a small glitch sound, you can just play the entire...
  3. Replies
    5
    Views
    133

    Officially, no news yet. Unofficially, good...

    Officially, no news yet.

    Unofficially, good guesswork. ;)
  4. Replies
    1
    Views
    54

    This might be simpler than trying to port NXP's...

    This might be simpler than trying to port NXP's code.

    https://github.com/WMXZ-EU/USB2
  5. Probably best to try using a different PC at this...

    Probably best to try using a different PC at this point. First check if the other PC detects the Teensy that's been programmed with this PC. Then use Arduino on that machine to reprogram it. If it...
  6. After much fiddling, I came up with this. ...

    After much fiddling, I came up with this.

    https://github.com/PaulStoffregen/cores/commit/92b126da26047c52023b4ae28212352c30d71744

    Hopefully it's better?

    Here's a little test program...
  7. Ok, I see ports events in this new log. Here's...

    Ok, I see ports events in this new log.

    Here's 2 things to try...

    1: Turn off Auto mode in Teensy Loader. Then press the button on your Teensy. You should see Teensy Loader detect the board. ...
  8. When I first tried using Systick (about 2 years...

    When I first tried using Systick (about 2 years ago, on the 1052 chip, months before we started the Teensy 4 beta test) is was pretty obviously running much slower than expected when configured for...
  9. This logfile has no "ports" events! Maybe...

    This logfile has no "ports" events! Maybe anti-virus software is blocking or has deleted teensy_ports.exe? Normally it's supposed to be installed in C:\Program Files (x86)\Arduino\hardware\tools.
    ...
  10. I'm pretty sure the Arduino SD library is not up...

    I'm pretty sure the Arduino SD library is not up to this task. Maybe SdFat could do it, but even then, I'm not sure.

    The audio shield and audio library certainly can do simultaneous input &...
  11. Replies
    3
    Views
    120

    When Teensy runs in I2S slave mode, the external...

    When Teensy runs in I2S slave mode, the external I2S device is in control of the sample rate.

    You can edit the block size in AudioStream.h. Most of the audio library automatically adapts, but...
  12. Let's give this a try in 1.54-beta1 and see if...

    Let's give this a try in 1.54-beta1 and see if the general consensus is "nice" or "extraneous".

    The main issue is int and long are both 32 bit on Teensy, but this format warning is pretty pedantic...
  13. Replies
    49
    Views
    1,729

    I decided to reverse course on this. All...

    I decided to reverse course on this. All programs will be back to having 512K DMAMEM & heap available on Teensy 4.0 & 4.1.
    ...
  14. The schematic on the website has been updated to...

    The schematic on the website has been updated to fix this mistake.
  15. Replies
    3
    Views
    120

    As with almost everything in the audio library,...

    As with almost everything in the audio library, detailed documentation is in the design tool right-side panel.

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

    One difficult issue you...
  16. Replies
    57
    Views
    2,063

    Fixed it just now

    Fixed it just now
  17. Replies
    57
    Views
    2,063

    Updated, now says "Teensy LC & 3.x & 4.x". ...

    Updated, now says "Teensy LC & 3.x & 4.x".




    Under "Hardware Requirements" the page does say:



    I've added "Teensy 4.x boards support use of any set of pins, not limited to only 8 fixed...
  18. Replies
    57
    Views
    2,063

    Fixed Fixed FLASHMEM for code usage, added...

    Fixed



    Fixed FLASHMEM for code usage, added EXTMEM.




    Added a link under "Memory Expansion".
  19. Replies
    57
    Views
    2,063

    @Degragster - Any chance I can talk you into...

    @Degragster - Any chance I can talk you into re-writing the guidance in msg #24 in a step-by-step style?

    I want to put this on the download page. But the conversational style of msg #24 isn't a...
  20. Replies
    57
    Views
    2,063

    Added under "Other Libraries". Added...

    Added under "Other Libraries".




    Added some time ago...

    https://www.pjrc.com/teensy/gui/?info=AudioEffectRectifier
  21. Replies
    57
    Views
    2,063

    Updated this page.

    Updated this page.
  22. Confirmed, the schematic had an error for the...

    Confirmed, the schematic had an error for the signals connected to 38/DAT3 and 39/DAT3 on Teensy 4.0. I've updated it.
  23. This probably can work if the I2S devices you...

    This probably can work if the I2S devices you connect to Teensy are slave mode. In other words, Teensy transmits all the clock signals, those device always receive and never try to transmit their...
  24. Replies
    49
    Views
    1,729

    At least for Teensyduino 1.54-beta1, I'm going to...

    At least for Teensyduino 1.54-beta1, I'm going to reduce DMAMEM max size from 512K to only 504K.

    In the future we might provide a mechanism for programs wishing to access the HAB logfile to...
  25. Every SD card I have used seems to be able to...

    Every SD card I have used seems to be able to properly tri-stat its MISO pin.

    But if you have any doubt, the way to check involves using only the SPI device in question with 2 resistors on the...
  26. Replies
    57
    Views
    2,063

    Please, put 1 issue per message, so it's easier...

    Please, put 1 issue per message, so it's easier to mark completed stuff as no longer needing attention.
  27. Replies
    57
    Views
    2,063

    @Kurt & Defragster - could I talk you into...

    @Kurt & Defragster - could I talk you into reviewing all the messages on this thread and adding something like "still needs work" or "fully resolved" or "no issue" at the top of each one?

    My hope...
  28. Replies
    2
    Views
    109

    No, sorry, the bootloader only supports...

    No, sorry, the bootloader only supports programming over the main USB device port.
  29. Replies
    2
    Views
    127

    I'm pretty sure FlexSPI only supports master...

    I'm pretty sure FlexSPI only supports master mode. On Teensy 4.0, those pins only connect to the W25Q16 flash chip, so you can't access the FlexSPI peripheral.

    Teensy 4.1 does make FlexSPI2...
  30. Replies
    4
    Views
    196

    TimeLib defaults to starting at 0 and is meant to...

    TimeLib defaults to starting at 0 and is meant to sync to a source of accurate time.

    Teensy has a RTC which keeps track of date/time. That RTC is set automatically to your PC's time on every...
  31. I'm so glad you tested this! Whether 125us...

    I'm so glad you tested this! Whether 125us response is actually possible from PCs been on my list of things to someday check. Almost all of my testing has involved looked at the USB packets with a...
  32. Officially, PJRC only tests and supports this...

    Officially, PJRC only tests and supports this Linux-based software on Ubuntu, and only Ubuntu running on real hardware (not virtual machines). Most other Linux systems tend to work, but we don't...
  33. Are you using a Teensy board? This forum is...

    Are you using a Teensy board? This forum is about Teensy.

    If you're using Arduino Nano, you should probably ask on Arduino's forum.

    https://forum.arduino.cc/

    Obviously for advice specific...
  34. Replies
    49
    Views
    1,729

    Indeed, when PJRC sells a Teensy without certain...

    Indeed, when PJRC sells a Teensy without certain fuses set, there will be many possible paths to bricking those boards.




    I hope you can understand 2 less than ideal realities of this...
  35. Replies
    49
    Views
    1,729

    Yes, that's more or less it.

    Yes, that's more or less it.
  36. It rounds to the nearest integer. Or at least it...

    It rounds to the nearest integer. Or at least it did in the days when AUDIO_SAMPLE_RATE was expressed as an integer.
  37. Replies
    8
    Views
    312

    It will get rounded to the nearest 1/24th of a...

    It will get rounded to the nearest 1/24th of a microsecond, if the PIT timer clocks at its default 24 MHz. Or rounded to 1/150th of a microsecond if you clock the PIT at 150 MHz.




    The PIT...
  38. For the audio shield (rev D) you should use...

    For the audio shield (rev D) you should use AudioInputI2S, not AudioInputI2S2.

    As with all the audio library features, detailed documentation is in the design tool's right-side panel.
    ...
  39. Replies
    49
    Views
    1,729

    Yes, you're right. I was re-reading...

    Yes, you're right. I was re-reading HAB4_API.pdf. Indeed it is documented in chapter 4 and the constants in chapter 6. Like so much of NXP's documentation, it's quite difficult to read if you...
  40. Replies
    49
    Views
    1,729

    Looks like your program is able to parse the CSF...

    Looks like your program is able to parse the CSF commands!




    Where did you find documentation about the CSF data format?
  41. Replies
    49
    Views
    1,729

    Awesome news! The best way is to fork...

    Awesome news!




    The best way is to fork the code on github, then check out your fork, edit the files, commit the changes, push the changes to github, and then on github website create a pull...
  42. It is possible, but only if you edit the core...

    It is possible, but only if you edit the core library USB code.
  43. Replies
    2
    Views
    166

    Add this in setup: while (!Serial) ; //...

    Add this in setup:


    while (!Serial) ; // wait for Arduino Serial Monitor to open

    or this if you want it to run after a few seconds even if the PC doesn't respond


    while (!Serial &&...
  44. Replies
    49
    Views
    1,729

    Just to make sure I answer these questions.... ...

    Just to make sure I answer these questions....




    Let's assume NXP / Freescale fixed this problem and their documentation on page 205 in the reference manual, and pretty much everywhere else in...
  45. Replies
    49
    Views
    1,729

    Ok, I've create a repository on github with all...

    Ok, I've create a repository on github with all of my work-in-progress HAB stuff.

    https://github.com/PaulStoffregen/hab_tests

    I wrote a readme file with (probably rough-around-the-edges)...
  46. Replies
    49
    Views
    1,729

    Oh, that's very good news! Does it also have a...

    Oh, that's very good news!

    Does it also have a copy of hab_types.h in code/cst/code/front_end/hdr? File size should be 42373 bytes. MD5 should be 3fd303e7450e0f6a97d346b8250e3091.
  47. Replies
    49
    Views
    1,729

    For the next Teensyduino beta, I will reduce the...

    For the next Teensyduino beta, I will reduce the DMAMEM region slightly, so we aren't overwriting the HAB logfile in OCRAM. I'll also update the boot vectors with the CSF address. That will at...
  48. Replies
    49
    Views
    1,729

    Are you sure? That's not what NXP's IMXRT1060...

    Are you sure? That's not what NXP's IMXRT1060 reference manual says (or seems to say).

    22081

    Unless I've somehow misunderstood these words, my understanding is we can burn the SRK hash into...
  49. Replies
    2
    Views
    139

    The reason why is involves some history of...

    The reason why is involves some history of Arduino. It's really just C++ and from the beginning everything used ordinary C strings. Even though the String C++ class was added to Arduino about 10...
  50. Replies
    3
    Views
    228

    No, it will not work. Any MKL02 chip you buy...

    No, it will not work.

    Any MKL02 chip you buy from distributors will come blank, which obviously will not work. Even if you desolder a MKL02 chip from a Teensy 4.1 and try to reuse it, your board...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4