This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

there is no action in nrf52832DK after power or close SES

Hello,

 I am using nrf52832 and nrf5 SDK12.3 to develop my project.

When I debug it in SES and it works well,but when I stop debug or close SES or power off and power on again,the nrf52832DK doesn't work anymore neither BLE nor peripheral.

What's worse, I can't find any reason or solution about this problem.

So I need your help urgently.

Any help can be thanked very much.

Zhengrui.

  • Hi

    Before diving into your code, I skimmed through some earlier cases here on DevZone to see if I could find someone having a similar issue. I found this case, which has a problem with resetting in debug mode, and solved it by writing to a register to explicitly restore the reset pin function. This issue is also in SDK v12, so I suspect there is a bug in that SDK somewhere.

    Seeing as you are using an old SDK, I think the best way to solve this would be to migrate your project to a newer SDK (15.3 preferrably). Here are links to migration guides from 12 to 13, 13 to 14 and 14 to 15. Please check out the migration guide, as I believe that will solve more issues for you in the long run, rather than staying in SDK v.12.3.

    Best regards,

    Simon

  • Hi Simon

    I've  updata the project into sdk15.0,but there 're some trouble to read registers.Everything I read is 0xff including WHO_AM_I.When I read WHO_AM_I register via spi (not spim) from the address of 0x0f,after the code :

    spi_xfer(p_instance->p_reg, p_cb, p_xfer_desc);

    I can read something but worong value.

    the same code in sdk12.3 can work ,but it get into trouble in sdk15.0.I tried but can't find reason.

    Zhengrui.

  • Hi

    Due to the Easter holiday we are understaffed and you will have to expect delayed replies. Sorry for the inconvenience!

    Can you check that your nrfx_spi and "regular" spi values in sdk_config.h are the same? There is a header file (apply_old_config.h) which might be causing trouble in migrated projects.

    Best regards and happy Easter,

    Simon

Related