handling GPIO IRQ for a c# programm on torizon

Hi,
I’m trying to migrate an application that was running on WinCE to torizon.

My application communicate with an FPGA that can send interrupt queries through GPIO.

I wanted to know if there is an existing way to handle these signals sent by the FPGA as IRQ in my program.

Thanks a lot,
rfonck

Hi @rfonck,

Thanks for using the Toradex Community.

Depending on your application, how your devices are set up and what you are expecting. There might be a way of using the “libgpiod”. If you follow the link below you can see some lines mentioning
gpiod_line_request_rising_edge_events.

Depending on the latency which you are expecting this might be a viable option. If latency is very important for your project, we would need to know a bit more about your project, expectation, and setup.

Github | gpio_event

Let me know about your progress.

Best Regards
Kevin