nRF52840 + nRF21540 Radio Test example integrate with Application code

Hi,

We need to integrate the radio test example with our application code. (Application code run with nRF5 SDK15).

We  already have radio test example setup with nRF21540 control. (This is run with nRF Connect SDK).

1. Is it possible to create combined hex file with nRF connect SDK and nRF5 SDK (combined our application hex file and Radio test example with different boot address)?

2. If its not possible, How can we integrate radio test example with our application (nRF5 SDK15)?. We need to control nRF21540 also.

Parents
  • Hi 

    1. This is technically possible, but our bootloader don't really support it so I don't think it will be easy to implement. 

    2. I guess the problem here is that the nRF5 SDK doesn't really support the nRF21540. 

    I assume you will need to control the nRF21540 from the application also, not only when running tests? 

    Are you planning to use the nRF21540 in SPI mode, or in GPIO mode only?

    Best regards
    Torbjørn 

  • Hi,

    Thanks for the response.

    In our application we are using nRF5 SDK15 and PA_LNA assist function to control nRF21540. (As mentioned in this thread). And its working for us and also getting the range up to 1200 meters for audio application.

    Are you planning to use the nRF21540 in SPI mode, or in GPIO mode only?

    We are using GPIO mode ( PA_LNA assist function).

    How can we integrate radio test/DTM example with our nRF5 SDK15 Application code? 

  • Hi 

    AKV said:
    How can we integrate radio test/DTM example with our nRF5 SDK15 Application code? 

    I would strongly discourage this. When you do radio testing the normal practice is to flash the device with special test firmware (using the DTM or radio test examples), rather than the application. 

    When you enter production with your product there is no use in having the test firmware available, since you will never use this in the final product. 

    In this case this would be even more complicated, since there is no official support for the nRF21540 in the nRF5 SDK examples. As long as you keep the two separate you can always use the radio_test or DTM example from the nRF Connect SDK for testing, and use your nRF5 SDK based application in production. 

    Best regards
    Torbjørn

Reply
  • Hi 

    AKV said:
    How can we integrate radio test/DTM example with our nRF5 SDK15 Application code? 

    I would strongly discourage this. When you do radio testing the normal practice is to flash the device with special test firmware (using the DTM or radio test examples), rather than the application. 

    When you enter production with your product there is no use in having the test firmware available, since you will never use this in the final product. 

    In this case this would be even more complicated, since there is no official support for the nRF21540 in the nRF5 SDK examples. As long as you keep the two separate you can always use the radio_test or DTM example from the nRF Connect SDK for testing, and use your nRF5 SDK based application in production. 

    Best regards
    Torbjørn

Children
No Data
Related