1 Reply Latest reply on Oct 16, 2020 12:00 AM by ZhengbaoZ_96

    SRAM in CYW42907

    SaSh_283021

      Hello,

       

      How to use the 2Mb of SRAM in CYW43907 application?

       

      I want to store data in SRAM and send later via SPI.

       

      Thanks and Regards,

      Sapan Shah

        • 1. Re: SRAM in CYW42907
          ZhengbaoZ_96

          hello:

           

          Are you using wiced for debugg ?  if so, try to use malloc function.

              rate_str = malloc(rate_str_len);
              if (rate_str == NULL) {
                  WPRINT_APP_ERROR( ( "%s: malloc failure for rate string buffer.\n", fn_name ) );
                  return ERR_OUT_OF_HEAP;
              }