NCP1840
Register Writes & Reads
The ability of the NCP1840 to allow the internal registers
to be both written and read provides the user with the benefit
of being able to easily verify correct register writes and
isolate system problem areas while troubleshooting. This
ability also allows users to configure the register values
according to desired LED performance, read these register
values from the part, and then store these settings in external
memory for future use. In addition, an over ? temperature
fault condition can also be read from a specific register,
allowing for diagnostic feedback to the system controller.
Write Protocol
The Write protocol that is used by the NCP1840 is
depicted in Figure 13. As can be seen, the Master initiates
the communication by issuing a START condition and then
by broadcasting the 7 ? bit part address of the NCP1840
followed by a Write operation request (0). The NCP1840
acknowledges the request and then the Master transmits the
address byte which consists of 3 ? bits of control data
followed by the 5 ? bit address of the register to be written to.
Upon successful receipt of the address byte, the NCP1840
acknowledges to the Master which then transmits the data
WRITE PROTOCOL USED BY NCP1840:
byte to be written. The NCP1840 then acknowledges the
received register data and the Master issues a STOP
condition to terminate the communication.
Read Protocol
The Read protocol that is used by the NCP1840 is depicted
in Figure 14. As can be seen, the Master initiates the
communication by issuing a START condition and then by
broadcasting the 7 ? bit part address of the NCP1840
followed by a Write operation request (0). This is because
the control bits need to first be set to 001 before a read
operation takes place. The NCP1840 acknowledges the
request and the Master then transmits the address byte which
consists of 001, for the 3 control bits, followed by the 5 ? bit
address of the register to be read from. Upon successful
receipt of the address byte, the NCP1840 acknowledges to
the Master which will then issue another START condition
followed by the 7 ? bit part address of the NCP1840 and a
Read operation request (1). The NCP1840 acknowledges
the request and then transmits the data byte to be read by the
Master. The NCP1840 then releases the SDA line and the
Master terminates the Read session by not acknowledging
the data byte and by issuing a STOP condition.
1
S
7
Part Address
1
W
1
A
3
Control Bits
5
Register Address
1
A
8
Register
Data
1
A
1
P
S = Start Condition, W = Write, A = Acknowledge, P = Stop Condition
START
Part Address
WRITE
Control Bits
Register Address
Register Data
STOP
0
0
1
1
0
1
1
0
ACK CB2 CB1 CB0
A4
A3
A2
A1
A0
ACK
D7
D6
D5
D4
D3
D2
D1
D0
ACK
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
Figure 13. NCP1840 Write Protocol
READ PROTOCOL USED BY NCP1840:
1
S
7
Part Address
1
W
1
A
3
Control Bits
5
Register
Address
1
A
8
S
7
Part Address
1
R
1
A
8
Register
Data Out
1
A
1
P
S = Start Condition, W = Write, R = Read, A = Acknowledge, A =No Acknowledge, P = Stop Condition
START
Part Address
WRITE
Control Bits
Register Address
START
Part Address
READ
Register Data Out
STOP
0
1
0
2
1
3
1
4
0
5
1
6
1
7
0
8
ACK
9
0
1
0
2
1
3
A4
4
A3
5
A2
6
A1
7
A0
8
ACK
9
0
1
0
2
1
3
1
4
0
5
1
6
1
7
1
8
ACK
9
D7
1
D6
2
D5
3
D4
4
D3
5
D2
6
D1
7
D0
8
ACK
9
Figure 14. NCP1840 Read Protocol
http://onsemi.com
9
相关PDF资料
NCP1910GEVB BOARD DEMO NCP1910DEMO-B-TLS
NCP3418BMNR2G IC MOSFET DRIVER DUAL 12V 10-DFN
NCP3418DR2 IC MOSFET DRIVER DUAL 12V 8-SOIC
NCP3420DR2G IC MOSFET DRIVER DUAL 12V 8-SOIC
NCP3488DR2G IC MOSFET DRVR DUAL 12V 8-SOIC
NCP5007SNT1 IC LED DRIVR WHT COMPACT 5TSOP
NCP5008DMR2 IC LED DRVR WHT BCKLT 10MICROSMD
NCP5010FCT1G IC LED DRVR WHT BCKLT 8-FLIPCHIP
相关代理商/技术参数
NCP1850FCCT1G 制造商:ON Semiconductor 功能描述:1.5A SWITCHING BATTERY CH - Tape and Reel 制造商:ON Semiconductor 功能描述:REEL - 1.5A SWITCHING BATTERY CH
NCP1851AFCCT1G 制造商:ON Semiconductor 功能描述:1.8A SWITCHING BATTERY CH - Tape and Reel 制造商:ON Semiconductor 功能描述:REEL / 1.8A SWITCHING BATTERY CH 制造商:ON Semiconductor 功能描述:LINEAR IC
NCP1851FCCT1G 功能描述:电池充电器 RoHS:否 制造商:Power-Sonic 化学性质:Sealed Lead Acid 输出电压:12 V 输出电流:500 mA 端接类型:Screw
NCP1852FCCT1G 制造商:ON Semiconductor 功能描述:BATTERY CHARGER - Tape and Reel
NCP18WB333E03RB 制造商:Murata Manufacturing Co Ltd 功能描述:LEADED NTC THERMISTOR
NCP18WB333E0SRB 制造商:Murata Manufacturing Co Ltd 功能描述:
NCP18WB333J03RB 功能描述:热敏电阻 - NTC 33K OHM 5% RoHS:否 制造商:EPCOS 电阻:10 kOhms 功率额定值:150 mW 容差:2 % 端接类型:Radial 系列:B57703M 工作温度范围:- 55 C to + 125 C
NCP18WB333J0SRB 制造商:Murata Manufacturing Co Ltd 功能描述: