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
    95
    Views
    12,305

    Still yet another update... For the last...

    Still yet another update...

    For the last couple days I've been searching for the cause of a strange startup bug, going over everything in the bootloader. But it turned out to not be a booloader...
  2. Replies
    6
    Views
    56

    Looks like it's working but you're printing the...

    Looks like it's working but you're printing the wrong thing in loop().

    Run this...



    #include <DMAChannel.h>

    #define SAMPLES 128
    __attribute__((aligned(32))) static uint32_t...
  3. Replies
    6
    Views
    56

    It should work. Is the DMA transfer ending...

    It should work.

    Is the DMA transfer ending with error status? Or does it complete but without any observable effect?
  4. Replies
    16
    Views
    187

    Arduino's website has 3 downloads for Windows. ...

    Arduino's website has 3 downloads for Windows. Only 2 of them work with Teensyduino.

    23417

    Any chance you actually have this "Windows app" version?
  5. According to the data sheet on page 14, this is a...

    According to the data sheet on page 14, this is a 20ns access time part. A slower (presumably cheaper) version exists with 30ns access time, which is probably a sign whatever you're trying to...
  6. It will only install into a complete copy of the...

    It will only install into a complete copy of the Arduino IDE.
  7. It is indeed headless, but only if you run it...

    It is indeed headless, but only if you run it with the "--dir=" option as documented on the web page under "Command Line Install". If you omit that command line arg, it will run with the GUI.
    ...
  8. Maybe this should be a new thread, but I'll just...

    Maybe this should be a new thread, but I'll just briefly mention my hope for WebHID to become officially supported by Chrome and hopefully other browsers.

    https://web.dev/hid/

    Then it will...
  9. Wow, that's quite a statement to make! The...

    Wow, that's quite a statement to make!

    The Teensyduino installer provides that "headless" non-GUI install option specifically so you can automate adding Teensy's files to a copy of the Arduino...
  10. Check out the "Command Line Install" info on the...

    Check out the "Command Line Install" info on the Teensyduino download page (scroll down... it's after the GUI installer screenshots)

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

    We currently do...
  11. Replies
    4
    Views
    91

    Officially, no. The 2nd USB port is only...

    Officially, no. The 2nd USB port is only supported in USB host mode.

    Unofficially, I believe WMXZ published a library with the normal device mode code converted to use the 2nd USB port. As I...
  12. Replies
    2
    Views
    65

    Can you give me a small self-contained program...

    Can you give me a small self-contained program (using only libs Teensyduino installs) which I can copy into Arduino (not PlatformIO) to reproduce the problem?

    To specifically answer your question:...
  13. Windows doesn't allow programs to write to the...

    Windows doesn't allow programs to write to the folders where the APP software are stored, even if run with admin privilege.

    As Defragster explained, Teensyduino needs to install patches to the...
  14. Replies
    4
    Views
    92

    Yes, but you need to use these longer pins and...

    Yes, but you need to use these longer pins and these sockets (2 of each):

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

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

    These allow the longer...
  15. Replies
    16
    Views
    187

    Usually this error happens on Linux when...

    Usually this error happens on Linux when attempting to install into a distro-provided copy of Arduino.

    Only the original Arduino IDE from Arduino.cc website is supported. The many modified copies...
  16. Replies
    79
    Views
    1,710

    Looks like this should be fairly straightforward....

    Looks like this should be fairly straightforward.

    I've learned the hard way (many more times than I'd like to admit) about putting too much work into supporting a new platform or new tech before...
  17. Replies
    79
    Views
    1,710

    Is CircuitPython supporting use of both M0...

    Is CircuitPython supporting use of both M0 processors? How is (or will) concurrency and synchronization managed?
  18. Did you create a "portable" Arduino IDE and try...

    Did you create a "portable" Arduino IDE and try installing Teensyduino into that copy? That ought to be the simplest way to get Teensy working.

    To fix this problem affecting all Arduino copies...
  19. Replies
    2
    Views
    78

    Linux on Teensy would be somewhere between "not...

    Linux on Teensy would be somewhere between "not worth the incredible effort" to "pretty much impossible".

    There is no MMU, so you're immediately resigned to not-so-useful ucLinux. The best case...
  20. Replies
    95
    Views
    12,305

    Yet another update - programmed 3 chips today and...

    Yet another update - programmed 3 chips today and soldered them to virgin boards. The bootloader comes up and works with Teensy Loader, but still some issues remain with booting up in certain cases....
  21. Replies
    4
    Views
    92

    How many LEDs is this? Is this a huge project...

    How many LEDs is this? Is this a huge project with 400 long LED strips? Or just 400 LEDs total?
  22. Replies
    79
    Views
    1,710

    Teensy 4.0 better be better, since our retail...

    Teensy 4.0 better be better, since our retail price is 5 times as much!
  23. Follow these instructions: ...

    Follow these instructions:

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

    The very first step says "a compressed version of the Arduino IDE according to your OS", which for Windows means you...
  24. Replies
    79
    Views
    1,710

    I believe the real lesson was learned by that guy...

    I believe the real lesson was learned by that guy who tried to launch the $9 "C.H.I.P." board.
  25. Click Tools > Boards. Whatever it shows, select...

    Click Tools > Boards. Whatever it shows, select a non-Teensy board like Arduino Uno. Wait just a moment while Arduino updates itself. Then click the menu again and select Teensy 3.6.

    Arduino...
  26. On the serial device raw mode, the Linux native...

    On the serial device raw mode, the Linux native functions are tcgetattr() to fetch the serial port parameters, cfmakeraw() to change the setting in the "struct termios" data, and tcsetattr() to write...
  27. Replies
    79
    Views
    1,710

    To check a digital signature, you need the public...

    To check a digital signature, you need the public key associated with the private key which was used to generate the signature. The public key isn't secret. You can put a copy of it into the...
  28. Just a blind guess, since we can't see this C++...

    Just a blind guess, since we can't see this C++ code, but a problem which has come up many times before on all Linux system is "unix line discipline". Basically, you need to configure the serial...
  29. Did you install the udev rules? Is ModemManager...

    Did you install the udev rules? Is ModemManager interfering? Those are the 2 most common problems on Linux systems.

    I personally use Ubuntu 18.04 and it works great. I don't have any systems...
  30. Replies
    79
    Views
    1,710

    Didn't see any mention of config fuses or...

    Didn't see any mention of config fuses or internal flash. Maybe there's some way to do security without internal storage of a secret key or hash of a public key?
  31. Replies
    79
    Views
    1,710

    I didn't see any mention of flash encryption,...

    I didn't see any mention of flash encryption, firmware authentication, or other code security features. Kinda makes me wonder if they'll be able to sell these microcontrollers to traditional...
  32. Replies
    79
    Views
    1,710

    I wonder if they have a way to generate MCLK for...

    I wonder if they have a way to generate MCLK for I2S chips?
  33. Replies
    79
    Views
    1,710

    The USB controller looks very similar to AVR and...

    The USB controller looks very similar to AVR and SAMD - no bus master DMA, packets transferred to a dual port memory.
  34. Replies
    79
    Views
    1,710

    I don't understand what this means? Didn't see...

    I don't understand what this means? Didn't see anything like that in the datasheet.

    The SWD does have a feature to allow more than 1 (perhaps up to 7) of these chips to be accessed on the same...
  35. Replies
    79
    Views
    1,710

    I spent a couple hours reading parts of the...

    I spent a couple hours reading parts of the datasheet. It's refreshing how well written it is, much nicer that what we get from NXP, Atmel/Microchip and ST. I probably read & skimmed less than 100...
  36. Replies
    79
    Views
    1,710

    Pico does indeed look really interesting. I've...

    Pico does indeed look really interesting. I've only just learned about it minutes ago. So far I don't know much about it. At only $4, it certainly is much cheaper! It's said to be Cortex-M0 at...
  37. Yes, on Teensy 4.0 & 4.1, you can remap to any...

    Yes, on Teensy 4.0 & 4.1, you can remap to any digital pins, even less than or more than 8 pins if you like.

    In Arduino, click File > Examples > OctoWS2811 > Teensy4_PinList to see how.

    On...
  38. FWIW, the Teensy 4 experimental ADC code uses 4X...

    FWIW, the Teensy 4 experimental ADC code uses 4X oversampling and a FIR filter, but still lacks (useful) DC removal and the resampling to 44.1 kHz is crude rather than proper interpolation. The FIR...
  39. AltSoftSerial does not work on Teensy 4.1. The...

    AltSoftSerial does not work on Teensy 4.1. The main reason is a belief that 8 serial ports are enough for anyone (kinda like 640K on old PCs....) Likewise, SoftwareSerial when used with non-serial...
  40. Here are the 2 OSH Park links for CS42448...

    Here are the 2 OSH Park links for CS42448 hardware.

    Teensy 3: https://oshpark.com/shared_projects/2Yj6rFaW

    Teensy 4: https://oshpark.com/shared_projects/gVFy0fWQ
  41. ADAU1966A works with TDM output. So far only...

    ADAU1966A works with TDM output. So far only tested with Teensy 4.0 & 4.1, but almost certainly works with Teensy 3.x.

    https://oshpark.com/shared_projects/O7iqdcLr
  42. SPH0645 works, but requires a software filter to...

    SPH0645 works, but requires a software filter to remove DC. I put an example in the library some time ago. File > Examples > Audio > HardwareTesting > Microphones > SPH0645


    Edit: MP34DT01-M...
  43. ADC input on Teensy 4.0 is still experimental and...

    ADC input on Teensy 4.0 is still experimental and currently only supports mono. It sort-of works, but probably not well enough to be useful for most projects.

    If you or anyone else wants to dive...
  44. PCM1802 should probably link to this page. ...

    PCM1802 should probably link to this page.

    https://www.pjrc.com/pcm1802-breakout-board-needs-hack/

    In addition to the PCB error on the most common breakout board, the FSYNC signal has been a...
  45. Replies
    95
    Views
    12,305

    Yet another update... doing more testing. This...

    Yet another update... doing more testing. This morning I found (and fixed) a timing issue with initializing the flash chip's non-volatile status2 register. This is another place where the Teensy...
  46. Any use of pinMode will do this. It completely...

    Any use of pinMode will do this. It completely reconfigures the pin, overwriting the previously set interrupt config.

    Maybe pinMode should check for this case? I'm also considering adding a...
  47. I copied your code into Arduino, but it doesn't...

    I copied your code into Arduino, but it doesn't compile. Stuff is missing. See below....




    Since you already have the hardware wired up, try opening File > Examples > Encoder > Basic and...
  48. I gave it a shout-out on Twitter. Hope that...

    I gave it a shout-out on Twitter. Hope that helps.
  49. Replies
    95
    Views
    12,305

    Another quick update - all the new code is in. ...

    Another quick update - all the new code is in. On a virgin board, the fuses IMXRT fuses are set the first time the MKL02 talks to it. The initialization delivers a unique ethernet mac address as...
  50. Maybe move stuff like this back to setup? ...

    Maybe move stuff like this back to setup?



    AudioMemory(20);
    sgtl5000_1.enable();
    sgtl5000_1.volume(defaultVolume);


    If that doesn't fix the problem, just keep moving more...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4