4 Replies Latest reply on Mar 3, 2015 1:55 PM by user_78878863

    Question about SPI Master IRQ behaviour

    amin.mohadjer

      I work with the SPi Master Version 2.40.

         

      First I enable the internal IRQs for RX Fifo not empty and Tx Byte complete with the configuration tool (schematic view) and everything works fine, the IRQs are fired as I exspect it.

         

      Then I use the API function SPIM_DisableRxInt() and start the test again, but the Rx IRQ still fires.

         

      Then I use the API function SPIM_SetRxInterruptMode(0u) with the parameter 0 to disable the RX IRQs and as exspected the RX IRQ is disabled.

         

      So my question is why the API function SPIM_DisableRxInt() does not disable the RX IRQs ?

         

       

         

      Thank for your help.