Search results

  1. 1

    Teensy 4.0 - what 9341 library to use?

    Below is for double frame buffers: #include <ILI9341_t3n.h> #include "ili9341_t3n_font_ArialBold.h" // YMMV - I need this // NOTE: TFT_CS UNUSED! - NOT CONNECTED! #define TFT_CS 10 #define TFT_DC 9 #define TFT_RESET 8 ILI9341_t3n tft = ILI9341_t3n(TFT_CS, TFT_DC,TFT_RESET); uint16_t...
  2. 1

    Playing around with yet another version of ILI9341_t3 library (ILI9341_t3n)

    That works just fine, thank you! Not seeing any issues with this No Spin version. Happy New year!
  3. 1

    Playing around with yet another version of ILI9341_t3 library (ILI9341_t3n)

    b) was what I had in mind. My draws to are not top to bottom and would require a total rewrite to do it in chunks like that. On the T4 there is plenty of memory available for a 2nd full buffer and the pseudocode you posted was exactly the kind of thing I would want.
  4. 1

    Playing around with yet another version of ILI9341_t3 library (ILI9341_t3n)

    For my use case, it does. It takes about 12ms for me to compose a frame, then another 28ms to send. So I can send a new frame every every 40ms or right at 25fps. If I could compose to a 2nd frame while the DMA is sending first one then I could send a frame every 28ms for a FPS of 35, quite a...
  5. 1

    Teensy 4 - SPI bus > 38mhz possible?

    13.7.6 CCM Bus Clock Multiplexer Register (CCM_CBCMR) NOTE Any change on the above multiplexer will have to be done while the module that its clock is affected is not functional and the respective clock is gated in LPCG. If the change will be done during operation of the module, then it is not...
  6. 1

    audio DAC for Teensy 4 - what one? MCP4725?

    I needed something very small and the 4725 fit the bill, the sound quality is fine for what I am doing with it. If I had the room the PCM5102 would be a good choice. I am glad I went this route because I learned some things about how the twowire library works on T4 and how to do some interesting...
  7. 1

    audio DAC for Teensy 4 - what one? MCP4725?

    Ok, here are some ways to do what I wanted. For both methods below we want to use the 1mhz I2C clock and send data to the 4725 in the three byte mode (address + 2 data bytes) and not the slower 4 byte mode. IntervalTimer at whatever sample rate you want (*see note at end) . The three byte...
  8. 1

    audio DAC for Teensy 4 - what one? MCP4725?

    My goal here is just to be able to do non-blocking playing of short audio clips on the T4 and I can't use the Audio Shield because it is far too large to fit in my project. The MCP4725 board is about 15mm square and I am looking for a board 20mm square at max if I can't use the MCP4725. Before I...
  9. 1

    audio DAC for Teensy 4 - what one? MCP4725?

    I have a MCP4725 wired up to a T4 on pins 16 and 17 and it "works" but I may have chosen the wrong thing. What I want to do is have non-blocking way to play short (1 sec or so) audio samples. I was thinking I could use DMA over I2C but apparently there is no library to do that on the T4 (did not...
  10. 1

    Teensy 4 - SPI bus > 38mhz possible?

    I am trying to trace the code backwards and see what is going on, but if 30mhz is supposed to be the max spi, then it is "overclockable" out of the box because you can send in up to 38000000 into SPI.beginTranaction(SPISettings(38000000,..... and you get a faster clock (as confirmed by timing...
  11. 1

    Teensy 4 - SPI bus > 38mhz possible?

    It looks like 38mhz is what the spi bus tops out at on T4, is it possible to go higher? I saw other posts talking about T3 F_BUS /2 = SPI clock, is it the same in T4? edit: looks like it is f_bus /2 = max spi clock so can you increase the f_bus w/o overclocking the cpu or is that the only way?
  12. 1

    Playing around with yet another version of ILI9341_t3 library (ILI9341_t3n)

    So I have been playing with t3n on T4 using the framebuffer with good results but I wondered if it would make sense to have two framebuffers - you could be composing to one while the other one was being sent via dma in the background. I'm trying to figure out if it would be worth it or really...
  13. 1

    Teensy 4.0 - what 9341 library to use?

    t3n is working fine with CS not connected to anything, thanks for the help.
  14. 1

    Teensy 4.0 - what 9341 library to use?

    They are out there, the one I have is just a display without any touch or SD card socket. It works on 32u4 with adafruit and other libraries - I just set the CS to an unused pin and you cant have anything else on the bus but it works fine. I noticed this in the ILI9341_t3 library: "Modified...
  15. 1

    Teensy 4.0 - what 9341 library to use?

    I am trying to figure out the pluses and minuses of the 3 main 9341 libraries that I know of: ILI9341_t3 ILI9341_t3DMA and the ILI9341_t3n I have a single tft I will put on SPI0, this particular TFT has no CS and it will be the only device on that bus for obvious reasons. I don't have any...
Back
Top