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";
};

Parents
  • Hi, and sorry for the late reply.

    • 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.

    Thanks for your clear description!

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

    No, I can't find any reference to this either internally or on DevZone. But v2.5.0 has not been out for long.

    I also don't see any changed to DMIC drivers mentioned in the release notes.

    So far I haven't figured out what could be causing this, but I'll let you know if I find anything. Keep me updated if you happen to fix it!

    By the way, which board are you using? Are you able to run your application on a DK, on v2.4.2 and v2.5.0? Or have you tried running the DMIC sample in v2.5.0?

    Best regards,

    Raoul

Reply
  • Hi, and sorry for the late reply.

    • 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.

    Thanks for your clear description!

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

    No, I can't find any reference to this either internally or on DevZone. But v2.5.0 has not been out for long.

    I also don't see any changed to DMIC drivers mentioned in the release notes.

    So far I haven't figured out what could be causing this, but I'll let you know if I find anything. Keep me updated if you happen to fix it!

    By the way, which board are you using? Are you able to run your application on a DK, on v2.4.2 and v2.5.0? Or have you tried running the DMIC sample in v2.5.0?

    Best regards,

    Raoul

Children
Related