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
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
I use GPIO to control whether to enter OpenThread mode or Radio mode
Hi
This assert fails because your radio interrupts are only expected within a radio event. The radio_test is rather basic, and doesn't use the radio events that MPSL expects. I think it should be possible to port the radio_test sample to use timeslots instead, and make it work that way.
Best regards,
Simon
Thank you very much for your tip,Simonr!
I'll try to fix it using TimesLots and get back to you.
Ethan.Shi
Hi Simonr
The radio_test example includes shell init, which makes Openthrad not work properly,
I tried merging the code and found that the shell command line of audio_test was not displayed. Through testing, I found that the problem should be shell init priority. I am a novice, I want to know what is the specific reason of influence
Ethan.Shi
Hi
I'm sorry, but I don't have much more specifics than that the shell module uses radio interrupts outside of the expected radio events, which is why the MPSL asserts. In order to use the radio_test functionalities you will have to port it to use timeslots instead, so that the radio has a specific time set for the radio_test to do what it's supposed to without interfering with thread/MPSL.
Best regards,
Simon