Multi-NUS on the nRF21540-DK

I have succeeded in running the Multi-NUS package on the nRF52840DK. My client's client learned of the nRF21540EK and wants to try using it to extend the range in the present application. Is there an equivalent of the Multi-NUS package available for this board? Fallback would be an NUS application whereby i could gather the routines to access the control lines for the 21540 and merge it with the Multi-NUS software.

Parents Reply
  • Not true. There must be some added code to switch between tx and rx - that is, to turn the PA and the LNA on and off. Lacking such an adaptation of Multi-NUS, I could at least study the standard NUS application code to learn where in that complex and convoluted code such action needs to happen. Is there in fact some sample code for using the nRF21450? I couldn't find any.

Children
  • SteveHx said:
    Not true. There must be some added code to switch between tx and rx

    Like I said before, there is no code change in the application itself but there are only build time configuration changes to enable FEM. The details of these are given here. If you read the details carefully, you will see that there are configurations to device tree and project configurations that are needed to enable FEM.  No logical changes to the application code are needed, only configurational build time changes are needed.

Related