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

Search:

Type: Posts; User: Fiskusmati

Search: Search took 0.00 seconds.

  1. Thank you for reply. I will reorganize parallel...

    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...
  2. Thanks for reply. Does anyone know what pins are...

    Thanks for reply.
    Does anyone know what pins are brought there:
    20812
    There is no information about purpose of this pads.
  3. I know that teensy 4.1 has alternate pins but I...

    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...
  4. There is this table, but there is no reference to...

    There is this table, but there is no reference to teensy 4.0 and 4.1 here.
  5. In other words: what pins can be assigned to:...

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

    ?
  6. I think SD card in teensy 4.1 is not SPI driven....

    I think SD card in teensy 4.1 is not SPI driven. Could you explain your ideas a little bit more?
  7. Hello. Because I needed to minimize bit...

    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)....
  8. Thank you for explanation. I wrote success...

    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...
  9. So how it is possible that I can still access...

    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...
  10. Read a port, you mean read whole 32 bits at once...

    Read a port, you mean read whole 32 bits at once using GPIOX_DR instruction?
  11. I don't understand why for you GPIO6 is the group...

    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...
  12. Does anyone know is it possible to read all 32...

    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?
  13. Yes, I use your library, and thank you for that!...

    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
    {
    ...
  14. The question is: is it safe to interrupt while...

    The question is: is it safe to interrupt while UPD data is being transfered to Ethernet PHY chip?
  15. Yes, there will be binary data on 32 GPIO pins...

    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.
  16. 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...
Results 1 to 16 of 16