Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • easone's Avatar
    03-28-2020, 05:27 AM
    Another thing is that FlexIO generates timer and clock signals which can also be configured to output to external pins. In that case the timer pins can be arbitrary. So you could for example use FlexIO2 in 8 bit mode...
    14 replies | 231 view(s)
  • easone's Avatar
    03-28-2020, 05:15 AM
    For posterity on this forum, here is a detailed answer... If you are using GPIO: Pins 0-1 and 14-27 are on GPIO1 (16 pins) Pins 6-13 and 32 are on GPIO2 (9 pins) Pins 28, 30, and 31 are on GPIO3 (3 pins) Pins...
    14 replies | 231 view(s)
  • easone's Avatar
    03-27-2020, 04:23 PM
    Yeah, FlexIO can do this with zero processor overhead... Although it may be tricky to set up. I posted some example code doing 4bit parallel output from a buffer at 40MHz with FlexIO:...
    14 replies | 231 view(s)
  • easone's Avatar
    03-27-2020, 02:24 PM
    You can write directly to the GPIO register to change multiple bits in parallel. You must write 32 bits at a time, but only a subset are available as real external pins due to the T4.0 board design. Check out this...
    14 replies | 231 view(s)
  • easone's Avatar
    03-07-2020, 04:01 PM
    Awesome! Can you share a little about your method to provide output on an arbitrary set of 8 pins? It looks like you set up DMA to transfer 32 bits to each of GPIO1, GPIO2, GPIO3, and GPIO4 in sequence (as opposed to...
    6 replies | 428 view(s)
  • easone's Avatar
    02-16-2020, 02:57 AM
    Here's some example code... this shifts out data in parallel to pins 10-13 every 25 ns. It requires KurtE's FlexIO_t4 library (https://github.com/KurtE/FlexIO_t4). (Note that there's a typo in that library that needs to...
    14 replies | 656 view(s)
  • easone's Avatar
    02-10-2020, 03:50 PM
    It might not help you specifically since it isn't compatible with OctoWS2811, but Ward demonstrated a way to drive WS2811 strips using the FlexIO and some external shift registers:...
    6 replies | 428 view(s)
  • easone's Avatar
    02-10-2020, 03:32 PM
    Yes, this might be a good use for FlexIO. Unlike the GPIO ports which can only output 32 bit writes, FlexIO allows you to output parallel data to 4 pins (or 8, 16, or 32) and have it clocked out at a precise frequency....
    14 replies | 656 view(s)
No More Results
About easone

Basic Information

Statistics


Total Posts
Total Posts
10
Posts Per Day
0.13
Last Post
High-speed digital I/O 03-28-2020 05:27 AM
General Information
Last Activity
Yesterday 03:44 PM
Join Date
01-16-2020