Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3917

AGL RH accelerometer does not provide IIO buffer

XMLWordPrintable

    • Renesas H3

      IIO buffers are used for data capture based on a trigger source: https://www.kernel.org/doc/html/latest/driver-api/iio/buffers.html

      But it is not available for AGL RH

      agl-refhw-h3:~# iio_readdev asm330lhh_accel
      Unable to allocate buffer: Invalid argument
      

      and

      agl-refhw-h3:/sys/bus/iio/devices/iio:device1# ls 
      current_timestamp_clock   in_accel_y_raw  sampling_frequency
      dev                       in_accel_z_raw  sampling_frequency_available
      in_accel_scale            name            subsystem
      in_accel_scale_available  of_node         uevent
      in_accel_x_raw            power
      

      I have tracked down that st_lsm6dsx_probe is called with irq=0, so this sounds for me like DTS misconfiguration.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            opsyvvavrychuk Vasyl Vavrychuk
            opsyvvavrychuk Vasyl Vavrychuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: