# Test sensors on the Dragonwing RB3 Gen 2 Development Kit

Use the sensor test application to validate the streaming of accelerometer,
gyroscope, magnetometer, and pressure sensors. By default, the
`ssc_drva_test` tool is built under the `/usr/bin/` directory on the device.

## Test the accelerometer and gyroscope sensors on the Core and Vision Kits

The following is an example command for the accelerometer sensor:

> 
> 
> ssc_drva_test -sensor=accel -duration=5 -sample_rate=500
>     Copy to clipboard

The following snippet shows the output of the above command, which allows the accelerometer sensor for 5 sec at 500 Hz sample rate in the Streaming mode.

root@qcm6490:~# ssc_drva_test -sensor=accel -duration=5 -sample_rate=500
    6 ssc_drva_test version 1.27k
    6 ssc_drva_test -sensor=accel -duration=5 -sample_rate=500
    diag: Diag_LSM_Init: invoked for pid: 1141 with init_count: 0
    diag:successfully connected to socket 3
    diag: Diag_LSM_Init: done for pid: 1141 with init_count: 1
    6 event_cb attribute event for da_test
    6 event_cb attribute event for da_test
    6 using da_test name=da_test, suid = [high addeaddeaddeadde, low addeaddeaddeadde
    6 enter send_memory_log_req cookie: 6
    6 exit send_memory_log_req
    6 enter da_test runner. -rumifact=1
    6 -time_to_first_event=233206
    6 -time_to_last_event=-20008
    6 -sample_ts=50267544823
    6 -total_samples=2528
    6 -avg_delta=37875
    6 -recvd_phy_config_sample_rate=500
    6 -random_seed_used=2926886043
    6 -num_request_sent=2
    6 -first_sample_timestamp=50171775915
    6 received event: PASS
    6 enter send_memory_log_req cookie: 6
    6 exit send_memory_log_req
    6 PASS
    Copy to clipboard

As per the above example output, the `accel` sensor is enabled at 500 Hz and receives 2528 acceleration samples during the test.

The sensor hardware runs only at certain sample rates described in the sensor hardware data sheet. For example, if the command is modified to request the `accel` data at 480 Hz, the `accel` sensor still operates at 500 Hz.

The following command allows the gyroscope sensor for 5 sec at 500 Hz sample rate in the Streaming mode:

> 
> 
> ssc_drva_test -sensor=gyro -duration=5 -sample_rate=500
>     Copy to clipboard

## Test the magnetometer and pressure sensors on the Vision Kit

The following command allows the magnetometer sensor for 5 sec at 100 Hz sample rate in the Streaming mode:

> 
> 
> ssc_drva_test -sensor=mag -duration=5 -sample_rate=100
>     Copy to clipboard

The following command allows the pressure sensor for 5 sec at 25 Hz sample rate in the Streaming mode:

> 
> 
> ssc_drva_test -sensor=pressure -duration=5 -sample_rate=25
>     Copy to clipboard

For troubleshooting common issues, see [Troubleshoot sensors](https://docs.qualcomm.com/doc/80-70023-7/topic/debug.html#debug).

Next steps

- [Bring up sensors](https://docs.qualcomm.com/doc/80-70023-7/topic/bringup_sensors.html#bringup-sensors)

Last Published: Dec 02, 2025

[Previous Topic
Enable sensors on the Dragonwing RB3 Gen 2 Development Kit](https://docs.qualcomm.com/bundle/publicresource/80-70023-7/topics/set_up_sensors.md) [Next Topic
Bring up sensors](https://docs.qualcomm.com/bundle/publicresource/80-70023-7/topics/bringup_sensors.md)