Building Zigbee applications on nrf5340 with nrf-FEM module

Hi,

I am building a zigbee application using a custom board with 5340 and 21540. I have the 21540 chip connected with all gpios and SPI pins to the 5340. It also has both antennas connected.

First I want to validate the configurations.

Do I need to forward all the gpios from the DTS file to the net core including the SPI pins?

How do I enable logging on the network core to validate that the 21540 works?

Should I have the config on the Net core only?

If I am doing the SPI on the APP core, and forwarding the gpio to the net core, how does that look like?


Right now, I have the FEM MPSL config on the NET core, and the DTS of the APP core forwards the including SPI  pins to the Net core, I have the netcore with SPI0 enabled with the same pins from pinctrl, and also the FEM gpio settings with that spi referenced as a sub node. I am getting  ipc endpoint bind timeout on the loggs as an error and my application hangs, and the network core outputs no logs at all.

If you have configurations on how to  do this or a skelaton app with only the configs and directions to build it you can share it and ignore all my questions. Thank you

Related