Search results

  1. H

    Routing pll5 to an output pin on teensy 4.1

    Hmm that should work. Pll5 routed to the SAI clocks, and basically discarding any i2s related code after clock setup. Thank you - will give a try!
  2. H

    Routing pll5 to an output pin on teensy 4.1

    Hi all, I read with great attention the vga code using flexio 1/2 and dma to have a functional 8 bit vga using teensy 4.1. I try to build a tft interface for a buffer less contrôler. I need pixel clock for that to go on an output pin. I looked/crawled in the super long reference manual and I...
  3. H

    [posted] VGA out for Teensy 4.0/4.1

    Hi ! Thanks for the replies! Indeed pixclk needs to be generated. Looking at the code I need to route pll5 to an output pin. I think that is it. Timings are probably not as critical with my small 480x480 tft. Jean marc, all the videos instabilities you had were due to the vga monitor loosing...
  4. H

    [posted] VGA out for Teensy 4.0/4.1

    Hi there! Big thanks to jean marc and others for this contribution. I have to drive a tft lcd with no frame buffer. Timings are not as strict as vga. Resolution is 480x 480. 8bpp is fine as I will copy the lsb to the least significant bits to make it 16 bits. Do you see an issue in adapting...
  5. H

    Teensy 4.1 How to start using FlexIO?

    @miciwan This is a real great work you did there. Thank you for that. I actually really mean it as I am part of NXP, but in Sales. I also do tech stuff for myself. I intend to do a 16bit, or 18 bit parallel LCD interface. Do you think we can somehow link FlexIO1 and FlexIO2 to get a wider...
  6. H

    Future Teensies!

    The last thing a developer wants to do is to debug the tools... I read that the proposed SW solution works, but not very stable on 3.X versions, and not so clear about robustness using 4.x either. A proper debug environnement needs to be rock solid. I know IO pads are scarce on the Teensy (...
  7. H

    Future Teensies!

    Hi there! I would definitely vote for REAL debug capabilities, now that we have super powerful CPUs. Teensy 4.2 with 1062RT and JTAG, or SWD? It was really great to have that sort of debug possibility on the last STM32 board I worked on. All included in Vscode. No more ugly printf...
  8. H

    Teensy 4.1 LCD output

    Hi. I intend to drive a 16 bit LCD 480x480 with an Hsync/Vsync/pixel clock interface, RGB 565, using Flexio 3 on T4.1. Reason why I plan on using Flexio3 rather than the 1 and 2 flexios is I need to transcode RGB 8 bit to 16 bit on the fly, while reading from frame buffer , and write to LCD...
  9. H

    How about a 3.5 inch 480x320 tochscreen display?

    Well, what you really need is a iron with fine tip , of course, but the most important thing is a GOOD flux. You almost do not need solder , as most of the time the PSC almost has enough. Typically, I put some solder on the pads, all at once, good roisin flux, and you gently drop in place your...
  10. H

    Using GDB with Teensy without hardware debugger, first Beta

    @AndyCap thank you for the Vscode tips. Looks there needs to be a little bit more "packaging" to get a clean version of this debugging feature. I think this definitely makes the overall system much much better than a simple arduino, and getting Vscode/Platformio to handle all this give a much...
  11. H

    Teensy 4.1 LCD output

    @Glaskows, this is what you look for I think, but in 16 bits : https://www.nxp.com/docs/en/application-note/AN5313.pdf
  12. H

    Using GDB with Teensy without hardware debugger, first Beta

    Hi ! Looking at this thread, i find this really excellent. Am I making a too quick assumption thinking i can get inline debug capability within Vscode/Platformio, which to my knowledge is based on gdb for the debugger? Thanks.
  13. H

    Teensy 4.1 LCD output

    This app note might help... https://www.nxp.com/docs/en/application-note/AN5280.pdf
  14. H

    Teensy 4.1 LCD output

    Hmmm really interesting. Let’s see what we can get out of flexio...
  15. H

    Teensy 4.1 LCD output

    Hi there. The whole purpose of the tft interface is to be able to cope with slightly larger tft than 320x480. Sizes like that or smaller have built in frame buffer and the writing speed through even a small interface like spi will have no effect on the actual frame rate. With larger screens...
  16. H

    Teensy 4.1 LCD output

    Hi. Quick question: When you say: Sadly, the parallel lcd data bus run through the GPIO B0_xx and B1_xx (for wider buses) > do you mean that there is no way to use the built in lcd contrôler due to pins not routed ?
  17. H

    FreqMeasureMulti on Teensy 3.6 : precision over a few minutes?

    Ok, seems indeed that some checks are needed. I will test with 3 async clocks, and will check for errors. Underclocking may not be the best thing. Let's see and thanks for the warning.
  18. H

    FreqMeasureMulti on Teensy 3.6 : precision over a few minutes?

    Yep this is indeed what I understood! Thanks for the confirmation. I can also undeclock the cpu... not sure though that this will lower the 60mhz clock...
  19. H

    FreqMeasureMulti on Teensy 3.6 : precision over a few minutes?

    Hi Paul, Thank you for giving me a so fast answer. IJust to be clear, this would mean that I will get a time measure accurate @ 1clk cycle at 60Mhz... which is really more precision than what I need! Greeting from NXP France ;-)
  20. H

    FreqMeasureMulti on Teensy 3.6 : precision over a few minutes?

    Good Morning, I would like to use a Teensy 3.2 or 3.6 to perform timings measurement of 3 digital signals. Those signals are expected to be digital pulses with a frequency of 1.5Khz up to 6Khz, and I need to record the rising edges timing of those 3 signals during a few minutes. Ideally, each...
  21. H

    ADC library, with support for Teensy 4, 3.x, and LC

    Hi folks, Just wanted to be sure the simple code i wrote does what it intends to do. Simple single ended ADC acquisition at 6000Hz, precisely timed, for signal processing. Thank you for your help. Here is the code : #define BTSERIAL Serial1 #include <ADC.h> const int readPin = A14; //...
  22. H

    ADC library, with support for Teensy 4, 3.x, and LC

    OOOps, you are right, I got confused with the naming. These are DMA interrupts, not ADC ones! Ok, very clear. Thanks for the reply! Olivier.
  23. H

    ADC library, with support for Teensy 4, 3.x, and LC

    KurtE, I will have a look, but I think it will help. I have one basic question. For me the dma should work fully in the background without any cpu need. Do we really need to have an adc isr ?? As long as we have that Adc isr executing it removes the whole point of having a dma running in the...
  24. H

    ADC library, with support for Teensy 4, 3.x, and LC

    Hello , I am looking to use Teensy 3.2 with the ADC to acquire data, to then run some signal processing. I read the thread, and trid to find relevant information with the search engine, but I failed. I need accurate sample timing, as for any signal processing data, and from what I read in the...
Back
Top