acassis opened a new pull request, #20567:
URL: https://github.com/apache/nuttx/pull/20567
## Summary
This PR adds support to Murata SCL3300
## Impact
User will be able to use this sensor on NuttX
## Testing
```
nsh> scl3300test -n 0 all
WHOAMI: 0xc1 -> PASS
SELFTEST: 0 -> PASS
INFO inclinometer: Murata SCL3300 v1, 1.20 mA, range 90.0000, resolution
0.005493s
INFO accel: Murata SCL3300 v1, 1.20 mA, range 11.7828, resolution 0.0016365,
intes
READ:
200/200 samples, temperature 25.25 C
X: mean -1.6082 deg, stddev 0.02439 deg
Y: mean 0.0730 deg, stddev 0.02526 deg
Z: mean 88.3900 deg, stddev 0.02418 deg
MODE 1:
INFO inclinometer: Murata SCL3300 v1, 1.20 mA, range 90.0000, resolution
0.005493s
INFO accel: Murata SCL3300 v1, 1.20 mA, range 11.7828, resolution 0.0016365,
intes
200/200 samples, temperature 25.25 C
X: mean -1.6069 deg, stddev 0.01853 deg
Y: mean 0.0734 deg, stddev 0.01455 deg
Z: mean 88.3919 deg, stddev 0.01857 deg
MODE 2:
INFO inclinometer: Murata SCL3300 v1, 1.20 mA, range 90.0000, resolution
0.005493s
INFO accel: Murata SCL3300 v1, 1.20 mA, range 23.5656, resolution 0.0032730,
intes
200/200 samples, temperature 25.25 C
X: mean -1.6016 deg, stddev 0.02828 deg
Y: mean 0.0698 deg, stddev 0.02199 deg
Z: mean 88.3974 deg, stddev 0.02818 deg
MODE 3:
INFO inclinometer: Murata SCL3300 v1, 1.20 mA, range 90.0000, resolution
0.005493s
INFO accel: Murata SCL3300 v1, 1.20 mA, range 9.8190, resolution 0.0008182,
inters
200/200 samples, temperature 25.25 C
X: mean -1.6170 deg, stddev 0.00956 deg
Y: mean 0.0760 deg, stddev 0.00936 deg
Z: mean 88.3809 deg, stddev 0.00951 deg
MODE 4:
INFO inclinometer: Murata SCL3300 v1, 1.20 mA, range 90.0000, resolution
0.005493s
INFO accel: Murata SCL3300 v1, 1.20 mA, range 9.8190, resolution 0.0008182,
inters
200/200 samples, temperature 25.62 C
X: mean -1.6292 deg, stddev 0.00574 deg
Y: mean 0.2262 deg, stddev 0.00552 deg
Z: mean 88.3546 deg, stddev 0.00696 deg
MODE 1:
INFO inclinometer: Murata SCL3300 v1, 1.20 mA, range 90.0000, resolution
0.005493s
INFO accel: Murata SCL3300 v1, 1.20 mA, range 11.7828, resolution 0.0016365,
intes
200/200 samples, temperature 25.36 C
X: mean -1.6100 deg, stddev 0.02059 deg
Y: mean 0.0716 deg, stddev 0.01432 deg
Z: mean 88.3886 deg, stddev 0.02066 deg
MODE 5: rejected -> PASS
POWER: 100 power-down/wake-up cycles
POWER: 0 failures -> PASS
RESET: 0 -> PASS
READ:
200/200 samples, temperature 25.41 C
X: mean -1.5659 deg, stddev 0.03361 deg
Y: mean -0.2436 deg, stddev 0.03985 deg
Z: mean 88.4156 deg, stddev 0.03271 deg
ALL: PASS
nsh>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]