beautypg.com

Eeprom spi read – Ocean Optics EMBED2000+ User Manual

Page 10

background image

EMBED2000+ Data Sheet

10

029-20000-005-05-201305


EEPROM SPI Read

The EMBED2000+ contains a separate 4kb SPI EEPROM that is populated with spectrometer
calibration data. Below is an example for a single byte read. Please see the device datasheet for
complete timing and operation information.

Starting at address 0x000, the calibration data is parsed as follows:

COEF_SERIAL

0x000 – 0x00F

COEF_ICEP

0x010 – 0x01F

COEF_C1

0x020 – 0x02F

COEF_C2

0x030 – 0x03F

COEF_C3

0x040 – 0x04F

COEF_STRAY

0x050 – 0x05F

COEF_NL0

0x060 – 0x06F

COEF_NL1

0x070 – 0x07F

COEF_NL2

0x080 – 0x08F

COEF_NL3

0x090 – 0x09F

COEF_NL4

0x0A0 – 0x0AF

COEF_NL5

0x0B0 – 0x0BF

COEF_NL6

0x0C0 – 0x0CF

COEF_NL7

0x0D0 – 0x0DF

COEF_NLORDER

0x0E0 – 0x0EF

COEF_CONFIG1

0x0F0 – 0x0FF

COEF_CONFIG2

0x100 – 0x10F

COEF_OFFSET

0x110 – 0x11F

COEF_SERIAL contains ASCII bytes of the spectrometer serial number.

COEF_ICEP through COEF_C3 are stored in ASCII format and are described using scientific
notation. For example, -0.00000000000000123 is interpreted as (-1.23e-15) and is stored as (2D 31
2E 32 33 65 2D 31 35). ICEP is the x-axis intercept, through C3 as the third order coefficient to
convert discrete pixels into wavelengths.

COEF_NL0 – 7 are coefficients for a 7

th

order polynomial to correct for detector non-linearity.

COEF_CONFIG1 and CONFIG2 are set by Ocean Optics and are for manufacturing use only.