Search results

  1. F

    [TEENSY 4.1] AsyncWebServer arduino library - unexpected result/bug ?

    Hello. I'm running below test code. It does produce unexpected result on my setup. #if !(defined(CORE_TEENSY) && defined(__IMXRT1062__) && defined(ARDUINO_TEENSY41)) #error Only Teensy 4.1 supported #endif #define BUFFER_SIZE 32000 #include "QNEthernet.h" //...
  2. F

    Bootloader Chip For Teensy 4.0

    What if I want to design custom PCB compatible with teensy 4.1, but I cant supply my own components to PCB+assembly manufacturer like jlcpcb, that means I can't just buy 1000 bootloader chips and send them over to them so they put them on my pcb. They can only put virgin, new chips. Is there a...
  3. F

    AsyncWebServer_Teensy41 for QNEthernet

    Hello All. I'm using AsyncWebServer + Teensy 4.1 in many of my projects. Does anyone know why author has archived repositories? I have encountered an issue: I'm running Async_SimpleWebServer When router DHCP lease time elapses for teensy board, this happens (debug lvl 4): [T41_ASYNC]...
  4. F

    Teensy 4.1 How to start using DMA?

    Thank you both for your replies. I don't know if it helps with complexity, but I already have available square 2MHz signal that I use to clock external parallel ADC's. So on every falling edge, I need to cath 28 GPIO states and put them as bits into variable (and into array of variables). When...
  5. F

    Teensy 4.1 How to start using DMA?

    Hello. I want to use DMA on Teensy 4.1 but I found out that there is hardly any good documentation of how to start (tutorial), which libraries to use, how to configure DMA, and simple examples. What I want to do now is to read 28gpio states into an array, at speed ot 2M samples per second. I'm...
  6. F

    T4.1 Ethernet Library

    What are the differences between this library and this https://github.com/PaulStoffregen/teensy41_ethernet ?
  7. F

    [4.1] Make use of precision packet timestamping (PTP)

    Thank you for your suggestions. Each radar is controlled by single teensy, almost all pins are used for that (28 pins are used for ADC 2x14bit, others are for clocks, spi, enabling tx, etc, etc...). Each radar can be up to 50 meters (165ft) apart, without common ground. If not ethernet, i...
  8. F

    [4.1] Make use of precision packet timestamping (PTP)

    Hello. I'm working on fmcw radar system. Radars are working on the same frequency, thus they need to be switched on and off so that only one radar transmits at any moment "time domain multiplexing". I'm using teensy 4.1 boards to control each radar. Each teensy board is connected to a ethernet...
  9. F

    Image upload not working on forum.pjrc.com

    I think those limits for file sizes are way too low. Typical limit for an image is 5MB. If exceeded, warning message should appear with precise reason.
  10. F

    Image upload not working on forum.pjrc.com

    File size was about 2MB
  11. F

    Image upload not working on forum.pjrc.com

    I found out that image uploading is not currently working for me on ANY devices incl. smartphones. I'm using Google Chrome. Only upload from URL works.
  12. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Thank you for reply. I will reorganize parallel ADC pins to free 26 and 27 (1,0 are already free). It will require some changes in hardware and additional bit manipulation but for now it will be much easier for me.
  13. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Thanks for reply. Does anyone know what pins are brought there: There is no information about purpose of this pads.
  14. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    I know that teensy 4.1 has alternate pins but I don't know which they are. I'm currently using pins listed below for adc reading. Are there any pins left that can be assigned so I have one working SPI interface? pinMode(19, INPUT_PULLUP); pinMode(18, INPUT_PULLUP); pinMode(15...
  15. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    There is this table, but there is no reference to teensy 4.0 and 4.1 here.
  16. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    In other words: what pins can be assigned to: SPI.setMOSI(pin) SPI.setMISO(pin) SPI.setSCK(pin) ?
  17. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    I think SD card in teensy 4.1 is not SPI driven. Could you explain your ideas a little bit more?
  18. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Hello. Because I needed to minimize bit manipulation for fast operation, pins I have selected as ADC inputs are from GPIO6 and GPIO7 groups. I'm using 2x14bit ADC now (so 28pins used). Unfortunately now I need to use SPI interface also, and pins for SPI and SPI1 shown in teensy 4.1 pinout card...
  19. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Thank you for explanation. I wrote success because reading GPIO1 still gives me the same information as GPIO6. I tested it. Pin states change in GPIO1 register accordingly to external inputs, but as you said probably much slower (I have not tested for speed).
  20. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    So how it is possible that I can still access GPIO1-4 with success and with no compilation errors? I have not modified teensyduino. I use newest teensyduino and IDE 1.8.12 But thank you for information, I will now use GPIO6-9
  21. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Read a port, you mean read whole 32 bits at once using GPIOX_DR instruction?
  22. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    I don't understand why for you GPIO6 is the group where these 16 GPIOS are. Please find out attached pdf and image below. For me GPIO1 should be read, to obtain these 16 GPIO states (in docs below colored this group yellow). And what is more, I have tested it and reading it using this...
  23. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Does anyone know is it possible to read all 32 GPIO states at once, not using digitalRead(1); digitalRead(2); etc...? Port reading was easy on atmega's, how it's done with teensy and teensyduino?
  24. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Yes, I use your library, and thank you for that! Quick test with timers ISR's + external interrupts showed no issues, but I will test it deeper. do { Udp.beginPacket(Udp.remoteIP(), Udp.remotePort()); Udp.write(ReplyBuffer,sizeof(ReplyBuffer)); Udp.endPacket()...
  25. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    The question is: is it safe to interrupt while UPD data is being transfered to Ethernet PHY chip?
  26. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Yes, there will be binary data on 32 GPIO pins (not analog). It can be packet to 32bit (4 bytes) integers, but udp.write() function only allows byte arrays to be sent, not integer arrays.
  27. F

    Teensy 4.1 - do I need other board with 2 cores to solve my problem?

    Hello. What I'm trying to achieve: -2x 16bit parallel ADC connected to GPIOS (32 GPIOS used) -probe 32GPIO states and save them in memory (array with 10 000 records). Each measurement must be taken after external interrupt occurs on GPIO (about 1 000 000 samples per second) -after 10 000...
  28. F

    Teensy 4.1 Working ethernet library for Arduino-IDE

    Hello! Does anyone have working library and working example for using fast ethernet on Teensy 4.1 & Arduino-IDE? Standard Ethernet library is installed during teensyduino install, but it won't work for obvious reason, it is meant for wizned SPI controllers not PHY. Regards Mateusz
Back
Top