Are there any examples for the nRF5340-PDK showing how to use the audio clock (ACLK) with the PDM or I2S peripherals?
What changes are needed to prj.conf or nrf5340_dk_nrf5340_cpuapp.overlay?
Are there any examples for the nRF5340-PDK showing how to use the audio clock (ACLK) with the PDM or I2S peripherals?
What changes are needed to prj.conf or nrf5340_dk_nrf5340_cpuapp.overlay?
Are there any examples for the nRF5340-PDK showing how to use the audio clock (ACLK) with the PDM or I2S peripherals?
No, not yet.
The NRFX I2S driver has an API for it though. Just set the clock source in the config you pass to nrfx_i2s_init to NRF_I2S_CLKSRC_ACLK.
I was just trying to get a pin to oscillate at the ACLK frequency.
I put a code snippet on this ticket that makes at least that much of it work:
I was just trying to get a pin to oscillate at the ACLK frequency.
I put a code snippet on this ticket that makes at least that much of it work: