Electronics > FPGA

FPGA platform and approach to send samples to host PC

<< < (4/4)


--- Quote from: SiliconWizard on November 22, 2021, 06:25:27 pm ---From your description, doing this with a Pi Pico and its PIO would be no problem.

--- End quote ---

Thanks! I'm exploring this option. I've got the VScode environment for the Pico set up on a Pi4, with the Pi-pico plugged in. I have built hello_usb.c, and it runs on the Pico.
Next up is learn how to configure a PWM block to use the 16 bit counter to measure the interval between rising edges. When the program runs it will capture the counter values for each rising edge, starting with the first input signal edge, as well as capturing 16 of the GPIO pins. Both 16 bit values will be written to an array in RAM. It will run for 1 second or until RAM is full. The the results can be written out over the USB STDIO.


If you learn a bit about PIO, you may find out that you could also use it to capture counters (but 32-bit this time!) with it instead of using the PWM, which would probably make it easier to synchronize with IO state capture.


[0] Message Index

[*] Previous page

There was an error while thanking
Go to full version