Search results

  1. E

    Teensy3 ST7735 Library

    More details regarding frame transfer to ST7735 based TFT display: //************************************************************************* // TFT RAM buffer! // RAM usage: Size = 128 * 160 * 16 bit = 40.960 byes. // x,y = 0,0 = lower left corner, nearest to display pin 1. X = horizontal...
  2. E

    Teensy3 ST7735 Library

    Frame transfer from RAM to TFT Thanks for the great work. This is really a good driver! I was missing a function for frame transfer from RAM to TFT. Below an example: Declare a RAM frame: uint16_t tftRam[128*160]; The function: void PutRam (void) { disp.setAddrWindow(0, 0, 127, 159); for...
  3. E

    Question on a unblocking version of SPI transfer function

    Hi GeneL I have been working on a project using a Teensy 3.6 and SPI 0 & 1. I had to read blocks of 164 bytes from two cameras at 20 MHz. By modifying the transfer function to: void transfer1(uint8_t data) { port().SR = SPI_SR_TCF; port().PUSHR = data; } uint8_t transfer2(void) {...
  4. E

    Teensy 3.5 SPI DMA?

    Dma Spi on Teensy 3.6 I am working on a system where two IR CCD cameras deliver data to a Teensy 3.6 running @ 180 MHz. Data transfer is in blocks of 164 bytes via SPI0 and SPI1 @ 20 MHz. I have modified the SPI transfer command so I can start reading from both SPI channels at the same time and...
  5. E

    Teensy 3.6: Sending blocks of data through USB

    I am working on a project, where I have to send blocks of data through the USB connector. Each block is 40016 bytes long. Can I simply write this block in one go: Serial.write(&block, 40016); Does Teensy provide buffer control? I ask because I seem to be loosing data during the transmission...
  6. E

    Pulse output on Teensy 3.6

    Thanks Chris! Funny thing is that your code gives me an output of 20 MHz. If I change the frequency parameter to 25 M, the output changes to 30 MHz. Problem: I am using two SPI channels running independently in parallel at SCK = 20 MHz. These are corrupted by the clock. It seems as if the clock...
  7. E

    Pulse output on Teensy 3.6

    I need to generate a continous digital output of 25.0 MHz, dutycycle 50 %, on a pin on the Teensy 3.6 kit. I have been through all the libraries, but none seem to hold the answer. Is it possible to do this? Can anybody offer a bit of help? Thanks for any input!
  8. E

    Using several SPI units om Teensy 3.6

    I have just received a couple of Teensy 3.6 boards - and they are great! Works right out the box. But: SPI only seems to work on SPI unit 0. How can I use the other units? The hardware seems to support unit 0/1/2. I have been snooping around a little in the libraries (C:\Program Files...
Back
Top