Hi ,
I'm using the imx8qm-mek for development. As per the board specification it has the multiple sensor on board.. so i want to read those sensor data on yacto platform..
1. i was try to change the device tree file to enable and read the data by writing c file..
2. but don't have the prepare guides to follow and read the data from the on board sensor..
3. Another one method of reading data by using yacto sdk platform this method how to use.. please guide me to interface and read data..
#imx8
Hi,
Please make sure these configs are enabled in kernel defconfig.
To read the sensor data, please refer this case, access /sys/bus/iio/devices/iio\:device0/ node in sysfs.
https://community.nxp.com/t5/i-MX-Processors/How-to-read-iio-device-in-user-space/m-p/733081
Best Regards,
Zhiming