This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can NCS-ADC convert microphone analog signal into digital signal?

Hello

NCS1.8.0   Windows10  X64;

Can [v1.8.0\zephyr\tests\drivers\adc] convert microphone analog signal into digital signal? for I2S 8bit 8kHz

  

thanks

Best Regards

  • Hello,

    Yes, you may use the SAADC peripheral to generate samples from a microphone and then transfer them elsewhere using the I2S peripheral, sure.
    You should configure the SAADC to do periodic sampling at the required frequency through connecting it to a TIMER instance through the PPI peripheral - i.e use the PPI peripheral to make the TIMER CAPTURE/COMPARE event trigger the SAMPLE task of the SAADC, and then have the SAADC's DONE event handler stage the buffer for transfer over I2S.

    Best regards,
    Karl

Related