This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 95df80bb41a3ebf42236ae8ee70d84db3260e9af Author: raiden00pl <[email protected]> AuthorDate: Thu Oct 22 15:40:09 2026 +0200 arch/arm/nrf53: set the HFXO load capacitors without NRF53_HFCLK_XTAL The application core configured the HFXO internal capacitors only when it used the HFXO itself, so a network core radio ran from an untrimmed HFXO and an MRF24J40 received none of its frames. Assisted-by: Claude Code Signed-off-by: raiden00pl <[email protected]> --- arch/arm/src/nrf53/nrf53_oscconfig.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/nrf53/nrf53_oscconfig.c b/arch/arm/src/nrf53/nrf53_oscconfig.c index 06bf0bbd2e6..0b194304c2f 100644 --- a/arch/arm/src/nrf53/nrf53_oscconfig.c +++ b/arch/arm/src/nrf53/nrf53_oscconfig.c @@ -55,7 +55,7 @@ * Private Functions ****************************************************************************/ -#if defined(CONFIG_NRF53_HFCLK_XTAL) && defined(BOARD_OSC_XOSC32MCAPS_CAP) +#ifdef BOARD_OSC_XOSC32MCAPS_CAP static void nrf53_hfxo_intcap(void) { uint32_t slope_field; @@ -109,8 +109,10 @@ void nrf53_oscconfig(void) putreg32(BOARD_OSC_XOSC32KI_INTCAP, NRF53_OSC_XOSC32KI_INTCAP); #endif -#if defined(CONFIG_NRF53_HFCLK_XTAL) && defined(BOARD_OSC_XOSC32MCAPS_CAP) - /* Configure internal capacitors for HFXO */ +#ifdef BOARD_OSC_XOSC32MCAPS_CAP + /* Configure internal capacitors for HFXO, the network core radio uses + * it even when the application core does not + */ nrf53_hfxo_intcap(); #endif
