3 Replies Latest reply on Aug 12, 2020 2:36 AM by SheetalJ_96

    Which platform in Modustoolbox for CYBT-483039-02

    NiA_4003596

      Hi,

      Could anyone please suggest how to program the module CYBT-483039-02 in modustoolbox 2.1.

      What is the platform to be selected to program this module. The available default platforms for CYW20719 in the modustoolbox 2.1 are

      Best regards,

      NK

        • 1. Re: Which platform in Modustoolbox for CYBT-483039-02
          SheetalJ_96

          Hi NK,

           

          CYBT-483039-02 is a CYW20719B1 based module, it is not supported in Modus Toolbox. For CYBT-483039-02, you will have to use WICED Studio 6.2 or 6.4 along with platform files WICED Studio: Platform Files for CYBT-483039-EVAL – KBA223747 .

          If you are using WICED Studio 6.4, please check Platform and New Patch Files For 20719B1 in WICED 6.4.0.61 - KBA228518

          • 2. Re: Which platform in Modustoolbox for CYBT-483039-02
            NiA_4003596

            Hi,

            Thank you for the valuable information.

            I am using this module for LED lighting application and configured pins for PWM(P28), relay(P26) and on board led indication(P17). Enclosed my schematic for your understanding.

             

            1. How to configure pin P17 as GPIO to light up indication led LED1 because the following code does not work in WICED6.4

                 wiced_hal_gpio_configure_pin(WICED_P17, GPIO_OUTPUT_ENABLE, GPIO_PIN_OUTPUT_HIGH);

                 wiced_hal_gpio_set_pin_output(WICED_P17, GPIO_PIN_OUTPUT_HIGH);

             

            2. How to configure pin P28 as PWM because the following code does not work in WICED 6.4

             

                wiced_hal_aclk_enable(PWM_INP_CLK_IN_HZ, ACLK1, ACLK_FREQ_24_MHZ);

                wiced_hal_gpio_select_function(WICED_P28, PWM1);

                // wiced_hal_pwm_configure_pin(WICED_P28, PWM1);

                wiced_hal_pwm_get_params(PWM_INP_CLK_IN_HZ, 0, PWM_FREQ_IN_HZ, &pwm_config);

                wiced_hal_pwm_start(PWM1, PMU_CLK, pwm_config.toggle_count, pwm_config.init_count, 1);

             

                //set pwm duty cycle

                wiced_hal_pwm_get_params(PWM_INP_CLK_IN_HZ, brightness_level, PWM_FREQ_IN_HZ, &pwm_config);

                wiced_hal_pwm_change_values(PWM1, pwm_config.toggle_count, pwm_config.init_count);

             

             

            3. I am getting the following PUART message in the terminal with baudrate 115200, could we get meaningful starting message instead of some junk message?

            Ý_öûöý[KöÛÚûÉÚ?Ýòù½ÛÚû{¶ýÛÉÛéûÉÛÉkééIserver trans start time:0 target:3490 present:0 state:2648a8

            server trans complete:3490

            mesh light srv set level element:0 actual/target:15123/3490 linear/target:15123/3490 remaining_time:0

            ***** Free mem after app_init:142128

             

             

            Best regards,

            NK

            • 3. Re: Which platform in Modustoolbox for CYBT-483039-02
              SheetalJ_96

              Hi NK,

               

              Would you please create a new thread in order to follow your application error issue? It will be easier to track the problem that way.