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

Softdevice block register access

Hi, I worked with temp sensor example and sofdevice s110 and something stuck on some function. Anyway, I made readout from registers but softdevice blocks register access and code fail. When I delete softdevice I can read temperature easy. Is there any way to prevent softdevice blocking register access?

Parents
  • If you read the documentation for the softdevice you'll see the TEMP peripheral is restricted, which means it's blocked from direct access and you can only use it via the softdevice's temperature functions.

    The spec gives the full list of open, blocked and restricted peripherals.

  • I was little confused here. Newer softdevice does not write anything to UICR.CLENR0, unless the application writes something to it, MPU.PERR0 should not have any effect, but then i saw the softdevice version S110 6.0 and everything made sense. @Miroslav : if you are using latest version of S110, you would not have seen this problem, but it is always best to see which peripheral softdevice uses and call their respective sd_xx functions.

Reply
  • I was little confused here. Newer softdevice does not write anything to UICR.CLENR0, unless the application writes something to it, MPU.PERR0 should not have any effect, but then i saw the softdevice version S110 6.0 and everything made sense. @Miroslav : if you are using latest version of S110, you would not have seen this problem, but it is always best to see which peripheral softdevice uses and call their respective sd_xx functions.

Children
No Data
Related