Post Go back to editing

What does apdUpperThreshPeakExceededCnt actually count?

Category: Software
Product Number: ADRV9002
Software Version: 26.0

Hello,

As per the title, what exactly does apdUpperThreshPeakExceededCnt / apdLowerThreshPeakExceededCnt actually count?

Is it samples?

Is it local maxima?

Are the peaks counted on the instantaneous power of the received signal or on the on the received signal amplitude?

Thank you in advance.

K.

Parents
  • Hi,

    I'll look into this question. The user guide section 'Analog Peak Detector (APD)' gives some  details on the general function of the detector.

    Regards,

    Conrad

  • Thank you Conrad.

    I have already read the APD section in the user guide, but it didn't seem very helpful with regard to my issue.

  • Hi,

    I've checked on your question now. When the APD upper threshold is triggered, it raises an internal flag. This flag is then counted digitally using the AGC clock (which is at the same rate as the system clock). The apdUpperThreshPeakExceededCnt is then the number of AGC clock cycle where the APD upper threshold is triggered.

    Regards,

    Conrad

  • Hi,

    Thanks for your reply. I have a few more questions, though.

    1) So the counter essentially counts samples of the received signal sampled at the AGC clock (184.32 MHz), that exceed the threshold I have set?

    2) When exactly does the counter reset, and more specifically, when does it reset with fast attack is enabled?

    As an example, let's say I have apdUpperThreshPeakExceededCnt=10, and the AGC counts 4 clock cycles where the threshold is triggered, after which my signal level drops below the threshold again. Do these 10 samples need to be consecutive above the threshold? If, as in my example, the counter isn't completed and the level drops, does the counter reset? If not, when does it reset? Additionally, when fast attack is enabled, when does the counter reset?

    Thanks,

    K.

Reply
  • Hi,

    Thanks for your reply. I have a few more questions, though.

    1) So the counter essentially counts samples of the received signal sampled at the AGC clock (184.32 MHz), that exceed the threshold I have set?

    2) When exactly does the counter reset, and more specifically, when does it reset with fast attack is enabled?

    As an example, let's say I have apdUpperThreshPeakExceededCnt=10, and the AGC counts 4 clock cycles where the threshold is triggered, after which my signal level drops below the threshold again. Do these 10 samples need to be consecutive above the threshold? If, as in my example, the counter isn't completed and the level drops, does the counter reset? If not, when does it reset? Additionally, when fast attack is enabled, when does the counter reset?

    Thanks,

    K.

Children
No Data