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

Setting UICR in nRF52810 and S112

Please tell me the UICR setting in nRF52810 and S112.
Currently, when I develop with nRF52810 and S112, the area of UICR is 0xFF.

[1]The oscillator is equipped with 32MHz, but the UICR setting is 16MHz.
 The oscillator setting is 32MHz, but the UICR setting is 16MHz. The oscillator setting is different from the board setting, but the program still works. Why is this?

[2]I want to set the UICR setting to the following, is there any way to set it?
 I'm using SEGGER as my development environment.
 CLENR0 : 0x19000
 XTALFREQ : 0x00

Parents
  • Hello,

    I am not sure we have the same understanding of what UICR is.

     

    The oscillator is equipped with 32MHz, but the UICR setting is 16MHz.

     What do you mean by this? Where in the UICR is something set to 16MHz?

     

    I want to set the UICR setting to the following, is there any way to set it?

     I am not sure what you mean here either.

    Do you want to store some custom data in the UICR that you later want to use in your application? Because the UICR has nothing to do with XTAL frequencies by default.

    Best regards,

    Edvin

  • I may be wrong in my understanding.
    Since nRF51 had the following settings, I thought that nRF52 should have the same settings.
    Is there any setting for nRF52 that is equivalent to nRF51?

    nRF51 Reference Manual v3.0.1
    infocenter.nordicsemi.com/.../nRF51_RM_v3.0.1.pdf

    UICR : 0x10001000
    *CLENR0                      : 0x000 : Length of code region 0
    *RBPCONF                   : 0x004 : Read back protection configuration
    *XTALFREQ                   : 0x008 : Reset value for XTALFREQ in CLOCK, see CLOCK chapter
    *FWID                             : 0x010 : Firmware ID
    *BOOTLOADERADDR : 0x014 : Bootloader address

    ⇒This time, I checked the above address on nRF52 and asked a question.

Reply
  • I may be wrong in my understanding.
    Since nRF51 had the following settings, I thought that nRF52 should have the same settings.
    Is there any setting for nRF52 that is equivalent to nRF51?

    nRF51 Reference Manual v3.0.1
    infocenter.nordicsemi.com/.../nRF51_RM_v3.0.1.pdf

    UICR : 0x10001000
    *CLENR0                      : 0x000 : Length of code region 0
    *RBPCONF                   : 0x004 : Read back protection configuration
    *XTALFREQ                   : 0x008 : Reset value for XTALFREQ in CLOCK, see CLOCK chapter
    *FWID                             : 0x010 : Firmware ID
    *BOOTLOADERADDR : 0x014 : Bootloader address

    ⇒This time, I checked the above address on nRF52 and asked a question.

Children
Related