Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

OIS Driver User Guide

Introduction

The OIS driver plugin is used to control the LC898122AXA OIS module. It provides control for quite a few features of the OIS module. These features are explained in this user guide.
This module has been enabled with the AR2520 and the AR1335 sensors so far. If your sensor is not supported, this plugin will not show up in the Plug-ins menu. To add new sensors, please contact the dev team.
To Start the OIS Driver plugin, start DevWare/DevWareX application and load the sensor data file for the sensor. Load the INI preset required, and get the sensor to stream. Then go to Plug-ins->OIS Driver.
The following window comes up.

Figure 1 OIS Driver Plugin Dialog

OIS Driver Features

Initialize OIS Driver Button – Click this to initialize the OIS module.

Calibration Data

The EEPROM is used to store the Calibration data. The user can enter the EEPROM slave address and start address from which to load the EEPROM data. It is assumed that the EEPROM data is stored in the following format. If the format of the calibration data stored in the EEPROM changes, please contact the dev team.

Data Addr

Data

Explanation

 

 

 

 

 

0x00

0x4C

Pattern (MSB)

 

 

 

 

 

0x01

0x43

Pattern-2

 

 

 

 

 

0x02

0x38

Pattern-3

 

 

 

 

 

0x03

0x39

Pattern (LSB)

 

 

 

 

 

0x04

0xCC

Hall offset X (MSB)

 

 

 

 

 

0x05

0x3A

Hall offset X (LSB)

 

 

 

 

 

0x06

0xE7

Hall offset Y (MSB)

 

 

 

 

 

0x07

0xD6

Hall offset Y (LSB)

 

 

 

 

 

0x08

0xF5

Hall bias X (MSB)

 

 

 

 

 

0x09

0x00

Hall bias X (LSB)

 

 

 

 

 

0x0A

0xE0

Hall bias Y (MSB)

 

 

 

 

 

0x0B

0x00

Hall bias Y (LSB)

 

 

 

 

 

0x0C

0x07

Hall AD offset X (MSB)

 

 

 

 

 

0x0D

0xE7

Hall AD offset X (LSB)

 

 

 

 

 

0x0E

0x04

Hall AD offset Y (MSB)

 

 

 

 

 

0x0F

0xC0

Hall AD offset Y (LSB)

 

 

 

 

 

0x10

0x27

Loop gain X (MSB)

 

 

 

 

 

0x11

0xA2

Loop gain X (LSB)

 

 

 

 

 

0x12

0x26

Loop gain Y (MSB)

 

 

 

 

 

0x13

0x6B

Loop gain Y (LSB)

 

 

 

 

 

0x14

0x00

Optical center X (MSB)

 

 

 

 

 

0x15

0x00

Optical center X (LSB)

 

 

 

 

 

0x16

0x00

Optical center Y (MSB)

 

 

 

 

 

0x17

0x00

Optical center Y (LSB)

 

 

 

 

 

0x18

0xFF

Gyro offset X (MSB)

 

 

 

 

 

0x19

0xFF

Gyro offset X (LSB)

 

 

 

 

 

0x1A

0xFF

Gyro offset Y (MSB)

 

 

 

 

 

0x1B

0xFF

Gyro offset Y (LSB)

 

 

 

 

 

0x1C

0x4C

OSC value

 

 

 

 

 

0x1D

0xBF

Gyro gain X [31 : 24]

 

 

 

 

 

0x1E

0x14

Gyro gain X [23 : 16]

 

 

 

 

 

0x1F

0x7B

Gyro gain X [15 : 8]

 

 

 

 

 

0x20

0x00

Gyro gain X [7 : 0]

 

 

 

 

 

0x21

0x3F

Gyro gain Y [31 : 24]

 

 

 

 

 

0x22

0x14

Gyro gain Y [23 : 16]

 

 

 

 

 

0x23

0x7B

Gyro gain Y [15 : 8]

 

 

 

 

 

0x24

0x00

Gyro gain Y [7 : 0]

 

 

 

 

 


Slave Address – Enter the slave address of the EEPROM.
Start Address – Enter the start address at which the contents are stored. The first 4 bytes must be the pattern mentioned above, if the EEPROM data is valid.
Load Calibration Data Button – Click this button after entering the Slave and Start addresses, to load calibration data from the EEPROM to the OIS module.

OIS Control

There are two modes of OIS control, automatic and manual.
Manual Control
The default is manual control. It exposes two sliders, one for X direction, and other for Y direction. Slide these to see the lens moving in X and Y direction respectively. The hall sensor values can also be accessed by clicking the "Read values" button. The range for this data is -0.4 to + 0.4.
Auto OIS
This enables the OIS module in the LC898122. User can select movie mode or still mode using the radio buttons.

Focus control

This plugin provides manual focus control. There are two types of VCM drive supported with the LC898122 module, i.e. differential and single ended. Select the appropriate value. Please note that this re-initializes the OIS module. You have to reload Calibration data, if you are not using the default values.
After selecting the VCM drive, control the lens position with the slider.

Test Gyro

This plugin also provides a way to test the Gyro. Click this button to run the test. The status will show up below.

Figure 2 Gyro Test Succeeded

  • No labels