Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: mstiller

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    229

    Shouldn't the crystals have some load capacitors...

    Shouldn't the crystals have some load capacitors nearby?
  2. Replies
    14
    Views
    547

    I use platform.io all the time. Usually the...

    I use platform.io all the time. Usually the platformio.ini file which gets generated is ok, it would look like this:



    [env:teensy41]
    platform = teensy
    board = teensy41
    framework = arduino
  3. Have a look at platform.io. It can be used with...

    Have a look at platform.io. It can be used with Visual Studio Code and has one-click build and upload buttons.
  4. Replies
    9
    Views
    409

    Sample code? 24/25 are not the standard i2c pins...

    Sample code? 24/25 are not the standard i2c pins (which are 18/19) so i think you would need to do Wire.setSDA/setSCL to use that pins.

    Multiple I2C devices are possible, pullup resistors (2k2 /...
  5. Replies
    15
    Views
    517

    Teensy 4.x as master and the other board as...

    Teensy 4.x as master and the other board as slave. Huzzah 8266 not working, Feather M4 working.
  6. Replies
    15
    Views
    517

    I think i have proof, that it is Huzzah related. ...

    I think i have proof, that it is Huzzah related.

    As i mostly use Adafruit Feathers it is very easy to swap boards around, as the pinout is the same.

    So i took the non working huzzah code and...
  7. Replies
    15
    Views
    517

    On the Adafruit product page it is mentioned,...

    On the Adafruit product page it is mentioned, that they use bit banging for i2c on that board. On the thread Kurt posted are people which mention that the 80Mhz of the huzzah might be too slow for...
  8. Replies
    8
    Views
    593

    Thanks for sharing, actually i also like the...

    Thanks for sharing, actually i also like the FeatherWing proto in your Github repo. :)
  9. The code from the first post compiles fine here...

    The code from the first post compiles fine here for teensy and platformio (latest).

    What might cause the issue is some old globally installed library. My experience shows that using 3rd party libs...
  10. Try to add: #include as the...

    Try to add:

    #include <Arduino.h>

    as the first include in main.cpp.

    If this does not help, post your platformio.ini of the project and the errors.
  11. Thread: Teensy Organ

    by mstiller
    Replies
    4
    Views
    411

    Very cool!

    Very cool!
  12. Replies
    40
    Views
    1,192

    Good to hear that the issues are solved now.

    Good to hear that the issues are solved now.
  13. Try to put the code without the serial setup...

    Try to put the code without the serial setup stuff in some testfn. Call testfn from setup. Compile and objdump -D firmware.elf, look at testfn.

    Here it is like this:



    0000008c <_Z6testfnv>:...
  14. Replies
    40
    Views
    1,192

    If the other programs don't use the AMA driver...

    If the other programs don't use the AMA driver they will not crash if there is a race condition or bug in this driver. If you google for kernel oops cdc_ama you find some issues, so upgrading to a...
  15. Replies
    40
    Views
    1,192

    If you ask me, looking at the kernel oops, this...

    If you ask me, looking at the kernel oops, this might be a bug in the cdc_acm driver, any chance that you update the kernel and try again?

    There might be a 5.x kernel available on 18.04, i think
  16. Replies
    40
    Views
    4,140

    Sticky: Platformio update went seamless. To me it...

    Platformio update went seamless.

    To me it looks like the code is now running faster as 1.52.
  17. Cool, updating... :-)

    Cool, updating... :-)
  18. Hi, i bit old this thread, nevertheless i find...

    Hi, i bit old this thread, nevertheless i find this interesting. Adding one example how to use to the repo would be helpful i think.
  19. Thread: Teensy 4 RTOS

    by mstiller
    Replies
    23
    Views
    8,574

    I want to reaffirm that. I killed a 4.0 by...

    I want to reaffirm that. I killed a 4.0 by mistakingly touching a Teensy Pin with the red one. After that, i did cut the red one.
  20. No issue, i'm thankful for the hints and tips and...

    No issue, i'm thankful for the hints and tips and someone actually trying it out. Appreciate that.
  21. What do you mean with "powered the DRV8825"? You...

    What do you mean with "powered the DRV8825"? You connected Teensys VIN to RESET and SLEEP of the DRV?
    I'm just wondering because in the polulu's diagram i used there is no VDD to the DRV8825. Just...
  22. Thanks for testing. Interesting fact is, i...

    Thanks for testing. Interesting fact is, i switched the Teensy with an ESP32 and it works without issues so far. :confused:

    20779
  23. Thanks for all for the help. I'm thinking about...

    Thanks for all for the help. I'm thinking about ordering some cheap optocouplers and experiment with these.
    Unfortunately i have no T 3.2 at hand but don't mind ordering one for experimentation.
    ...
  24. Thanks, very good hints. I think some GND...

    Thanks, very good hints. I think some GND potential issue causes the Teensy to brownout / reboot.

    @luni:

    I did not connect Motor GND to Digital GND but according to...
  25. Further debugging with Serial4 and debugPrint...

    Further debugging with Serial4 and debugPrint revealed that in fact the Teensy is just rebooting. (Without any "error" message before). Unsure why it gets into that flash loop sometimes if a simple...
  26. Teensy 4.0 strange "resets/reboots" driving a Pololu DRV8825

    Hi,

    i have a Teensy 4.0 attached to a DRV8825 Stepper Driver using the minimal wiring diagram from here:

    https://www.pololu.com/product/2133

    The driver is connected to the Teensy using the...
  27. Good idea, so A7 reads 1.75V and the 3.3Pin reads...

    Good idea, so A7 reads 1.75V and the 3.3Pin reads 3.28V.

    Then i had the idea that maybe some internal pull-something is enabled and did a pinMode(A7, INPUT) before.

    Now the values read: raw:...
  28. Thanks for your answer. It arrived today from...

    Thanks for your answer.

    It arrived today from the store and is a big one (6600mAh). I don't think it is fully charged.

    If i understand you correctly i have to double the raw value, divide by...
  29. Howto analogRead accumulator voltage on Teensy 4.1 w. Teensy Feather Adapter

    Hi,

    i am trying to read the voltage of a lipo accumulator attached to a Teensy Feather Adapter on a Teensy 4.1.

    Reading works, but i have no clue how to calculate the voltage from the values...
  30. Replies
    220
    Views
    10,826

    Ok, thanks, i will have a look.

    Ok, thanks, i will have a look.
  31. Replies
    220
    Views
    10,826

    Hi Luni, i think the lib could benefit from a ...

    Hi Luni,

    i think the lib could benefit from a



    #ifndef YIELD_TYPE
    #define YIELD_TYPE YIELD_STANDARD
    #endif
  32. Replies
    11
    Views
    1,042

    This is just amazing.

    This is just amazing.
  33. Replies
    21
    Views
    832

    According to the docs: ...

    According to the docs:

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

    it is indeed copied to RAM.

    -Michael
  34. Replies
    131
    Views
    9,314

    Today i learned that. Very cool, will have a look.

    Today i learned that. Very cool, will have a look.
  35. Replies
    2
    Views
    237

    I think it should be not that hard to write a...

    I think it should be not that hard to write a file to the sd card using http/https.

    I am not aware of a ftp thing.
  36. I posted a more or less guide these days: ...

    I posted a more or less guide these days:

    https://forum.pjrc.com/threads/61297-Teensy-4-1-WiFi-(Howto)

    Actually it is now even easier, as you can just use the Adafruit WifiNINA repo if you use...
  37. Replies
    3
    Views
    829

    More investigation reveals, that you can in fact...

    More investigation reveals, that you can in fact use the Adafruit library https://github.com/adafruit/WiFiNINA
    but you should use master and add this on top of the sketch:



    #if...
  38. Replies
    3
    Views
    829

    I forked the lib fresh from master which looks...

    I forked the lib fresh from master which looks better than the 1.3.0 version and applied a new patch to make it work out of the box.

    https://github.com/gounselor/WiFiNINA

    So please replace the...
  39. Replies
    3
    Views
    829

    PS: I think that issue with the SPI pullups...

    PS:

    I think that issue with the SPI pullups might actually be true. I remembered that the FeatherWing Logger has pull-ups, so i stacked another module. It looks gross now but worked at the first...
  40. Replies
    3
    Views
    829

    Teensy 4.1 WiFi (Howto)

    Hi all,

    today my new parts arrived including an Adafruit Airlift Feather so i decided to connect the Teensy 4.1 to my WLAN.

    (I think this would also work with Teensy 4.0)

    Here is a bit of an...
  41. You could do a quick test and add ...

    You could do a quick test and add

    __disable_irq();

    before FastLED.show();

    and

    __enable_irq();
  42. Thanks again for all your suggestions. 20508

    Thanks again for all your suggestions.

    20508
  43. Today it looked like exp-tech.de has the chips...

    Today it looked like exp-tech.de has the chips available again.

    https://www.exp-tech.de/plattformen/teensy/9947/psram-chip-for-teensy-4.1?c=1168
  44. Replies
    5
    Views
    273

    Another possibility - as i am a big fan of that...

    Another possibility - as i am a big fan of that Adafruit Feather system - is to use their airlift feather wing and their teensy feather adapter.
    This would then use SPI to communicate between them,...
  45. Replies
    5
    Views
    273

    I would do this via i2c. Teensy as slave and...

    I would do this via i2c. Teensy as slave and define my own "protocol" to do that.

    Here is a thread about i2c:...
  46. Thanks for all the suggestions so far. I ordered...

    Thanks for all the suggestions so far. I ordered some stuff after having spend some time searching for a shop which has a Hakko in store.
    Hopefully the stuff arrives before the weekend.
  47. Thank you all for your suggestions, they are very...

    Thank you all for your suggestions, they are very helpful.
  48. Thanks for the answers so far. One question,...

    Thanks for the answers so far.

    One question, what is a TS100?
  49. Please recommend soldering iron / equipment

    Hi,

    today i managed to "glue" the psram chips to the new teensy 4.1.

    No, i will not show pictures how it looks. It is a wonder that the teensy and the chips still seem to be ok.

    I have the...
  50. Mine arrived today with the Teensy 4.1. Seems...

    Mine arrived today with the Teensy 4.1. Seems that they did not have many in stock after all. I ordered only 4.
Results 1 to 50 of 86
Page 1 of 2 1 2