I am working on an autonomous robot with Jetson Nano and I need to read the RPM signal coming from a brushless motor phase sensor. At the moment I am using the J15 pin for reading the RPM signal and I am reading the /sys/devices/pwm-fan/rpm_measured file for the measurement. However, I am getting measurements in 1 Hz which is slow for my application.
I wonder if someone knows what is the update rate of the rpm_measurement in /sys files. Does the limitation come from the sensor refresh rate or update rate of /sys files?
Thanks in advance!