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

Search:

Type: Posts; User: beermat

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    497

    Paul, does the above apply to the Teensy 4.1 as...

    Paul, does the above apply to the Teensy 4.1 as well? I have been using arm_set_clock() in my main project running on a T4.1 for almost a year, and haven't once experienced/identified any negative...
  2. Replies
    2
    Views
    236

    The three IPs in the TimeNTP example in the Time...

    The three IPs in the TimeNTP example in the Time library examples all return no response for me, too. This one worked:


    IPAddress timeServer(132, 163, 96, 2); // time.nist.gov
  3. Replies
    94
    Views
    9,973

    In my experience (and others, who took this issue...

    In my experience (and others, who took this issue up with the FNET author), the DNS lookup code in NativeEthernet/FNET will not return a host IP if the lookup is done on an alias (CNAME). To...
  4. Yeah, what indeed could go wrong? :) One thing,...

    Yeah, what indeed could go wrong? :) One thing, if you currently use 2.54mm headers to attach the Teensy to the PCB, the Ethernet ones are smaller pitch and size, so just ensure the ethernet...
  5. As TX and RX are independent from a...

    As TX and RX are independent from a signaling/functional perspective, I don't think their relative lengths matter. I have a custom board with a Teensy 4.1 and Ethernet amongst other things (designed...
  6. Replies
    194
    Views
    33,421

    Update: it is dns.getHostByName(host,...

    Update: it is dns.getHostByName(host, remote_addr) in the client.connect() method that fails to resolve the address for the server. "api.weather.gov" is an alias (CNAME) and it appears the dnsClient...
  7. Replies
    2
    Views
    250

    What errors do you have at runtime? I have had a...

    What errors do you have at runtime? I have had a similar experience with "Fastest" in the past, after adding a small amount of new code to a functioning project and executing on the Teensy, it would...
  8. Replies
    194
    Views
    33,421

    Thanks vjmuzik for this library! I have been...

    Thanks vjmuzik for this library! I have been using it successfully to retrieve weather data from Open Weather. I wanted to expand to get additional information from the National Weather Service API...
  9. Replies
    148
    Views
    8,618

    Thanks Frank! Wish I had seen this thread earlier...

    Thanks Frank! Wish I had seen this thread earlier :) Last week, I was experiencing similar issues inside a loop that "normally" took around 22ms for ~500 iterations, experiencing "freezes" every 50...
  10. Replies
    23
    Views
    3,870

    But did you get this working on a T4 / T4.1? I...

    But did you get this working on a T4 / T4.1? I have ILI9488 (480x320px) and NT35510 (800x480px) drivers now working well off GPIO6 in 8 and 16 bit mode, and was wondering about trying FlexIO too, but...
  11. Videos of Teensy 4.1 running LVGL GUI demos

    Took a little time to make a video the Teensy 4.1 running a couple of the LVGL demos, to give a view of what can be achieved with that library on a Teensy 4.1:

    Music player demo on T4.1 with...
  12. I wanted it; still do :) I've fudged mine for now...

    I wanted it; still do :) I've fudged mine for now to work for me, but it's ugly.
  13. Replies
    10
    Views
    1,582

    I'm using the upper 16 bits of GPIO6 on Teensy...

    I'm using the upper 16 bits of GPIO6 on Teensy 4.1 to drive parallel TFT displays (ILI9488 480x320 and NT35510 800x480) in 8 and 16 bit modes, and just because the Teeny pinouts aren't consecutive...
  14. It's a quick snack for the processor. Or is that...

    It's a quick snack for the processor. Or is that asm volatile("nom nom nom nom nom")? I forget.

    I (and others) use them for short delays; for instance, I'm driving a parallel ILI9488, and strobing...
  15. Thread: beginner dtcm

    by beermat
    Replies
    5
    Views
    869

    Can you please just give us an alternate linker...

    Can you please just give us an alternate linker script that follows the more standard paradigm of "Flash for instructions unless marked FASTRUN"? As someone who uses several third party libraries to...
  16. Replies
    20
    Views
    3,970

    Bit late to the party here, but LVGL gives you...

    Bit late to the party here, but LVGL gives you some options here via the lv_conf.h file. You can tell it to use EXTMEM and how much, and also PROGMEM for it's large constants, like fonts, and even...
  17. Replies
    12
    Views
    1,285

    The latest "high speed SPI" RPi screens are...

    The latest "high speed SPI" RPi screens are intriguing. The WaveShare Model C uses an ILI9486 controller, I believe. I bought one thinking it would be a ton of work to get running via the Teensy, but...
  18. Replies
    12
    Views
    1,285

    I haven't tried this particular model screen, but...

    I haven't tried this particular model screen, but I did have success with a different RPi SPI screen, the 125Mhz SPI model C. For that model, it basically has a SPI interface to the MCU but uses the...
  19. Replies
    48
    Views
    8,748

    I have an 8 bit parallel TFT display connected to...

    I have an 8 bit parallel TFT display connected to a Teensy 4.1 via the pins mapped to GPIO6 bits 16..23 (pins 19,18,14,15,40,41,17,16), and have it working all fine and dandy using this statement to...
  20. Frank, is this maintained somewhere for Teensy...

    Frank, is this maintained somewhere for Teensy 4.1? I really hate being forced to load up my ITCM with tons of 3rd part library code that I don't need there, at the expense of being able to use that...
  21. Thanks, I'm using LittleVGL for the menu system,...

    Thanks, I'm using LittleVGL for the menu system, it's really nice! And yes, because I pre-encode the video file, it's literally just a read directly into the memory buffer and then a SPI transfer of...
  22. This is great, thanks!

    This is great, thanks!
  23. This is entirely possible, and a library would be...

    This is entirely possible, and a library would be very useful I think!

    I'm currently getting 30+ FPS video and sound streamed from an SD card (SdFat Beta, SDIO, clock 70Khz) using a Teensy 4.0,...
  24. Replies
    28
    Views
    3,063

    Just a quick reply - I have the Teensy 4.0...

    Just a quick reply - I have the Teensy 4.0 working fine with the SdFat beta, as have others it seems. It's been a while since I got it going, but I remember having to format the card as exFAT, and...
  25. Replies
    35
    Views
    2,632

    It is printing the memory address, because you...

    It is printing the memory address, because you are assigning the memory address of buttonId as its value with buttonIdPtr = &buttonId; Try buttonIdPtr = buttonId instead, that works in your code....
  26. Replies
    26
    Views
    8,786

    Thanks :) The Pacman code is currently a little...

    Thanks :) The Pacman code is currently a little too interwoven with my display/input code, and esp. coded to the rotation of the ILI9342 vs ILI9341, but yeah, after this project, I can separate and...
  27. Replies
    26
    Views
    8,786

    I just want to give a +1 to LittlevGL. Currently...

    I just want to give a +1 to LittlevGL. Currently using it on a Teensy 4.0 with an IL9342 based 2.3" display and XPT2046 touchscreen, and it's pretty straightforward to use and the results are...
  28. Replies
    4
    Views
    624

    Thanks for the moral support, I needed it :)...

    Thanks for the moral support, I needed it :) After more digging, and hacking down my code into as simple a sketch I can get to recreate the issue with minimal variables, I did notice that my first...
  29. Replies
    4
    Views
    624

    Update - this is the troublesome code snippet, it...

    Update - this is the troublesome code snippet, it takes audio data (read from the SD card into videoAudioBuffer), and pushes it to an AudioPlayQueue



    //Process audio
    //Audio is 1839...
  30. I'm having fun, thanks for this, my sketch now...

    I'm having fun, thanks for this, my sketch now has the headroom it needs (although the IDE still reports way more global variable space usage when I chose FLASH memory vs compiling on the Teensy...
  31. Replies
    4
    Views
    624

    AudioPlayQueue memory issue?

    Have an issue using AudioPlayQueue on Teensy 4.0, that isn't present on Teensy 3.6. My sketch is complex, so will describe the issue seen as best I can in the hope it jogs some recollection or...
  32. AudioOutputI2S on Teensy 4.0 not working? Hair puller!

    Ok, went to simplest possible setup - Guitar example from the Audio library, taking TX, LRCLK and BCLK to Adafruit I2S 3W Class D Amplifier Breakout - MAX98357A.

    AudioOutputI2S works on T3.6 with...
  33. I second that emotion. If behavior is flipped...

    I second that emotion. If behavior is flipped significantly (from defaulting to flash unless FASTRUN, changed to RAM unless FLASHMEM) I'm an opt-in kinda guy, not opt-out (although from my first pass...
  34. Thank you for the response, but - the device with...

    Thank you for the response, but - the device with twice the flash and four times the RAM (4.0) cannot handle the exact same sketch as the 3.6?! I quickly went through my code and marked 90% of it...
  35. Trying to follow along with all this info about...

    Trying to follow along with all this info about the Teensy 4.0 memory structure, but I have this oddity which I can't explain:

    Arduino Verify for Teensy 3.6 produces this:
    Sketch uses 661280...
  36. Replies
    74
    Views
    45,491

    Firstly, THANK YOU for building this library, I...

    Firstly, THANK YOU for building this library, I love it and it has enabled me to do exactly what I want to do with my OLED, the performance is amazing!

    I am having one issue, though - when I use ...
Results 1 to 36 of 36