Data Sheet

Changing the I2C Bus Address
To change the I2C address of the CMPS14 you must have only one module on the bus. Write the 3 sequence
commands in the correct order followed by the address with 20ms between writes. Example; to change the
address of a compass currently at 0xC0 (the default shipped address) to 0xC2, write the following to the
command register 0 at address 0xC0: (0xA0, 0xAA, 0xA5, 0xC2 ) with a 20ms delay after each of the first three
bytes. These commands must be sent in the correct sequence to change the I2C address, additionally, No other
command may be issued in the middle of the sequence. The sequence must be sent to the command register at
location 0, which means 4 separate write transactions on the I2C bus. When the CMPS14 is re-powered will
flash its address out on the LED.
Address
flashes
Decimal Hex
192 C0 1
194 C2 2
196 C4 3
198 C6 4
200 C8 5
202 CA 6
204 CC 7
206 CE 8
Take care not to set more than one device to the same address, there will be a bus collision and very
unpredictable results.