Merge openThread and radio_test code, radio_test test MPSL assert:112,2235

Port the radio_test sample to the Coprocessor sample to test the radio_test function error

How do I merge the two examples

I was hoping you could help me out

many thanks

  • Hi Ethan

    I need some more information on what exactly is failing in your OpenThread test, as it's hard to tell what's causing this error by just looking at your main file. I would suggest making the timeslots smaller however, to see if that helps at all.

    Best regards,

    Simon

  • Hi

    I'm sorry,The previous description might have been confusing.Ignore the previous code.

    I am currently working on merging the radio_test sample with the Coprocessor sample,I think timeslot can accomplish this task. I want to be free from the influence of OpenThread when conducting radio test.

    I plan to extend timeslot to realize radio test normally. The delay process always receives the signal MPSL_TIMESLOT_SIGNAL_SESSION_IDLE and will not continue to delay. Is there any example of extending timeslot? The other examples I refer to are too old.

    Best regards,

    Ethan

  • Hi again Ethan

    I'm struggling to see the use case you're going for here. Is there a reason you need both the radio test and the co-processor application as one sample rather than having two separate applications that you flash onto the device as needed? 

    According to mpsl_timeslot.h, the maximum timeslot length that can be set is 100ms. Do you need the timeslot to be longer than this during the radio testing? If so you need to extend it by requesting an extension using MPSL_TIMESLOT_SIGNAL_ACTION_EXTEND withing the timeslot event. MPSL_TIMESLOT_SIGNAL_SESSION_IDLE indicates that the timeout session has no more pending requests and is executed in the same context as mpsl_low_priority_process();

    Best regards,

    Simon

  • Hi Simon

    To improve factory efficiency,

    I have checked some materials and now Timeslot can work normally. Thanks again for the suggestion of using Timeslot,

    I'm now ready to refine the code

    Best regards,

    Ethan

Related