This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2340R5: Question of adding hal_temperature_init in RCL_init function

Part Number: CC2340R5

Hi,

I recently updated the SimpleLink Low Power SDK from version 7.10 to 7.40 for the CC2340R5, which introduced modifications in the RCL_init function of RCL.c by adding hal_temperature_init(). These changes are perplexing me, so I'm seeking clarity on their purpose:
  1. What issues will this addition address? How will products that previously lacked this feature be impacted?
  2. Upon a quick review of the code, I discovered that hal_temperature_init() activates an interrupt and checks if the temperature surpasses a set threshold in the interrupt callback function. The issue lies in an invalid threshold setting, rendering the interrupt ineffective. Furthermore, this interrupt has the potential to wake up the MCU, leading to potential power wastage.
  3. If this modification affects power consumption, what steps should I take to prevent the temperature detection module from needlessly waking up the MCU?

I found that the latest version of SDK also adopts this method, so I am very concerned about the impact of this change on power consumption