This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP-CC2652RB: LP-CC2652RB

Part Number: LP-CC2652RB

Hi,

    At line number 434 in pdmstream.c file.

SA_envelopeDetector is doing the software decimation and converted PCM samples will be saved in pBuffer array.

Play the audio tone through the speakers in front of the ICS-41351 sensor on Penny device.

Is there any library or code implement in software side to validate signal of 1KHz?

  • Hi Mahammad,

    I've assigned your post to an expert to help you with your question.

  • Hello Severin suveran

    To be clear on query what we are looking for,

    1. We have an ICS41351 acoustic sensor which gives PDM data and also PDMstream.c example on CC2652 rb device which does the software decimation.

    2. We have also referred the below PDF to check how the sensor can be validated manually by giving an audio signal of 1KHz and checking the same on audacity to confirm on 1KHz signal form PDMstream.c example.

    sprac51.pdf

    Whatever explains in the document above is manual validation of signal through audacity by capturing PCM samples. But we are looking for some software code or library which will validates the 1 KHz signal in software itself if we continuously input the audio signal of 1KHz?

    We want to just eliminate the manual process of sensor validation. Is it possible to validate the frequency spectrum or reception of a correct audio signal from code itself?

    Regards,

    Mahammad khan

  • Hi Mahammad,

    To analyze the audio signal directly on the device, you will require some sort of FFT (Fast Fourier Transform) algorithms. We do not provide this code but it is quite easy to find online.

    Best regards,