69
OSD3358-SM-RED
– User Guide
Rev. 1.0 9/19/2017
Octavo Systems LLC
Copyright 2017
o
tmp468
: Contains functions and definitions to interface with the temperature
sensor
5.3.1
Accessing peripherals using shell terminal
The RED peripheral library facilitates command line access to board features. The commands,
options and output formats are given below.
1.
rc_benchmark_algebra
Function
: This command performs several matrix and vector related benchmark tests
and returns the time taken to perform each test.
Options
:
-d: use default matrix size
-s {size}: specify matrix size
-h: Display help message
Result
:
2.
rc_calibrate_gyro
Function
: This command performs calibration of the gyro sensor in the IMU
Options
: None
Result
:
root@beaglebone:~$ rc_benchmark_algebra -d
Starting
3888us Time to make random matrix & vector
474us Time to duplicate matrix
10849us Time to multiply matrices
505 MFLOPS multiplying matrices
20217us Time to find matrix determinant
228666us Time to invert matrix
97589us Time to do LUP decomposition
950841us Time to do QR decomposition
11431us Time to solve linear system
DONE
root@beaglebone:~$ rc_calibrate_gyro
Starting calibration routine
gyro calibration file written
run rc_test_imu to check performance