How to change the DTIM and beacon interval in WLAN low power example

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

cross mob
Silabs-Kanaiya
Level 1
Level 1
First reply posted First question asked Welcome!

Hi Support Team,

We are trying to evaluate the cypress board part number CY8CKIT-062S2-43012. for that we are using the AnyCloud_WLAN_Low_Power example. 

Version : Kittprogramming3. 

IDE : Eclipse Modus Toolbox

In this example, the cypress module takes the DTIM interval and beacon interval from the AP.

But now we want to change the DTIM interval and beacon interval in the code itself. we don't want to take from the AP.

Can you tell us "How to enable the DTIM interval and beacon interval" in this example?

------------------------------------------------------------------------------------------------------------------------------------------------------------

In the Readme file below point has mentioned: can you please elaborate on this sentence more?

As per our understanding, first, we have measured the current at the J17 jumper and then measure the current at the J8 jumper. after that we have added both currents. and assume that the final current. Is this our understanding correct?

--------------

For CYW43xxx:

  1. Measure the current at VDDIO_WL across VDDIO_WL and VCC_VDDIO2 at J17.
  2. Measure the current at VBAT across VBAT and VCC_VBAT at J8.

Note: The level translator, U17, consumes approximately 110 uA and adds this leakage when measuring across VDDIO_WL. So, remove U17 which is on the back of the board below J3.1.

-------------

In the below table we follow the 2nd point (CYW43012 (VBAT)). but we are getting approx. ~700-800uA current. do we need to enable any setting parameter in the code to get the below-mentioned current?

 

State Device Current
1. Deep Sleep PSoC 6 12.1 uA
CYW43012 (VBAT) 2.3 uA
2. Average current over 3 DTIM periods for
AP (2.4 GHz) Beacon Interval of 100 and
AP DTIM of 1
PSoC 6 12 uA
CYW43012 (VBAT) 476 uA
3. Average current over 3 DTIM periods for
AP (2.4 GHz) Beacon Interval of 100 and
AP DTIM of 3
PSoC 6 12.1 uA
CYW43012 (VBAT) 131 uA
4. Average current over 3 DTIM periods for
AP (5 GHz) Beacon Interval of 100 and
AP DTIM of 1
PSoC 6 12 uA
CYW43012 (VBAT) 220 uA
5. Average current over 3 DTIM periods for
AP (5 GHz) Beacon Interval of 100 and
AP DTIM of 3
PSoC 6 12 uA
CYW43012 (VBAT) 87 uA

 

Silabs-Kanaiya_0-1621195164243.png    

Silabs-Kanaiya_1-1621195204526.png

 

Silabs-Kanaiya_2-1621195232961.png

 

Regards,

Kanaiya Sharma

0 Likes
1 Solution

Hi,

As per your requirement, you want to measure the total current consumption of WLAN, for that the current has to be measured across both jumpers J8 and J17. Firstly, you have to remove U17 as it will add leakage current to the VDDIO_WL component, and then for 3DTIM periods (time t=0 to time t=3DTIM), you have to perform continuous average. So, basically, you can measure the current values across this period and then average it across 3 DTIM which will be averaged across 300 ms.

Thanks

Aditi

View solution in original post

0 Likes
8 Replies
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

One question, is your device (CY8CKIT-062S2-43012) been used in STA mode or AP mode in this use case application?

Thanks

Aditi

0 Likes
Silabs-Kanaiya
Level 1
Level 1
First reply posted First question asked Welcome!

Hi Aditi,

Thanks for your reply.

We are using as it is the example that is provided in the Any cloud SDK.

It is in STA mode.
We just change the SSID and PWD in this example. and tried to connect with the AP.

0 Likes

Hi,

Thanks for the reply. DTIM and Beacon Interval both are parameters specified by AP and are intrinsic to it. These are sent to clients to inform them about the presence of data packets and for synchronization. These can't be changed in the client/STA mode.

If the device is in AP mode, then the change is possible via WL commands.

Thanks

Aditi

0 Likes
Silabs-Kanaiya
Level 1
Level 1
First reply posted First question asked Welcome!

Hi Aditi,

Thanks for your response.

Can you also provide the answers to the remaining questions?

Regards,

Kanaiya Sharma

 

0 Likes
Silabs-Kanaiya
Level 1
Level 1
First reply posted First question asked Welcome!

Hi Aditi,

Do you happen to have any updates about that?

Also, I am facing an issue with the Cypress board.
Yesterday I have worked with the cypress board and I was able to connect with the AP. but today I am unable to connect with the AP. I am suspecting maybe something went wrong with the board.
On board one "LED8" was glowing earlier. but now not.
Do you know why this LED is not glowing?

Regards,
Kanaiya Sharma

0 Likes

Hi,

I'm not very clear with respect to your other query. I guess it is something related to the current measurement. Can you elaborate more on that query?

Also, regarding the issue with the Cypress board, please create another thread for the same. The query will be taken care of by the community members.

Thanks

Aditi

0 Likes

Hi Aditi,

Thanks for your response.

An issue with the cypress board is resolved now.

For the remaining query,

1) In the Readme file (Any cloud WLAN low power example ) below point has mentioned:

--------------

For CYW43xxx:

  1. Measure the current at VDDIO_WL across VDDIO_WL and VCC_VDDIO2 at J17.
  2. Measure the current at VBAT across VBAT and VCC_VBAT at J8.

Note: The level translator, U17, consumes approximately 110 uA and adds this leakage when measuring across VDDIO_WL. So, remove U17 which is on the back of the board below J3.1.

------------------------------------

can you please elaborate above sentence?

As per our understanding, first, we are measuring the current at the J17 jumper and then we are measuring the current at the J8 jumper. after that we are adding both currents values (J8 & J17). and assuming that the final current. Is this our understanding correct?

(Actually, we are trying to measuring the WIFI current consumption)

-------------------------------------------
2) In the below table we follow the 2nd point (CYW43012 (VBAT)). and as per the table with DTIM 1 cypress board getting 476uA. but we are getting approx. ~700-800uA current. 

do we need to enable any setting parameter in the code to get the 476uA current?

-------------------------------------

Regards,

Kanaiya Sharma

 

0 Likes

Hi,

As per your requirement, you want to measure the total current consumption of WLAN, for that the current has to be measured across both jumpers J8 and J17. Firstly, you have to remove U17 as it will add leakage current to the VDDIO_WL component, and then for 3DTIM periods (time t=0 to time t=3DTIM), you have to perform continuous average. So, basically, you can measure the current values across this period and then average it across 3 DTIM which will be averaged across 300 ms.

Thanks

Aditi

0 Likes