Topic

FAQ
Login Register
ZigBee SDK v3.6.8.2
Nov 03, 2022 10:37

/

A

/A

I have installed latest SDK v.6.8.2 and noticed that in drv_hw.c in function drv_platform_init() there is now the following code:

if(flash_is_zb()){

#if (!VOLTAGE_DETECT_ENABLE) || !defined(VOLTAGE_DETECT_ENABLE)

 voltage_detect_init(VOLTAGE_DETECT_ADC_PIN);

 flash_safe_voltage_set(BATTERY_SAFETY_THRESHOLD);

#endif

  flash_unlock_mid13325e(); //add it for the flash which sr is expired

}


In one of my projects I have used all pins and don't have any pin that can be used as VOLTAGE_DETECT_ADC_PIN.

 

I am not sure what zb flash is?

Could you please explain what zb flash is?


1 replies
TL_Soyo Nov 03, 2022 14:22
0
/A

Hi,

  if your chip is using ZB's internal Flash,the code will set the safe writing flash voltage THRESHOLD,Don't worry if you don't use low power.