background image

I2C Protocol Information

The sensor module has a 7-bit slave address with a default value of 0x62 in hexadecimal notation. The effective 8 bit I2C address is 

0xC4 write, 0xC5 read. The device will not respond to a general call.
The last NACK in the read is optional, but the formal I2C protocol states that the master shall not acknowledge the last byte.

I2C Protocol Operation

This protocol description uses the term 

master

 to refer to the 

host controller, and the term 

LIDAR device

 to refer to the 

LIDAR-Lite v4 LED device acting as a slave on the I2C bus.
When working with the I2C serial bus protocol, the LIDAR 

device operates as follows.

1

The master initiates data transfer by establishing a start 

condition, which consists of a high-to-low transition on the 

SDA line while SCL is high.

2

The master sends an address byte, which consists of the 7-

bit slave address.

3

The master sends a read/write bit with a zero state, which 

indicates a write request. A write operation is used as the 

initial stage of both read and write transfers.

4

If the slave address corresponds to the LIDAR device 

address, the LIDAR device responds by pulling SDA low 

during the ninth clock pulse. This operation is considered the 

acknowledge bit. At this stage, all other devices on the bus 

remain idle while the selected LIDAR device waits for data to 

be written to or read from its shift register.

5

Data transmits over the serial bus in sequences of nine clock 

pulses (eight data bits followed by an acknowledge bit). 

These transmissions must occur on the SDA line during the 

low period of SCL and remain stable during the high period of 

SCL.

6

The master sends an 8-bit data byte following the slave 

address, which loads the I2C control register on the LIDAR 

device with the address of the first control register to be 

accessed.

7

The master requests a read operation from the LIDAR device 

or sends a write operation to the LIDAR device.

Read Operation

After the master establishes communication with the LIDAR 

device, you can obtain a reading from the LIDAR device.

1

The first data frame sets the address of the desired read 

register.

2

The master sends a stop bit at the completion of the first data 

frame.

3

The master initiates a new start condition, which consists of 

the slave I2C device address with the read bit set (one state).

4

The LIDAR device sends an acknowledge bit to the master 

when it receives a valid address.

4

Содержание LIDAR-LITE V4 LED

Страница 1: ...in 10 6 mm 0 42 in 24 03 mm 0 95 in 1 mm 0 04 in 18 mm 0 71 in 21 35 mm 0 84 in 21 2 mm 0 83 in Mounting Options Cable tie You can secure the device to your application using a 3 6 mm 0 14 in wide cab...

Страница 2: ...the sequence again Interface Initialization When you turn on or reset the device it performs a self test sequence and initializes all registers with default values After roughly 22 ms you can take dis...

Страница 3: ...ing Wirelessly Using ANT Before you can connect to the LIDAR Lite v4 LED using ANT you must complete these tasks Install Windows 7 Service Pack 1 or higher on your PC Install Net Framework 4 5 or high...

Страница 4: ...LIDAR device responds by pulling SDA low during the ninth clock pulse This operation is considered the acknowledge bit At this stage all other devices on the bus remain idle while the selected LIDAR...

Страница 5: ...C_ADDR Write new I2C address after unlock 0x1A page 6 0x1B W I2C_CONFIG Default address response control 0x00 0x1B page 6 0x1C R W DETECTION_SENSITIVITY Peak detection threshold bypass 0x00 0x1C page...

Страница 6: ...R UNIT_ID_2 Unit ID byte 2 W UNIT_ID_2_UNLOCK Write unit ID 2 for I2C address unlock Bit Function 7 0 Read byte two of the unit ID Write the value in UNIT_ID_2 here as part of enabling a non default...

Страница 7: ...is always OFF unless a distance measurement is requested or a register access is required 0x01 Synchronous Mode Distance measurement is tied to the ANT channel period The coprocessor is turned on and...

Страница 8: ...fter reprogramming the device you can follow the Bluetooth LE Secure DFU Bootloader reference design in the Nordic nRF5 SDK If a boot pin is required you should configure it to one of the exposed GPIO...

Страница 9: ...LED device still has the default application installed from the factory verify that you have the Garmin developer key selected If you have reprogrammed the device and you are using the public network...

Страница 10: ...2019 Garmin Ltd or its subsidiaries support garmin com...

Отзывы: