English
Language : 

L99MC6GJ Datasheet, PDF (37/55 Pages) STMicroelectronics – Automotive configurable 6-channel device
L99MC6GJ
SPI control and status register
9.4
9.4.1
Examples
Example 1:Switch on channel 1
It is assumed that the charge pump is already activated (ENCP1 = 1 and DISCP2 = 0, POR
default)
Table 31. Command byte - example 1
MSB
LSB
Operating code
Address
0
0
0
0
0
0
1
0
Table 32. Data byte - example 1
MSB
LSB
0
0
0
0
0
0
0
1
From Table 31 and Table 32 follow that the value 01h is written at RAM address 02h (control
register 2).
Table 33 describe more in detail the data byte structure.
Table 33. Data byte description - example 1
DISCP
CH4
[2]
CH4
[1]
CH4
[0]
Bridge
1&4
CH1
[2]
CH1
[1]
CH1
[0]
0
0
0
0
0
0
0
1
Hereafter the actions linked to each value of bit or group of bits:
 DISCP = 0: Charge pump stays activated
 CH4[2:0] = 000b: Channel 4 is off, open-load detection in off-state disabled
 BRIDGE_1&4 = 0: Bridge mode disabled
 CH4[2:0] = 001b: Channel 1 is on, high slew rate, PWM not activated, overcurrent
recovery deactivated.
DocID026835 Rev 3
37/55
52