how to enable GPIO+SPI mode on ble application

Hi,

I am using NCS v2.4.2 and nRF5340DK + nRF21540EK but I can not enable GPIO+SPI mode.

for example, I use nrf/samples/bluetooth/central_and_peripheral_hr application.

I built the following.

west build -p -b nrf5340dk_nrf5340_cpuapp -d build-ble-hrs nrf/samples/bluetooth/central_and_peripheral_hr -- \
-DSHIELD=nrf21540_ek_fwd -Dhci_rpmsg_SHIELD=nrf21540_ek

I checked netcpu config but GPIO+SPI mode was not enabled. I did not modify NCS code.

what should I do?

 

also, I tried to add child/hci_rpmsg.conf and add the folloing in the conf file.

CONFIG_MPSL_FEM_NRF21540_GPIO_SPI=y

I could enable GPIO+SPI mode by the conf file but the following error output.

It seems netcpu side is crushed. Please help me.

Related