Skip to content

Commit

Permalink
nrfx 3.7.0 release
Browse files Browse the repository at this point in the history
Signed-off-by: Nikodem Kastelik <[email protected]>
  • Loading branch information
nika-nordic committed Sep 27, 2024
1 parent 075e9e7 commit fa0f3fd
Show file tree
Hide file tree
Showing 237 changed files with 974,766 additions and 125,270 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# Changelog
All notable changes to this project are documented in this file.

## [3.7.0] - 2024-09-27
### Added
- Added support for nRF54H20 Eng B.
- Added multi-instance support in the PDM driver.
- Added option to keep SYSCOUNTER active whenever any of SoC CPUs is not sleeping in the GRTC driver.
- Added new functions in the LPCOMP driver to better match COMP driver. Previous functions are deprecated.
- Added support for the IDLEOUT mechanism in the PWM driver.
- Added support for configuring clock using prescaler in the PDM driver.
- Added missing decimation ratios in the PDM HAL.
- Added missing TX power settings in the RADIO HAL.
- Added temperature coefficient trim setting in the HSFLL HAL.
- Added HAL for the TDDCONF peripheral.

### Changed
- Updated MDK to version 8.67.0.

### Fixed
- Fixed capacitance calculation macros in the OSCILLATORS HAL. Now they are aligned with the Product Specification.

## [3.6.0] - 2024-07-26
### Added
- Added support for nRF54L20 Eng A and nRF9230 Eng B.
Expand Down
185 changes: 95 additions & 90 deletions doc/drv_supp_matrix.dox

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions doc/nrf54h20.dox
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ For a complete overview, see @ref nrfx_drv_supp_matrix.

@ref nrf_tbm

@ref nrf_tddconf

@ref nrf_tdm

@ref nrf_timer
Expand Down
102 changes: 102 additions & 0 deletions doc/nrf54h20_engb.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/**
@page nrf54h20_engb_drivers nRF54H20 Eng B drivers

This page lists nrfx driver components supported by the nRF54H20 Eng B SoC.
For a complete overview, see @ref nrfx_drv_supp_matrix.

@{

@ref nrf_aar

@ref nrf_auxpll

@ref nrf_bellboard

@ref nrf_cache

@ref nrf_ccm

@ref nrf_comp

@ref nrf_systick

@ref nrf_ctrlap

@ref nrf_dppi

@ref nrf_egu

@ref nrf_exmif

@ref nrf_icr

@ref nrf_gpio

@ref nrf_gpiote

@ref nrf_grtc

@ref nrf_ipct

@ref nrf_lpcomp

@ref nrf_lrc

@ref nrf_memconf

@ref nrf_mpc

@ref nrf_mutex

@ref nrf_mvdma

@ref nrf_nfct

@ref nrf_pdm

@ref nrf_ppib

@ref nrf_pwm

@ref nrf_qdec

@ref nrf_radio

@ref nrf_ramc

@ref nrf_resetinfo

@ref nrf_saadc

@ref nrf_spim

@ref nrf_spis

@ref nrf_spu

@ref nrf_stm

@ref nrf_tampc

@ref nrf_tbm

@ref nrf_tddconf

@ref nrf_tdm

@ref nrf_timer

@ref nrf_twim

@ref nrf_twis

@ref nrf_uarte

@ref nrf_usbhs

@ref nrf_vpr

@ref nrf_wdt

@}
*/
88 changes: 88 additions & 0 deletions doc/nrf54l15.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
/**
@page nrf54l15_drivers nRF54L15 drivers

This page lists nrfx driver components supported by the nRF54L15 SoC.
For a complete overview, see @ref nrfx_drv_supp_matrix.

@{

@ref nrf_aar

@ref nrf_cache

@ref nrf_ccm

@ref nrf_clock

@ref nrf_comp

@ref nrf_cracen

@ref nrf_systick

@ref nrf_dppi

@ref nrf_egu

@ref nrf_glitchdet

@ref nrf_gpio

@ref nrf_gpiote

@ref nrf_grtc

@ref nrf_i2s

@ref nrf_icr

@ref nrf_kmu

@ref nrf_lpcomp

@ref nrf_memconf

@ref nrf_mpc

@ref nrf_nfct

@ref nrf_pdm

@ref nrf_power

@ref nrf_ppib

@ref nrf_pwm

@ref nrf_qdec

@ref nrf_radio

@ref nrf_rramc

@ref nrf_saadc

@ref nrf_spim

@ref nrf_spis

@ref nrf_spu

@ref nrf_tampc

@ref nrf_temp

@ref nrf_timer

@ref nrf_twim

@ref nrf_twis

@ref nrf_uarte

@ref nrf_vpr

@ref nrf_wdt

@}
*/
2 changes: 2 additions & 0 deletions doc/nrf9230_engb.dox
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ For a complete overview, see @ref nrfx_drv_supp_matrix.

@ref nrf_tbm

@ref nrf_tddconf

@ref nrf_tdm

@ref nrf_timer
Expand Down
2 changes: 1 addition & 1 deletion doc/nrfx.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PROJECT_NAME = "nrfx"

### EDIT THIS ###

PROJECT_NUMBER = "3.6"
PROJECT_NUMBER = "3.7"

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 2 additions & 0 deletions doc/nrfx_api.dox
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@

@defgroup nrf_tbm TBM

@defgroup nrf_tddconf TDDCONF

@defgroup nrf_tdm TDM

@defgroup nrf_temp TEMP
Expand Down
6 changes: 6 additions & 0 deletions doc/sphinx/drivers/tddconf/hal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TDDCONF HAL
===========

.. doxygengroup:: nrf_tddconf_hal
:project: nrfx
:members:
9 changes: 9 additions & 0 deletions doc/sphinx/drivers/tddconf/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
TDDCONF
=======

.. doxygengroup:: nrf_tddconf

.. toctree::
:glob:

*
2 changes: 2 additions & 0 deletions doc/sphinx/drv_supp_matrix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ Driver support overview
nrf52833
nrf52840
nrf5340
nrf54h20_engb
nrf54h20
nrf54l15_enga
nrf54l15
nrf54l20_enga
nrf91_series
nrf9230_engb
Expand Down
5 changes: 5 additions & 0 deletions doc/sphinx/nrf54h20_engb.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
nRF54H20 Eng B drivers
======================

.. doxygenpage:: nrf54h20_engb_drivers
:content-only:
5 changes: 5 additions & 0 deletions doc/sphinx/nrf54l15.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
nRF54L15 drivers
================

.. doxygenpage:: nrf54l15_drivers
:content-only:
16 changes: 12 additions & 4 deletions drivers/include/nrfx_comp.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,23 @@ extern "C" {
*/
typedef void (* nrfx_comp_event_handler_t)(nrf_comp_event_t event);

/** @brief COMP shortcut masks. */
/**
* @brief COMP shortcut masks.
*
* @deprecated Use @ref nrf_comp_short_mask_t instead.
*/
typedef enum
{
NRFX_COMP_SHORT_STOP_AFTER_CROSS_EVT = NRF_COMP_SHORT_STOP_CROSS_MASK, ///< Shortcut between the CROSS event and the STOP task.
NRFX_COMP_SHORT_STOP_AFTER_UP_EVT = NRF_COMP_SHORT_STOP_UP_MASK, ///< Shortcut between the UP event and the STOP task.
NRFX_COMP_SHORT_STOP_AFTER_DOWN_EVT = NRF_COMP_SHORT_STOP_DOWN_MASK ///< Shortcut between the DOWN event and the STOP task.
} nrfx_comp_short_mask_t;

/** @brief COMP events masks. */
/**
* @brief COMP events masks.
*
* @deprecated Use @ref nrf_comp_int_mask_t instead.
*/
typedef enum
{
NRFX_COMP_EVT_EN_CROSS_MASK = NRF_COMP_INT_CROSS_MASK, ///< CROSS event (generated after VIN+ == VIN-).
Expand Down Expand Up @@ -197,9 +205,9 @@ void nrfx_comp_pin_select(nrf_comp_input_t psel);
* enables the COMP peripheral and its interrupts.
*
* @param[in] comp_evt_en_mask Mask of events to be enabled. This parameter is to be built as
* an OR of elements from @ref nrfx_comp_evt_en_mask_t.
* an OR of elements from @ref nrf_comp_int_mask_t.
* @param[in] comp_shorts_mask Mask of shortcuts to be enabled. This parameter is to be built as
* an OR of elements from @ref nrfx_comp_short_mask_t.
* an OR of elements from @ref nrf_comp_short_mask_t.
*
* @sa nrfx_comp_init
*/
Expand Down
22 changes: 22 additions & 0 deletions drivers/include/nrfx_grtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ void nrfx_grtc_rtcounter_cc_int_disable(void);
#endif // NRF_GRTC_HAS_RTCOUNTER || defined(__NRFX_DOXYGEN__)

#if NRFY_GRTC_HAS_EXTENDED || defined(__NRFX_DOXYGEN__)
#if NRFY_GRTC_HAS_SYSCOUNTERVALID || defined(__NRFX_DOXYGEN__)
/**
* @brief Function for enabling the SYSCOUNTERVALID interrupt.
*
Expand All @@ -274,6 +275,7 @@ void nrfx_grtc_syscountervalid_int_enable(nrfx_grtc_syscountervalid_handler_t ha

/** @brief Function for disabling the SYSCOUNTERVALID interrupt. */
void nrfx_grtc_syscountervalid_int_disable(void);
#endif // NRFY_GRTC_HAS_SYSCOUNTERVALID || defined(__NRFX_DOXYGEN__)

/**
* @brief Function for starting the 1 MHz SYSCOUNTER.
Expand All @@ -290,6 +292,7 @@ void nrfx_grtc_syscountervalid_int_disable(void);
* @retval NRFX_SUCCESS Starting was successful.
* @retval NRFX_ERROR_NO_MEM No resource available to allocate main channel.
* @retval NRFX_ERROR_ALREADY The GRTC is already running.
* @retval NRFX_ERROR_TIMEOUT The SYSCOUNTER failed to start due to a timeout.
*/

nrfx_err_t nrfx_grtc_syscounter_start(bool busy_wait, uint8_t * p_main_cc_channel);
Expand Down Expand Up @@ -442,6 +445,25 @@ nrfx_err_t nrfx_grtc_syscounter_capture(uint8_t channel);
*/
nrfx_err_t nrfx_grtc_syscounter_cc_value_read(uint8_t channel, uint64_t * p_val);


/**
* @brief Function for checking whether the SYSCOUNTER is in ready state.
*
* @note When the SYSCOUNTER is not ready its value may be corrupted.
*
* @retval true The SYSCOUNTER is in ready state.
* @retval false The SYSCOUNTER is not in ready state.
*/
bool nrfx_grtc_ready_check(void);

/**
* @brief Function for checking the current request for the SYSCOUNTER state.
*
* @retval true The SYSCOUNTER is requested to be enabled.
* @retval false The SYSCOUNTER is requested to be disabled.
*/
bool nrfx_grtc_active_request_check(void);

/**
* @brief Function for requesting the SYSCOUNTER state.
*
Expand Down
Loading

0 comments on commit fa0f3fd

Please sign in to comment.