Hello,
I am using nrf52_DK to debug PDM with a digital MIC, and select the pin 29 for the PDM CLK, But I haven't seen any clock signal output, for generating the clock I have write below code. Is it a correct way for generating a clock? If this is not a correct method then please can you guide me to generate a clock.
NRF_PDM->PSEL.CLK = (CONFIG_IO_PDM_CLK << PDM_PSEL_CLK_PIN_Pos) | (PDM_PSEL_CLK_CONNECT_Connected << PDM_PSEL_CLK_CONNECT_Pos);
NRF_PDM->PDMCLKCTRL = (PDM_PDMCLKCTRL_FREQ_Default << PDM_PDMCLKCTRL_FREQ_Pos);
NRF_PDM->ENABLE = (PDM_ENABLE_ENABLE_Enabled << PDM_ENABLE_ENABLE_Pos);
NRF_PDM->TASKS_START = 1;
Thank You.