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:
-
What issues will this addition address? How will products that previously lacked this feature be impacted?
-
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.
-
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