2 Replies Latest reply on Aug 28, 2017 2:36 AM by adangel

    CYW43362 transmit power adjustment to antenna

    adangel

      Let's say, you attach an antenna, which has a gain of 3dBi. In order to not transmit more than the permitted dBm EIRP, you need to limit the output power of the wifi chip. I've found the method "wwd_wifi_set_tx_power", which seems to be the correct one. However, there are no samples (except for the console app and the mfg_test app), that use this function.

       

      Here are my questions:

      * Should this function ever be used by a "normal" application?

      * What is the default setting?

      * According to the code, it seems to have only an effect in STA (client) mode. This means, the power in SoftAP mode cannot be controlled?

      * I assume, you are setting the upper limit of the output power. Is this correct?

       

      There is also the other use case: Increasing the output power to compensate any loss due to a long antenna cable, etc.

      Looking at the code, it seems that "127 / 4 = 31.75 dBm" is the maximum possible value. Is this correct?

       

      Thanks,

      Andreas

        • 1. Re: CYW43362 transmit power adjustment to antenna
          dava

          Hi Andreas,

           

          The tx power control is handled by the radio firmware based upon a country code setting, the nvram file settings (power per rate) and this also includes the antenna gain parameter.

           

          There are a set of commands that can control the tx power levels but these are only used with the mfg test firmware as part of the board testing process, and not allowed to be used for the software image that ships in your product for production.

           

          This means that as long as you are following (very!) closely a hardware design package for chip down, a module solution (with the specified platform file/nvram file) then your design will be ok to submit for regulatory testing.    If you change the antenna gain then this will need to be updated in the nvram file to ensure the radio firmware can then calculate the correct limits to meet regulatory limits based on the specified country code setting.

           

           

          Regards

          Dave

          3 of 3 people found this helpful
          • 2. Re: CYW43362 transmit power adjustment to antenna
            adangel

            Hi Dave,

            thank you for the answer and clarification.

             

            In order to optimize the antenna performance and still meet the regulatory limits, we would:

            1. compare our antenna path (gain, loss) to the reference antenna used by the manufacturer for the initial certification

            2. apply class 1 or 2 change as per FCC regulatory (equivalent antenna type, same or less gain, emission is not worse). See also https://www.lsr.com/white-papers/guidelines-for-fcc-permissive-changes

            3. if needed, work with the manufacturer to provide specific nvram settings, which match our specific hardware design.

             

            Software-side, we only need to make sure, to run with the correct country code setting and the radio firmware will take care of the rest.

             

            Regards,

            Andreas

            1 of 1 people found this helpful