T
Thomas Taranowski
Guest
I'm using the standalone bsp for a ppc440 on a Virtex 5.
I have a scenario where I have to read from an external chip over spi
in response to a gpio interrupt. The issue I run into is that when I
call XSpi_Transfer from within the context of the gpio isr, the call
just hangs, presumably dues to the fact that the xspi_l portion of the
driver is attempting to use interrupts to service it's fifo
interface. Any ideas on how to make this work? I'm suspecting there
is something I can do with interrupt priorities to make this work.
I've tried calling the XGpio_InterruptClear before calling the
XSpi_Transfer, but the call still hung.
I have a scenario where I have to read from an external chip over spi
in response to a gpio interrupt. The issue I run into is that when I
call XSpi_Transfer from within the context of the gpio isr, the call
just hangs, presumably dues to the fact that the xspi_l portion of the
driver is attempting to use interrupts to service it's fifo
interface. Any ideas on how to make this work? I'm suspecting there
is something I can do with interrupt priorities to make this work.
I've tried calling the XGpio_InterruptClear before calling the
XSpi_Transfer, but the call still hung.