Hi all,
I have tried with following function to soft reset my ble peripheral
HAL_SYSTEM_RESET() and SystemReset()
Both functions resets the system but it take around 2sec to reset. After resetting system start advertising only after around 20sec which is much more than acceptable.
If i power reset the peripheral then it takes less than a second to start advertising.
In my application i need to reconfigure the registers and for this i need to reset the system when required. After reset, it should restart advertising as soon as possible(<1sec).
Can anyone please suggest me why it takes this much time to reset and advertise again? how this timing can be reduced? If not then i will have to use hardware reset through IO pins using transistor.
thanks