Part Number: CC2340R5
Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
My customer is using a board without an external 32kHz crystal. The software project is based on MCUBOOT + basic_ble_dual_image_onchip_oad, both of them have a configuration to choose the LF clock source.
In basic_ble_dual_image_onchip_oad, I found a call of PowerLPF3_selectLFOSC which seems to overwrite the clock source configuration in CCFG:

My question is if it is still necessary to set the LF clock source in MCUBOOT?

It looks the LF clock source is called no where inside MCUBOOT project except for the CCFG bit. I have a few questions needed to be clarified:
- Does CC2340 go to standby in MCUBOOT? I did not find any code to invoke the power policy in MCUBOOT.
- If no power policy is used, what is the default clock source in MCUBOOT? Does it use the 48MHz clock all the way?
- If I set LF clock source to LFXOSC in MCUBOOT and LFRCOSC in basic_ble_dual_image_onchip_oad, is CC2340 able to switch to LFRCOSC after jumping into basic_ble_dual_image_onchip_oad? Is there any risk?
Best regards,
Shuyang



