2 Replies Latest reply on Apr 3, 2017 1:09 AM by iam_doly_1957536

    Filter component, help

    iam_doly_1957536

      What's the difference between 'DMA request' and 'polled' configuration of Filter component? I've seen example projects Filter_ADC_VDAC and Filter_ADC_VDAC_poll but I still don't know.

         

      Actually, I don't know what means 'polled'?

         

      I'm new into this.

         

       

         

      Thanks in advance

        • 1. Re: Filter component, help
          anks

          The "Data ready signal"  setting configures whether the component alerts when data is ready through either a DMA request signal specific to each channel, or through an interrupt request shared between both channels. Alternatively, the component can also poll the status register to check for new data on the DFB output.

             

          To use the polling method, enable either bit 0 or 1 of Filter_INT_CTRL_REG register, based on the Filter channel selected. This generates an interrupt when data is ready in Filter output registers. Corresponding status bits are set in the Status register. Firmware can poll the corresponding bits in the status register to read the Filter output data.

             

          Filter Status Register:Read this to get the sources of the interrupt. Use the Filter_ClearInterruptSource() macro to clear it.

             

          This register contains five bits indicating the status of block-generated interrupts and three bits of status from the Datapath unit (bits [2:0]).

          • 2. Re: Filter component, help
            iam_doly_1957536

            Thank you very much for your explanation.