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. No, sorry, the bootloader only supports...

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

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

    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...
  4. 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...
  5. 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...
  6. 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...
  7. Replies
    45
    Views
    1,429

    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...
  8. Replies
    45
    Views
    1,429

    Yes, that's more or less it.

    Yes, that's more or less it.
  9. 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.
  10. Replies
    8
    Views
    277

    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...
  11. 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.
    ...
  12. Replies
    45
    Views
    1,429

    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...
  13. Replies
    45
    Views
    1,429

    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?
  14. Replies
    45
    Views
    1,429

    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...
  15. It is possible, but only if you edit the core...

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

    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 &&...
  17. Replies
    45
    Views
    1,429

    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...
  18. Replies
    45
    Views
    1,429

    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)...
  19. Replies
    45
    Views
    1,429

    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.
  20. Replies
    45
    Views
    1,429

    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...
  21. Replies
    45
    Views
    1,429

    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...
  22. Replies
    2
    Views
    128

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

    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...
  24. Replies
    19
    Views
    392

    Whether the gaurd ring matters really depends on...

    Whether the gaurd ring matters really depends on the type of signal which you route close to the crystal. For example, the reset signal doesn't actually change voltage while the chip runs, so it...
  25. Replies
    19
    Views
    392

    Please read the suggestions for the crystal on...

    Please read the suggestions for the crystal on the MKL02 page:

    https://www.pjrc.com/store/ic_mkl02.html

    Scroll down to "Crystal Guidelines".
  26. Replies
    1
    Views
    108

    It is 800 kbps.

    It is 800 kbps.
  27. Replies
    45
    Views
    1,429

    I could use some help with HAB. Months ago, I...

    I could use some help with HAB. Months ago, I spent some time trying to use NXP's CST program (version 3.3.0) to add the CSF to compiled images, and I burned the SRK hash into the fuses, but I never...
  28. Yes. Just use pinMode(12, OUTPUT) any time after...

    Yes. Just use pinMode(12, OUTPUT) any time after SPI.begin() to take control of the pin again. The other modes like INPUT & INPUT_PULLUP work too.
  29. Replies
    5
    Views
    139

    Don't call pulseIn() from your sendData()...

    Don't call pulseIn() from your sendData() function. Do it in loop() and store the results in databuf[]. Your sendData() function should be as simple as possible because it runs from an interrupt.
  30. Replies
    5
    Views
    139

    Just a blind guess since I can't see any code...

    Just a blind guess since I can't see any code here, but we know you're using I2C slave mode. Keep your onRequest function as simple as possible, since it gets called from interrupt context. Best to...
  31. Replies
    5
    Views
    125

    Ah, now we can see a detail you didn't mention...

    Ah, now we can see a detail you didn't mention earlier. You're using SoftwareSerial. On Teensy 3.5, looks like SoftwareSerial only "knows" the pin numbers for Serial1 to Serial3.

    To use Serial4...
  32. As a quick test, I ran this here on a Teensy 4.0....

    As a quick test, I ran this here on a Teensy 4.0. I don't have that particular DAC, so I just viewed the waveforms with my oscilloscope.

    22063

    Amazingly it seems to be working, except that...
  33. Replies
    5
    Views
    125

    It could be wires not connected properly. Or it...

    It could be wires not connected properly. Or it might be a mistake or misunderstanding in the code. Yeah, I know that's pretty obvious and covers all the bases, could be either hardware or...
  34. Replies
    3
    Views
    122

    Indeed, the ADC shouldn't do this. The pin...

    Indeed, the ADC shouldn't do this. The pin should be a high impedance when used as analog input.
  35. Replies
    8
    Views
    157

    Teensy certainly can act as a USB keyboard, mouse...

    Teensy certainly can act as a USB keyboard, mouse and joystick. To see how you would do this, install Arduino & Teensyduino. You can get the software here.
    ...
  36. Replies
    11
    Views
    422

    If your Raspberry Pi 4 is running the normal...

    If your Raspberry Pi 4 is running the normal Raspbian or Noobs software, it's 32 bit ARM. Even though the hardware can run in 64 bit mode, the distros normally used are all still 32 bit.

    To...
  37. Replies
    5
    Views
    139

    First, check if you have a recent version of...

    First, check if you have a recent version of Teensyduino. In Arduino, click Help > About. 1.53 is the latest.

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

    Version 1.46 fixed a problem where...
  38. Which operating system are you using? On...

    Which operating system are you using?

    On Linux, a common issue is default to unix line discipline rather than raw mode.

    On Windows (all versions) a potential problem happen if your code on...
  39. I ordered one of those hubs from the first ebay...

    I ordered one of those hubs from the first ebay merchant on the list (iokhouse-19).
  40. Can you name (and shame) this troublesome USB...

    Can you name (and shame) this troublesome USB hub? Or give us a photo, if it's some generic no-name thing without a clear model number?

    If it's still on the market, I might buy one for testing. ...
  41. Teensyduino doesn't install any kernel level...

    Teensyduino doesn't install any kernel level code. Nothing runs as root. The teensy_serialmon program uses only Apple's public user-level APIs.

    Maybe we're triggering a bug in MacOS?



    Or...
  42. Replies
    3
    Views
    153

    I'm trying to understand what you're describing...

    I'm trying to understand what you're describing with these words "Pressing the reset button momentarily does not reset the blinking led on the teensy nor does it start programming when plugged in."
    ...
  43. Replies
    5
    Views
    201

    If you change the define this way (not editing...

    If you change the define this way (not editing AudioStream.h), it only affects the code compiled in your sketch.

    The code within the audio library still uses the original AudioStream.h. In fact,...
  44. Do not include MIDIUSB. That library is meant...

    Do not include MIDIUSB. That library is meant for various Arduino boards, but not for Teensy.

    On Teensy, you don't include a library for USB device mode. Instead you use the Tools > USB Type...
  45. Can I talk you into trying the Arduino IDE, not...

    Can I talk you into trying the Arduino IDE, not to actually edit your code but just to try reproducing this particular problem?

    Hopefully you can copy & paste just that variable and maybe a small...
  46. Maybe this can help? ...

    Maybe this can help?

    https://forum.pjrc.com/threads/62819-Implementing-XY2-100-serial-protocol-on-Teensy-4-1?p=253563&viewfull=1#post253563

    Look for the comment "not using DMA" and "start...
  47. @Constation - Please, tell me specifically which...

    @Constation - Please, tell me specifically which info you found has errors. At the very least, I would like to add a notice on the web page so others can be aware of the issue. But what can I do...
  48. Replies
    5
    Views
    265

    Whew, so many questions packed into 1 message. ...

    Whew, so many questions packed into 1 message. I'm going to focus on just 2 for the moment...



    The simple answer is (almost) everything tries to use that 512K tightly coupled memory, unless...
  49. Replies
    4
    Views
    224

    Yes, that's the answer. The DC synth also has...

    Yes, that's the answer.

    The DC synth also has some limited support for linear ramping. It's not as automatic or as precise as the envelope, but might be useful in some cases.
  50. All of those Eagle libs were contributed by...

    All of those Eagle libs were contributed by people who use Teensy. Each one says who created it.

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

    I do not use Eagle. I have not created any Eagle...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4