Using LSM6DSL with I2C taking the lsm6dsv16x sensor but giving reset when sampling frequency is setting.

when setting the fetching code this type of output is coming i.e board is resetting continuously and also Iam taken the  lsm6dsv16x drivers from browser 

Parents Reply
  • I am using VS code with nRF connect SDK v2.2.0, toolchain v2.2.0 & cmake v3.20.0.

    I ran % bin/symquery.exe -e build/zephyr/zephyr.elf 0x000045a2 this command from nRF connect terminal but  following error has shown

    ForEach-Object : Cannot bind parameter 'End'. Cannot convert the "build/zephyr/zephyr.elf" value of type "System.String" to type
    "System.Management.Automation.ScriptBlock".
    At line:1 char:23
    + % bin/symquery.exe -e build/zephyr/zephyr.elf 0x000045a2
    + ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (:) [ForEach-Object], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.ForEachObjectCommand

    First of all, I need to understand whether lsm6dsl sample code works with the lsm6dsv16x(actual sensor connected to nRF5340). Atleast Iam expecting the following code should pass 

    const struct device *dev_imu = DEVICE_DT_GET_ANY(st_lsm6dsv16x_i2c);
                   
            if (!device_is_ready(dev_imu)) {
                    printk("st_lsm6dsl: device not ready.\n");
                    return;
            }
    Device tree config
    lsm6dsv16x.yaml file is created manually, it looks like this (referred from lsm6dsl.yaml)
    The log is same which I shared staring of this conversation.
    Please analyze and let me know the possible reason.
    Is there any sample code for lsm6dsv16x which I can ran directly?
Children
Related