High frequency clock lock hotfix module

Use the high frequency clock lock hotfix module to keep the high frequency clock enabled. This reduces the latency before the first packet in a row is transmitted over Bluetooth®, but it also increases the power consumption. If this module is disabled, a startup delay of around 1.5 ms will be added to the overall latency of the first packet.

Module events

Source Module

Input Event

This Module

Output Event

Sink Module

Power manager module

power_down_event

hfclk_lock

Source modules for module_state_event

module_state_event

Bluetooth LE advertising module

wake_up_event

Buttons module

HID forward module

Motion module

Power manager module

Wheel module

module_state_event

Sink modules for module_state_event

Note

See the Overview: Firmware architecture for more information about the event-based communication in the nRF Desktop application and about how to read this table.

Configuration

Enable the module with the CONFIG_DESKTOP_HFCLK_LOCK_ENABLE Kconfig option.

Implementation details

The high frequency clock is disabled on power_down_event and reenabled on wake_up_event. This is done to reduce the power consumption.