User manual
AREXX Engineering & JM3 Engineering
Version: 1.03 Nov 1
st
, 2014 page: 6
Manual
1. Connecting to ASURO xTend Board
The module will be simply plug in to the K3 connector on the ASURO xTend board. There is no
voltage regulator on the module. Attention a wrong voltage can damage the module!
1.1. PIN OUT Compass / Gyro Module
PIN 1 = VDD_3.3
PIN 2 = DENG
PIN 3 = INTG
PIN 4 = INT2
PIN 5 = INT1
PIN 6 = n/c
PIN 7 = SCA
PIN 8 = SCL
PIN 9 = DRDY
PIN 10 = GND
PIN1 Pin10
2. Software
The data access and initialization works over I2C Bus (for details on registers and functions refer to
the datasheet of the LSM9D0.
To enable the display function you have to make a change the Makefile - in the Global Defines section
you should have IOEXT_NAV defined.
# Global Defines
#
# Enable demo program for connected sensor module.
DEFINES = IOEXT_NAV
2.1. Writing to the Sensor
Principle way of writing data to I2C modules.
/**********************************************************************\
* write data to the sensor (generalized description)
\**********************************************************************/
master.TransmitBytes(I2C Addr, Register | AUTO_INC, Data Byte1, Data Byte2);










