Skip to content

Commit 44f729e

Browse files
authored
power saving by reducing ble crystal startup time
Pull request InfiniTimeOrg#1052 reduces power usage by powering down ble crystal when in idle. The crystal startup time is set to 1500 (mynewt default) The nrf52 spec says it should be 360 in section 19.4.2. https://infocenter.nordicsemi.com/pdf/nRF52832_PS_v1.8.pdf I think we can safely lower it to 400. I've been using this parameter for several days. However, I only have a sealed device and cannot verify if this actually saves battery, or, if this parameter even works. So, I will set this PR as draft for now.
1 parent 02116a2 commit 44f729e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ add_definitions(-DNRF52 -DNRF52832 -DNRF52832_XXAA -DNRF52_PAN_74 -DNRF52_PAN_64
786786
add_definitions(-DFREERTOS)
787787
add_definitions(-D__STACK_SIZE=1024)
788788
add_definitions(-D__HEAP_SIZE=4096)
789-
add_definitions(-DMYNEWT_VAL_BLE_LL_RFMGMT_ENABLE_TIME=1500)
789+
add_definitions(-DMYNEWT_VAL_BLE_LL_RFMGMT_ENABLE_TIME=400)
790790

791791
# Note: Only use this for debugging
792792
# Derive the low frequency clock from the main clock (SYNT)

0 commit comments

Comments
 (0)