project freezes with nrf52840 depending the revision

Hi,

My project (under embedded studio )works if running on a chip with the register FICR INFO.VARIANT = 0x41414330 

but freeze on a chip with the register FICR INFO.VARIANT = 0x41414430  

it freezes on nrf_sdh_enable_request()

I give some lines of the .emProject:

debug_additional_load_file="../nrf_sdk_current/components/softdevice/s140/hex/s140_nrf52_7.2.0_softdevice.hex"

linker_section_placement_macros="FLASH_PH_START=0x0;FLASH_PH_SIZE=0x100000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x40000;FLASH_START=0x27000;FLASH_SIZE=0xd9000;RAM_START=0x20002d00;RAM_SIZE=0x3d3f0"
linker_section_placements_segments="FLASH RX 0x0 0x100000;RAM1 RWX 0x20000000 0x40000"

the sdk version is 17.0.2

I think it is due to the revision number, but realy , I don't know, i am lost ,,,,

What I am missing ?

I

Parents
  • I missed that the boards have another difference : there is no external LF crystal with the one revision 0x41414430. So configuring  the sdk_config.h 

    #define NRF_SDH_CLOCK_LF_SRC 0

    #define NRF_SDH_CLOCK_LF_RC_CTIV 16

    #define NRF_SDH_CLOCK_LF_ACCURACY 0   

    solve the problem,,, a priori there is non problem using same sdk and sofdevice with this 2 soc revisions, isn't it?

Reply
  • I missed that the boards have another difference : there is no external LF crystal with the one revision 0x41414430. So configuring  the sdk_config.h 

    #define NRF_SDH_CLOCK_LF_SRC 0

    #define NRF_SDH_CLOCK_LF_RC_CTIV 16

    #define NRF_SDH_CLOCK_LF_ACCURACY 0   

    solve the problem,,, a priori there is non problem using same sdk and sofdevice with this 2 soc revisions, isn't it?

Children
Related