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?
No related topics |
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.