Bus Fault in DMIC Driver on NRF9160 After Upgrading to SDK Version 2.5.0

I've recently encountered an issue with the DMIC driver on the NRF9160 after updating to SDK version 2.5.0. Specifically, a bus fault arises during the initialization phase of Zephyr.

Some observations and details:

  • The BusFault Address Register (BFAR) indicates that the fault was triggered by address 0x40006540 [PDM->CLK].
  • The previous SDK version I was using was 2.4.2, and I didn't experience this issue.
  • I haven't made any modifications to the DMIC configuration or altered anything within the device tree.
  • Due to the early occurrence of the fault during the boot-up process, I've been unable to retrieve any logs.
  • I have also tried to look for any changes in the driver that could be causing this issue, but there does not seem to have been any significant changes recently.

Has anyone else faced a similar issue or have suggestions on how to resolve it?

This is the DTS configuration that I am currenly using:

&pinctrl {
    pdm0_default_alt: pdm0_default_alt {
        group1 {
            psels = <NRF_PSEL(PDM_CLK, 0, 22)>,
                <NRF_PSEL(PDM_DIN, 0, 21)>;
        };
    };
};

dmic_dev: &pdm0 {
    status = "okay";
    pinctrl-0 = <&pdm0_default_alt>;
    pinctrl-names = "default";
    clock-source = "PCLK32M_HFXO";
};

Related