This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
My application is based on SimpleLink SDK v4.20.
I need to make CC1352 work under two different RF, send and receive for 2.4GHz ZigBee most of the time, and occasionally send BLE data.
In the previous test, I found that I could not switch directly to the sending of BLE when ZigBee receiving was turned on.
Then I used the function in the api_mac library
ApiMac_mlmeSetRegBool(ApiMac_attribute_RxOnWhenIdle, false);
This works most of the time, but occasionally there is a problem: the function doesn't work.
I tried to get the return value of the function and used
ApiMac_mlmeGetRegBool(ApiMac attribute RxOnWhenIdle, &state);
In my code, from setting RF to IDLE state to sending BLE as blocking.
In another test, I paused the task for 10 seconds after setting RF to IDLE, commenting on all other code that opened RX, but still occasionally received ZigBee data,
the code is:
When the function fails:
So my question is:
Is there other way to ensure that RF can enter IDLE?
Thank you.
Hello,
you can try the following approach:
Use
ApiMac_mlmeSetReqBool(ApiMac_attribute_RxOnWhenIdle, CONFIG_RX_ON_IDLE);
There is no difference.
The comment you sent says ‘False for sleepy device’, perhaps CC1352P needs to be sleepy when you call ApiMac_mlmeSetReqBool.
You can also try this out: disable unnecessary peripherals, such as timers, UART, ADC, or other communication interfaces.
The word "False for sleepy device" was not written by me, it is in the ti_154stack_config.h generated by the SysConfig tool.
The function:
ApiMac_mlmeSetReqBool(ApiMac_attribute_RxOnWhenIdle, true);
is use to make RF chenge into RX from IDLE
The function:
ApiMac_mlmeSetReqBool(ApiMac_attribute_RxOnWhenIdle, false);
is use to make RF into IDLE. And occasionally it doesn't work. My question is how do I make sure it works? Whether there are other ways to replace it?
Hello,
you can read this document by clicking this link.
The Dynamic Multi-protocol Manager (DMM) allows multiple wireless stacks to coexist and operate concurrently on a single radio on a CC13xx or CC26xx device.
Hi,
I have other things to do these days. I will verify the solution using DMM as soon as possible.