Chapter 6 Working With Cm50; Serial Command Interface; Read-Out A Register; Read-Out Adjacent Registers - Newland NLS-CM50 Integration Manual

Area imaging engine
Table of Contents

Advertisement

Serial Command Interface

2
I
C serial controls the configuration read-write on the engine, so as to control the engine`s operating modes.
2
I
C serial command presents the internal register in 8-bit. When the engine is in slave device mode, 0x24 is used as write-in address
while 0x25 as read-out address. The engine supports reading multiple registers at one time.

Read-out a Register

E.g.Read from register 0xFD, returned value 0x01.
1
2
Master
ADDR
Start
0x24
CM50

Read-out Adjacent Registers

E.g. Read from register 0xF0,0xF1,0xF2, returned value 0x01,0x05,0x76.
1
2
Master
ADDR
Start
0x24
CM50

Write-in a Register

E.g. Write to register0xFD with value 0x03.
1
Master
Start
CM50
15

Chapter 6 Working with CM50

3
4
REG
ACK
0xfd
3
4
5
6
REG
ACK
ACK
Start
0xf0
2
3
ADDR
ACK
0x24
5
6
7
ADDR
ACK
Start
0x25
7
8
9
ADDR
ACK
0x01
ACK
0x25
4
5
REG
ACK
0xfd
8
9
ACK
0x01
NACK
10
11
12
13
0x05
ACK
0x76
6
7
0x03
ACK
10
11
Stop
14
15
NACK
Stop
8
Stop

Advertisement

Table of Contents
loading

Table of Contents