Channel sounding not enough memory to store step data (530 > 512)

Hi, 

I am currently working with the channel_sounding/connected_cs sample for nrf54l15 and I keep getting the error: Not enough memory to store step data (530 > 512). I tried increasing CONFIG_MAIN_STACK_SIZE but the same error still showed up. Do you have any advice on how to resolve this issue?

Parents
  • Hi,

    Is this the default (ie. completely unmodified) version of the sample? Are you using nrf54l15 DKs? What NCS version are you using?

    Regards,

    Elfving

  • Hi, 

    Yes, this is completely unmodified. I am using nrf54l15-dk with NCS version 3.0.0, thank you so much for your response.

  • This sounds a bit like a new almost unrelated problem, though one of the ways the first issue can be addressed is by using real-time ranging mode, which is actually enabled by default in the main branch. Could you try the sample from the main branch and see if you see this issue there? 

    Regards,

    Elfving

  • I have tried to use the version with real time ranging, but every time I tried to compile it I get the error:

    error: 'RAS_FEAT_REALTIME_RD' undeclared (first use in this function)
      176 |         if (!(ras_feature_bits & RAS_FEAT_REALTIME_RD))
      
    In function 'main':
      593 |         const bool realtime_rd = ras_feature_bits & RAS_FEAT_REALTIME_RD;
      
    warning: implicit declaration of function 'bt_ras_rreq_realtime_rd_subscribe'; did you mean 'bt_ras_rreq_rd_ready_subscribe'? [-Wimplicit-function-declaration]
      596 |                 err = bt_ras_rreq_realtime_rd_subscribe(connection,
          |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |                       bt_ras_rreq_rd_ready_subscribe
    [29/360] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj
    ninja: build stopped: subcommand failed.

    Even though I just cloned it from the github repository. I could not get it to compile and I have 3.0.1 which is the latest version. Am I supposed to add something extra into the config file?

  • It builds on my side.

    Make sure that you are using the right SDK and toolchain version. You would eg. need to use the entire to mainbranch SDK, not just the sample code. There has been changes in the API etc. after all. Download the entire SDK for the main branch, then make a new sample.

    Are you continuously seeing this issue when trying the sample in the previous version? Could you send me the logs that you are getting?

    Regards,

    Elfving

  • Hi, 

    I was able to build it after downloading all the zephyr dependencies, where as before I just cloned the repository from Github. What is the purpose of real-time ranging? I don't really see a difference between the two versions. Thanks in advance.

  • I see. Could you then provide me the logs you are getting with this error.

    Triscuit said:
    What is the purpose of real-time ranging?

    It could give faster and more accurate results. And as it reduces the number of GATT transactions needed to transfer the data between the devices, and therefore makes it possible to reduce the procedure interval. You should likely see less of the "Ranging data overwritten" issue.

    Regards,

    Elfving

Reply
  • I see. Could you then provide me the logs you are getting with this error.

    Triscuit said:
    What is the purpose of real-time ranging?

    It could give faster and more accurate results. And as it reduces the number of GATT transactions needed to transfer the data between the devices, and therefore makes it possible to reduce the procedure interval. You should likely see less of the "Ranging data overwritten" issue.

    Regards,

    Elfving

Children
No Data
Related