I use nRF52840DK and nRF21540EK to develop BLE programs, and the program uses FLASH for BLE image storage, the program works well on the DK.
However, when I burned it into our own drawn PCB, FEM didn't seem to work (couldn't search for the device I wanted to connect to).
We tried to find out if nRF21540 was the cause, however when we burned another BLE program, the FEM was working correctly (broadcast device).
This is a program that doesn't work。
This is the test program.