Problem with CLOCK CONTROL on nRF54H20 at ESB TX sample

Hi,

we have nRF54H20DK (rev. 0.9.1), SDK: v2.9.0-nRF54H20-rc2 and the same Toolchain, IDE: VSCode + nRF Connect plugin

build for CPURAD


PC: Windows 11 Pro

I'm trying to test ESB. The ESB/ptx & ESB/prx sample works fine.

  


I modified this sample to test the communication throughput. PRX works - build is fine.

But if I add some clock service to PTX main.c to measure time, it leads to an error in the build phase.

I have the same code on nRF54L15DK with SDK and Toolchain 2.8.0 and it works fine.


In ESB/ptx/main.c there is a problem in "#include <zephyr/drivers/clock_control.h>", but the same #include in nRF54L15 is fine.

In nRF54H20 I found in nrf_clock_control.h that problem is with constant "CONFIG_CLOCK_CONTROL_NRF".

I searched for this constant in .config (in Output) and found a similar but not the same constant "CONFIG_CLOCK_CONTROL_NRF2". I think this is the reason for my problems.


In nRF54H20 and SKD2.9.0-nRF54H20-rc1/rc2 nRF Kconfig GUI interface does not work properly - i.e. when I let ESB find - nothing was found. I did the whole configuration only via prj.conf.
I also tried compiling the nRF54H20 assembly with the latest SDK/Toolchain 3.0.0-preview1, but there is the same problem.

Here is my prj.conf

#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
# CONFIG_NCS_SAMPLES_DEFAULTS=y
CONFIG_UART_USE_RUNTIME_CONFIGURE=n
CONFIG_ESB=y
CONFIG_DK_LIBRARY=y
CONFIG_CLOCK_CONTROL=y
CONFIG_ESB_MAX_PAYLOAD_LENGTH=252
CONFIG_ESB_TX_FIFO_SIZE=256
CONFIG_ESB_RX_FIFO_SIZE=256
CONFIG_ESB_NEVER_DISABLE_TX=y

and so alternate prj.conf

#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
# CONFIG_NCS_SAMPLES_DEFAULTS=y
CONFIG_UART_USE_RUNTIME_CONFIGURE=n
CONFIG_ESB=y
CONFIG_DK_LIBRARY=y
CONFIG_CLOCK_CONTROL_NRF=y
CONFIG_CLOCK_CONTROL=y
CONFIG_NRFX_CLOCK=y
CONFIG_ESB_MAX_PAYLOAD_LENGTH=252
CONFIG_ESB_TX_FIFO_SIZE=256
CONFIG_ESB_RX_FIFO_SIZE=256
CONFIG_ESB_NEVER_DISABLE_TX=y

Can you help me? Is there some way to solve this?

BR

here is my project for nRF54H20/ES_TX

6253.esb_ptx_Nrf54h20.zip

Parents Reply Children
No Data
Related