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

Search:

Type: Posts; User: beermat

Search: Search took 0.00 seconds.

  1. 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...
  2. Thread: beginner dtcm

    by beermat
    Replies
    5
    Views
    293

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

    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...
  4. Replies
    12
    Views
    327

    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...
  5. Replies
    12
    Views
    327

    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...
  6. Replies
    48
    Views
    3,628

    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...
  7. 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...
  8. 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...
  9. This is great, thanks!

    This is great, thanks!
  10. 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,...
  11. Replies
    28
    Views
    1,083

    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...
  12. Replies
    35
    Views
    952

    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....
  13. Replies
    26
    Views
    4,905

    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...
  14. Replies
    26
    Views
    4,905

    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...
  15. Replies
    4
    Views
    408

    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...
  16. Replies
    4
    Views
    408

    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...
  17. 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...
  18. Replies
    4
    Views
    408

    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...
  19. 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...
  20. 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...
  21. 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...
  22. 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...
  23. Replies
    74
    Views
    40,277

    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 23 of 23