Simple sample code for GPIO capture using I2S?
Posted: Thu Jun 29, 2023 9:19 pm
I am looking for some sample code that will simply capture the state of a GPIO pin and build the bitstream in the DMA buffer.
I need to capture at 40MHz (25ns intervals). Everything i have seen deals with audio data, and I need to make just a very simple single channel logic analyzer with 2 buffers so that a continuous stream can be stored in PSRAM (using ping-pong buffers).
Thanks!
I need to capture at 40MHz (25ns intervals). Everything i have seen deals with audio data, and I need to make just a very simple single channel logic analyzer with 2 buffers so that a continuous stream can be stored in PSRAM (using ping-pong buffers).
Thanks!