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

Search:

Type: Posts; User: beermat

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    206

    When you say "same result" can you clarify - do...

    When you say "same result" can you clarify - do you mean that the left display is always fine no matter which physical device is wired there, or that the screen that has lower bitdepth on the right...
  2. Replies
    18
    Views
    870

    I think it is best to fix them in the original...

    I think it is best to fix them in the original post, so when someone new comes along later and takes that code from the OP, they have a working version of it rather than potentially dealing with an...
  3. Replies
    46
    Views
    4,128

    Thanks for this! I went with this loop in the...

    Thanks for this! I went with this loop in the end, which works for even multiples of the screen height:

    static const int SLX = 480;
    static const int SLY = 800;
    static const int chunks = 4;...
  4. Replies
    46
    Views
    4,128

    Great, sounds awesomely flexible! I tried with a...

    Great, sounds awesomely flexible! I tried with a full 480*800 buffer with all storage in EXTMEM, and "buddha" worked, managing 6.3 FPS :) "mars" also worked (slowly as expected) using fullscreen...
  5. Replies
    46
    Views
    4,128

    @vindar - is there an example of configuring your...

    @vindar - is there an example of configuring your 3D renderer to use just a single non-DMA partial framebuffer? I'm interested to try this on my 800*480 16 bit parallel screen which, given the size...
  6. I am having the same issue as wwatson above in...

    I am having the same issue as wwatson above in #126, even using the latest version of the FTP Server 1.1.0 . Using FileZilla (3.59.0) on Windows, I can connect in passive or active mode and (usually,...
  7. Ahhh, gotcha. Yes, there is no "quick start" for...

    Ahhh, gotcha. Yes, there is no "quick start" for a combination of a "bare metal" device like the Teensy and a graphics library such as LVGL, which is capable of running on multiple platforms. The...
  8. But isn't the battle with LVGL getting the...

    But isn't the battle with LVGL getting the initial setup installed, configured, working and tied in to your display driver to output to your screen? If you got to the point of displaying a text...
  9. I have LVGL working on the Teensy 4.1, and whilst...

    I have LVGL working on the Teensy 4.1, and whilst it is a little bit of an initial learning curve, it is quite powerful and very flexible, and is actively maintained by the devs. I'd definitely...
  10. From code you can do: asm("bkpt #251"); // run...

    From code you can do:

    asm("bkpt #251"); // run bootloader

    or add your own pushbutton to momentarily connect the "Program" pin on the T4.1 to ground
  11. Replies
    74
    Views
    7,476

    Not had a chance to look at it yet; I just...

    Not had a chance to look at it yet; I just changed the font I used in my app to be more like one you prefer :)
  12. Replies
    74
    Views
    7,476

    It's just a rotating display of some key info as...

    It's just a rotating display of some key info as I develop...the first screenshot showed it when it had power (current) usage and screen bit depth displayed, the second showed CPU temp and TFT...
  13. Replies
    74
    Views
    7,476

    27769 There you go :)

    27769

    There you go :)
  14. Replies
    74
    Views
    7,476

    Yes, I currently do this by reading the TFT GRAM...

    Yes, I currently do this by reading the TFT GRAM directly, either into a full screen buffer into PSRAM (double slow :) ) or in chunks into a buffer in TCM, and then write to the SD card as a .BMP,...
  15. Replies
    74
    Views
    7,476

    The pixels are a little small :) In my project...

    The pixels are a little small :) In my project that uses this, I display log files from my app, in a small but legible font - not something I'd want to read for a long period, though!

    27763

    I'm...
  16. FWIW though, I am using PlatformIO in VSCode on...

    FWIW though, I am using PlatformIO in VSCode on Windows 10 with a T4.1, and have been using Serial8 without any warnings or errors in compilation through several versions of the Teensy framework and...
  17. Replies
    17
    Views
    747

    Do you still have to manually push the button on...

    Do you still have to manually push the button on the Teensy to enter program mode if you have the monitor open like this? I still get the following in VSC / platformIO when doing a "build and run"...
  18. Replies
    74
    Views
    7,476

    A little late, but what about this 800*480...

    A little late, but what about this 800*480 display, and just display sidebars to make it 640*480 :) It's NT35510 based, but it's a very similar controller to the ILI9488 command set, and affordable....
  19. Replies
    7
    Views
    971

    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...
  20. Replies
    2
    Views
    548

    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
  21. Replies
    94
    Views
    15,802

    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...
  22. 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...
  23. 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...
  24. Replies
    201
    Views
    62,355

    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...
  25. Replies
    2
    Views
    448

    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...
  26. Replies
    201
    Views
    62,355

    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...
  27. Replies
    148
    Views
    15,284

    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...
  28. Replies
    23
    Views
    5,508

    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...
  29. Replies
    1
    Views
    1,381

    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...
  30. 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.
  31. Replies
    10
    Views
    3,350

    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...
  32. 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...
  33. Thread: beginner dtcm

    by beermat
    Replies
    5
    Views
    1,482

    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...
  34. Replies
    20
    Views
    5,453

    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...
  35. Replies
    12
    Views
    2,231

    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...
  36. Replies
    12
    Views
    2,231

    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...
  37. Replies
    48
    Views
    15,030

    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...
  38. 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...
  39. 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...
  40. This is great, thanks!

    This is great, thanks!
  41. 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,...
  42. Replies
    28
    Views
    5,534

    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...
  43. Replies
    35
    Views
    3,816

    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....
  44. Replies
    26
    Views
    11,527

    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...
  45. Replies
    26
    Views
    11,527

    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...
  46. Replies
    4
    Views
    879

    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...
  47. Replies
    4
    Views
    879

    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...
  48. 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...
  49. Replies
    4
    Views
    879

    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...
  50. 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...
Results 1 to 50 of 54
Page 1 of 2 1 2