ncs2.6.0 DTM ported to matter/lock example

Dear support team,
We need to integrate DTM function into matter. We have disabled bt, but it still prompts that radio_init failed. Do we still need to disable matter protocol? If so, how to disable matter?

BR,

Zero

Parents
  • Hi

    Nor DTM or the radio test sample can be used "in Matter", and you would have to implement them separately. You can use the MPSL sample as reference on how to create a multiprotocol application, and how to assign timeslots for them if you want to switch between the two often, but I would think it's better for RAM and Flash memory to test the RF performance first with a separate application and then have just your Matter application on the boards in the end-product, since the Matter stack takes up a lot of the available memory on the nRF52840.

    Best regards,

    Simon

Reply
  • Hi

    Nor DTM or the radio test sample can be used "in Matter", and you would have to implement them separately. You can use the MPSL sample as reference on how to create a multiprotocol application, and how to assign timeslots for them if you want to switch between the two often, but I would think it's better for RAM and Flash memory to test the RF performance first with a separate application and then have just your Matter application on the boards in the end-product, since the Matter stack takes up a lot of the available memory on the nRF52840.

    Best regards,

    Simon

Children
  • Hi Simon,

    After a few days of research, it is indeed difficult to transplant dtm to matter, but I thought of another feasible solution, which is to transplant dtm to mcuboot, save a flag in flash and let mcuboot jump to the application. For example, after the device is powered on, mcuboot first reads the flash flag, and determines whether to jump to the application through the flag. After the dtm test is completed, the value of the flash flag is updated and then restarted. After restarting, mcuboot jumps to the application. We also did this, and after a simple test, this method is feasible.

    Best regards,

    Zero

  • Glad to hear you figured something out Zero! This sounds doable, indeed.

    Best regards,

    Simon

Related