Skip to content

Commit 65d7114

Browse files
committed
nrf_802154: rev ab926396fe37113664734181cc4dfbb53fb61863
This commit updates revision of the nrf_802154 component. Signed-off-by: Rafal Kuznia <[email protected]>
1 parent b6675b0 commit 65d7114

File tree

33 files changed

+43
-1
lines changed

33 files changed

+43
-1
lines changed

nrf_802154/common/include/nrf_802154_nrfx_addons.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#define NRF_802154_NRFX_ADDONS_H__
3737

3838
#include "nrfx.h"
39+
#include "nrf_802154_config.h"
3940
#include "nrf_802154_const.h"
4041

4142
/* The usage of ED_RSSISCALE is described imprecisely in the nRF product specifications. The meaning of

nrf_802154/doc/CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Added
2525
=====
2626

2727
* Added the :c:func:`nrf_802154_alternate_short_address_set` function, which allows for setting the secondary short address that will be accepted by the frame filter. (KRKNWK-20051)
28+
* Added the :c:func:`nrf_802154_clock_hfclk_latency_set` function, which sets the HFXO startup latency.
29+
Currently, it is supported only on nRF54L Series SoCs.
30+
Use this API during clock platform initialization.
31+
If the latency is not set, the driver assumes a default worst-case startup latency of 1650 us.
2832

2933
nRF Connect SDK v3.0.0 - nRF 802.15.4 Radio Driver
3034
**************************************************

nrf_802154/driver/src/nrf_802154_trx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ extern void nrf_802154_trx_standalone_cca_finished(bool channel_was_idle);
776776
* - @ref nrf_802154_trx_go_idle,
777777
* - @ref nrf_802154_trx_disable.
778778
*
779-
* @param ed_sample_dbm Sample of detected energy.
779+
* @param ed_sample Sample of detected energy.
780780
*/
781781
extern void nrf_802154_trx_energy_detection_finished(int8_t ed_sample_dbm);
782782

nrf_802154/sl/include/nrf_802154_sl_utils.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
(ticks) * (NRF_802154_SL_US_PER_S >> NRF_802154_SL_FREQUENCY_US_PER_S_GCD_BITS), \
6767
(NRF_802154_SL_RTC_FREQUENCY >> NRF_802154_SL_FREQUENCY_US_PER_S_GCD_BITS))
6868

69+
/**@brief Maximum of two values. */
70+
#define max(a, b) ((a) > (b) ? (a) : (b))
71+
72+
/**@brief Minimum of two values. */
73+
#define min(a, b) ((a) < (b) ? (a) : (b))
74+
6975
/**@brief Converts microseconds (us) to RTC ticks.
7076
*
7177
* @param time Time is us to be converted to RTC ticks.

nrf_802154/sl/include/platform/nrf_802154_clock.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
#define NRF_802154_CLOCK_H_
5050

5151
#include <stdbool.h>
52+
#include <stdint.h>
5253

5354
#ifdef __cplusplus
5455
extern "C" {
@@ -127,6 +128,26 @@ extern void nrf_802154_clock_hfclk_ready(void);
127128
*/
128129
extern void nrf_802154_clock_lfclk_ready(void);
129130

131+
#ifdef NRF54L_SERIES
132+
133+
/**
134+
* @brief Informs the nRF 802.15.4 Radio Driver about the HFXO startup latency.
135+
*
136+
* This function sets the clock latency that will be taken into account during timing
137+
* calculations. Lower latencies result in lower power consumption and an ability to
138+
* schedule TX/RX windows earlier in the future, but require a crystal oscillator with better
139+
* parameters. The default clock latency assumes the worst-case crystal oscillator and should
140+
* be adjusted to achieve better power efficiency.
141+
*
142+
* Note: This API is available only on nRF54L series SoCs.
143+
*
144+
* @param[in] latency_us Time difference in microseconds between start event of the HFXO
145+
* and the HFXO started/tuned event.
146+
*/
147+
extern void nrf_802154_clock_hfclk_latency_set(uint32_t latency_us);
148+
149+
#endif
150+
130151
/**
131152
*@}
132153
**/
456 Bytes
Binary file not shown.
456 Bytes
Binary file not shown.
Binary file not shown.
456 Bytes
Binary file not shown.
456 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)