CEVA hillcrestlabs FSM300 Usage Manual Download Page 3

 

June 2017 

Document 1000-4126 - FSM300 Tare Function Usage Guide - Revision 1.1 

 

www.ceva-dsp.com 

© 2019 CEVA, Inc.

  

All rights reserved

 

3 / 5

 

 

 

Report ID 

0xF2 

Command 

Request 

Sequence Number 

0x00 

 

Command 

0x03 

Tare Command 

P0 (Subcommand) 

0x00 

Tare Now 

P1 (Bitmap of Axes) 

0x07 

All 3 axes (X,Y,Z) 

P2 (Rotation Vector basis)  0x00 

Rotation Vector 

6-11 

Reserved 

0x00 

Reserved 

 

8.

 

Run the Persist Tare command with the following settings: 

Byte 

Name 

Value 

Description 

Report ID 

0xF2 

Command 

Request 

Sequence Number 

0x00 

 

Command 

0x03 

Tare Command 

P0 (Subcommand) 

0x01 

Persist Tare 

4-11 

Reserved 

0x00 

Reserved 

 

9.

 

This will save the current settings into the Sensor Orientation FRS config record (See SH-

2 Reference Manual Section 4.3.4).  Now these settings will be the default upon next 

boot. 

 

Set Current Forward Direction (User Tare)

 

 

In this example, the user is operating the device at their desk.  They want to define the forward 

orientation before starting a game, so all that needs to be done is tare the Z-axis (yaw): the other axes, 
which define “level” do not need to be changed from their previously established configuration.  This 
could be done via an on-screen GUI or button on the device.  Because only the Z-axis is being tared, the 
user does not need to align the device to North. 

1.

 

Ideally the sensors would be calibrated well by the following steps: 

a.

 

Power on the FSM300 and activate the Rotation Vector sensor. 

b.

 

Calibrate the magnetometer by rotating the device in a figure 8. 

c.

 

Set the device down for a few seconds so that the gyroscope ZRO can calibrate 

as well. 

2.

 

Position the device into your desired forward direction orientation. 

3.

 

Run the Tare Now command with the following settings: 

Byte 

Name 

Value 

Description 

Report ID 

0xF2 

Command 

Request 

Sequence Number 

0x00 

 

Command 

0x03 

Tare Command 

P0 (Subcommand) 

0x00 

Tare Now 

Summary of Contents for hillcrestlabs FSM300

Page 1: ...ntation into the Sensor Orientation configuration record This is a persistent setting that now becomes the default orientation Configuration Record o Sensor Orientation Stores the orientation of the device Once you know the standard orientation of your FSM300 in your device you can use the same starting orientation for all devices using this record as a convenient starting point More accurate per ...

Page 2: ...e device s orientation relative to North so follow steps 3 5 carefully 1 Power on the FSM300 and activate the Rotation Vector sensor 2 Calibrate the magnetometer by rotating the device in a figure 8 a To validate that the magnetometer is well calibrated you can look at the Rotation Vector s Accuracy Estimate field This value provides an estimate for how accurate the algorithm thinks it is in units...

Page 3: ...ser Tare In this example the user is operating the device at their desk They want to define the forward orientation before starting a game so all that needs to be done is tare the Z axis yaw the other axes which define level do not need to be changed from their previously established configuration This could be done via an on screen GUI or button on the device Because only the Z axis is being tare...

Page 4: ...on It is likely that when using the FSM300 on a production device the orientation of the sensor will be the same on many units Rather than taring each individual unit you can apply the Tare settings to any number of additional units by using the FRS Sensor Orientation configuration record General steps for this are listed below For further information about reading writing FRS records contact Hill...

Page 5: ... herein is believed to be accurate and reliable However the information is provided AS IS without any express or implied warranty of any kind including warranties of merchantability non infringement of intellectual property or fitness for any particular purpose In no event shall CEVA or its suppliers be liable for any claims and or damages whatsoever arising out of the use of or inability to use t...

Reviews: