We need to be able to sleep with a timeout for read/writeStream when the stream is not ready. We can select()/poll() on a userspace GPIO from sysfs. Just need to figure out a possible GPIO candidate between the FPGA and the arm. Suggestions appreciated.
Is there an available GPIO that we arent using (check schematic)?
Is it possible to use EIM_WAIT as an irq (probably hard to do, needs kernel support)?
Or re-purposing one of the 4 cpu_spi GPIOs, as all LMS GPIOs, antenna switches, and enables can eventually be driven from the register interface. And sen is already controlled through the sysfs GPIO anyway.
We need to be able to sleep with a timeout for read/writeStream when the stream is not ready. We can select()/poll() on a userspace GPIO from sysfs. Just need to figure out a possible GPIO candidate between the FPGA and the arm. Suggestions appreciated.