Is it possible to read RSSI value when core is in Deepsleep

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
SuRa_2245351
Level 4
Level 4
First like received First like given

I am using BLE with controller on CM0+ and host and profile on CM4. When I am reading RSSI value with core CM0+ in "sleep mode" received RSSI value changes with distance , but when core CM0+ is in "Deep sleep mode" , received RSSI value is -55dBm and remains constant irrespective of the change in distance.

0 Likes
1 Solution

Hello rautinst_2245351​,

Can you please try adding the below code to the CY_BLE_EVT_STACK_ON and see if that helps? I was able to get it to work with the below change.

case CY_BLE_EVT_STACK_ON:

            BLE->BLELL.LL_CONFIG &= ~0x41;

Looks like the point at which the radio measures the RSSI matters and the above modification makes the RSSI measurement at the end of the packet. Our default configuration measures it at the start. We are checking with our HW team on why this matters with deep sleep. We will update the implementation in the next PDL release.

Regards,

Meenakshi Sundaram R

View solution in original post

0 Likes
4 Replies