13 Replies Latest reply on Oct 20, 2020 5:32 AM by JiZh_4619191

    Cyw20719B2 TX current

    JiZh_4619191

      Hi,

      If I set Adv and peer  tx power to min using tx wiced_bt_set_tx_power(), how large is the tx current?

      I used different power parameters( 4, -12, -24) and observes dBm from CySmart , but it seemed that cyw20719b2 didn't changed tx power.

       

       

       

      Best regards.

        • 1. Re: Cyw20719B2 TX current
          AnjanaM_61

          Hi JiZh_4619191 ,

           

          For adv Tx power, please try the API : wiced_bt_ble_set_adv_tx_power()  (API details in wiced_bt_ble.h)

          You may try example as below :

          wiced_result_t result_1;

          result_1=wiced_bt_ble_set_adv_tx_power(-4, NULL);

          WICED_BT_TRACE("wiced_bt_ble_set_adv_tx_power result_1: %d\n", result_1);

           

          To set the Tx power after connection, use API wiced_bt_set_tx_power

           

           

          Regards,

          Anjana

          • 2. Re: Cyw20719B2 TX current
            JiZh_4619191

            Hi Anjana,

            As you recommend, I used wiced_bt_ble_set_adv_tx_power() and wiced_bt_set_tx_power() to decrease Adv TX power and Tx power after connection(power parameter are -24) . I observed current state from CyPE, but it seemed that cyw20719 current didn't decrease. Why?

             

            Regards.

            • 3. Re: Cyw20719B2 TX current
              AnjanaM_61

              Hi JiZh_4619191 ,

               

              Typically the tx range for 20719 is +4dB to -16dB .  Can you please try within these limits ?

               

              Meanwhile I will check internally and confirm the range for 20719B2.

               

              Regards,

              Anjana

              • 4. Re: Cyw20719B2 TX current
                AnjanaM_61

                Hi JiZh_4619191 ,

                 

                Please use the values mentioned hereCYW20719B2 Product Guide

                 

                Regards,

                Anjana

                • 5. Re: Cyw20719B2 TX current
                  JiZh_4619191

                  Hi Anjana,

                  Thank you so much!

                  On CYW920719Q40EVB-01_EVALUATION_BOARD, I set up current:  wiced_bt_ble_set_adv_tx_power(-9) and wiced_bt_set_tx_power(p_conn_status->bd_addr, -9).

                  When CYW920719 sent notifications continuously, CyPE displayed "Total Avg Current:3.53mA", the current measured by ammeter is about 8.3mA!

                   

                  Regards,

                  • 6. Re: Cyw20719B2 TX current
                    AnjanaM_61

                    Hi JiZh_4619191 ,

                     

                    Total current is not only depends on the tx power which you set . The Avg current shown by CYPE is a simulated one where as the actual value may differ , depending up on the peripherals running on your actual hardware design while measuring the current.

                    Did you measured the current across VDDIO or VBAT on the EVB?  Which example project you used for testing?

                    Switch LED1, LED2 switch if you are not using. Also remove thermistor enable header (J14).

                    If your goal is to reduce the current consumption, I would suggest you to include low power code in the implementation. Please refer to the low power guide lines https://www.cypress.com/file/415986/download

                     

                    Its better if you  can create new thread for current consumption related discussion.

                     

                    Regards,

                    Anjana

                    • 7. Re: Cyw20719B2 TX current
                      JiZh_4619191

                      Hi Anjana,

                      My project is derived from "BLE Throughput Measurement" of "CYW20719B2Q40EVB-01".

                      Since I want to measure the current consumption of CYW20719 chip, "8.3mA" current is measured across VBAT and 3V3 (J8).

                      Furthermore, I set up "Shut Down Sleep(SDS)" mode, the current that across VBAT is about 0.1mA.

                      Can I believe that "8.3mA" is the exact current consumption of CYW20719 chip?

                       

                      Regards,

                      Jian

                      • 8. Re: Cyw20719B2 TX current
                        AnjanaM_61

                        Hi JiZh_4619191 ,

                         

                        Since I have not measured the current for throughput example, I can't comment if your measurements are correct or not.

                        Also I am not sure if number you have mentioned is Average current or peak current .

                        However , since throughput example consists of continuous notification, yes there is chance of showing comparatively high number during that time. If you are measuring that number ,yes  it will be the current consumption of that board design.

                        If you want to still try to evaluate more and reduce current , as I mentioned before switched off all unused LEDs, remove thermistor jumper , disabled puart/debug logs before measuring.

                        A high level current consumption numbers tested on chip level is given in datasheet Table 18. Current Consumption BT/LE

                         

                        Regards,

                        Anjana

                        • 9. Re: Cyw20719B2 TX current
                          JiZh_4619191

                          Hi Anjana,

                          On CYW920719Q40EVB-01_EVALUATION_BOARD, the CYW20719B1KUMLG current consumption is about 0.1mA, in "Shut Down Sleep (SDS)" mode.

                          Meanwhile, on CYW920719B2Q40EVB-01_EVALUATION_BOARD, the CYW20719B2KUMLG current consumption is about 3.4mA, in "Shut Down Sleep (SDS)" mode.

                          What is the difference between WICED-studio and ModusToolbox SDS mode configuration?

                           

                          Regards,

                          Jian

                          • 10. Re: Cyw20719B2 TX current
                            JiZh_4619191

                            I switched off all unused LEDs, remove thermistor jumpe on both boards.

                            • 11. Re: Cyw20719B2 TX current
                              JiZh_4619191

                              It seemed that "PLACE_DATA_IN_RETENTION_RAM" is unavailable in ModusToolbox?!

                              • 12. Re: Cyw20719B2 TX current
                                JiZh_4619191

                                I have done my best, but didn't resolve this problem.

                                Would you please check my project files?

                                In this project, client will write a "SLEEP_SERVER" command to set server into SDS mode.

                                Look forward to your favourable reply!

                                • 13. Re: Cyw20719B2 TX current
                                  JiZh_4619191

                                  When client write a "SLEEP_SERVER" command, the sleep_handler() will return WICED_SLEEP_ALLOWED_WITH_SHUTDOWN and WICED_SLEEP_MAX_TIME_TO_SLEEP. And start from the begining.