Skip to contentSkip to conversation

Temperature support for FXLS8471Q accelerometer

DISCUSSION Dylan Howey 3 participants 4 messages Jan 29, 2020 – Feb 4, 2020 IIO

lore
Share & tools
lore
#0 lore raw

Hi all,

The mma8452 driver supports MMA845x, MMA865x and FXLS8471Q devices.

The FXLS8471Q is unique among these devices in that it has the additional ability to measure temperature.

Currently there is no support in mma8452 to measure temperature when the device is FXLS8471Q. Would anyone be opposed to me adding support? I have hardware and would be able to test my changes.

Thanks,

Signature · 1 line
Dylan
#1 lore raw
Quoted 10 lines · Dylan Howey

Hi all,

The mma8452 driver supports MMA845x, MMA865x and FXLS8471Q devices.

The FXLS8471Q is unique among these devices in that it has the additional ability to measure temperature.

Currently there is no support in mma8452 to measure temperature when the device is FXLS8471Q. Would anyone be opposed to me adding support? I have hardware and would be able to test my changes.

Hi,

Support for new devices is always welcomed :)

If you have any questions about the IIO framework let us know.

- Lars

#2 lore raw

Any accel tests I should run before submitting changes? E.g. when I sent changes to RTC I ran rtc-test first.

Quoted 20 lines · Lars-Peter Clausen
Quoted 10 lines · Dylan Howey

Hi all,

The mma8452 driver supports MMA845x, MMA865x and FXLS8471Q devices.

The FXLS8471Q is unique among these devices in that it has the additional ability to measure temperature.

Currently there is no support in mma8452 to measure temperature when the device is FXLS8471Q. Would anyone be opposed to me adding support? I have hardware and would be able to test my changes.

Hi,

Support for new devices is always welcomed :)

If you have any questions about the IIO framework let us know.

- Lars

Signature · 1 line
Dylan
#3 lore raw
Quoted 3 lines · On Tue, 4 Feb 2020 10:35:17 -0600 Dylan Howey <[email protected]> wrote:

Any accel tests I should run before submitting changes? E.g. when I sent changes to RTC I ran rtc-test first.

We don't have a formal test suite yet. So normally just check the sysfs files return what you expect + if the driver supports it, checkout buffered mode using iio_generic_buffer in tools/iio

Make sure it'll do buffered capture with and without temp (if that is supported by your patches - often temp is captured via a different path to other channels, so its fine if not)

Jonathan

Quoted 22 lines · Lars-Peter Clausen
Quoted 20 lines · Dylan Howey
Quoted 10 lines

Hi all,

The mma8452 driver supports MMA845x, MMA865x and FXLS8471Q devices.

The FXLS8471Q is unique among these devices in that it has the additional ability to measure temperature.

Currently there is no support in mma8452 to measure temperature when the device is FXLS8471Q. Would anyone be opposed to me adding support? I have hardware and would be able to test my changes.

Hi,

Support for new devices is always welcomed :)

If you have any questions about the IIO framework let us know.

- Lars