Post Go back to editing

SPI Interrupt not triggered

I am running the Video Occupancy Sensor 3.3.0 module on CCES and I have paired it in SPI slave mode as per the details given in 'SPI_Communication_Protocol.pdf' document. However, I am not receiving an interrupt from the Processor when it has data available. What could the issue be?

  • The issue can be one of the  following.

    1) Hardware Connections : Please make sure that connections are made as per the figure below

        

    2) The WSN_INT pin will be high for 0.125 micro seconds( 8MHz Clock Master) and then it goes low. Master should be configured in edge triggered interrupt mode.If master clock frequency is less than 8MHz GiveInt() in spi_communication.c has to be modified so that WSN_INT pin is high for longer duration.