13.22.7.5 GET_CFG_2
There is a GET_CFG_2 message that is sent by the Host dsPIC DSC to the MOSFET Gate Driver to retrieve the device Configuration Register #2. The GET_CFG_2 message format is indicated in Table 13-7 . The response is indicated in Table 13-8.
| Command | Byte | Bit | Value | Description |
|---|---|---|---|---|
SET_CFG_0 | 1 | 10000001 (81h) | Set Configuration Register 0 | |
2 | 7 | 0 | Reserved | |
6 | 0 | Reserved | ||
SET_CFG_0 | 5 | 0 | System enters Standby mode when OE = 0, SLEEP = 0 for more than 1 ms. | |
1 | System enters Sleep mode when OE = 0, SLEEP = 1 for more than 1 ms. | |||
4 | 0 | Reserved | ||
3 | 0 | Enable external MOSFET Undervoltage Lockout (default). | ||
1 | Disable external MOSFET Undervoltage Lockout. | |||
2 | 0 | Enable external MOSFET short-circuit detection (default). | ||
1 | Disable external MOSFET short-circuit detection. | |||
1:0 | 00 | Set external MOSFET overcurrent limit to 0.250V (default). | ||
01 | Set external MOSFET overcurrent limit to 0.500V. | |||
10 | Set external MOSFET overcurrent limit to 0.750V. | |||
11 | Set external MOSFET overcurrent limit to 1.000V. | |||
GET_CFG_0 | 1 | 10000010 (82h) | Get Configuration Register 0. | |
STATUS_0 | 1 | 10000101 (85h) | Get Status Register 0. | |
STATUS_1 | 1 | 10000110 (86h) | Get Status Register 1. |
| Command | Byte | Bit | Value | Description |
|---|---|---|---|---|
SET_CFG_2 | 1 | 10000111 (87h) | Set Configuration Register 2. | |
2 | 7:5 | 00h | Reserved | |
4:2 | — | Driver dead time (for PWMH /PWML inputs) | ||
000 | 2000 ns (default) | |||
001 | 1750 ns | |||
010 | 1500 ns | |||
011 | 1250 ns | |||
100 | 1000 ns | |||
101 | 750 ns | |||
110 | 500 ns | |||
111 | 250 ns | |||
1:0 | — | Driver blanking time (ignore switching current spikes) | ||
00 | 4 µs (default) | |||
01 | 2 µs | |||
10 | 1 µs | |||
11 | 500 ns | |||
GET_CFG_2 | 1 | 10001000 (88h) | Get Configuration Register 2. | |
GET_REV_ID | 1 | 10010000 (90h) | Get device hardware revision. | |
|
SET_CFG_0 |
1 |
7:0 |
00000001 (01h) |
Command not Acknowledged (response). |
|
01000001 (41h) |
Command Acknowledged (response). | |||
|
2 |
7 |
0 |
Reserved | |
|
6 |
0 |
Reserved | ||
|
5 |
0 |
System enters Standby mode when OE = 0, SLEEP = 0 for more than 1 ms. | ||
|
1 |
System enters Sleep mode when OE = 0, SLEEP = 1 for more than 1 ms. | |||
|
4 |
0 |
Reserved | ||
|
3 |
0 |
External MOSFET Undervoltage Lockout enabled (default). | ||
|
1 |
External MOSFET Undervoltage Lockout disabled. | |||
|
2 |
0 |
External MOSFET short-circuit detection enabled (default). | ||
|
1 |
External MOSFET short-circuit detection disabled. | |||
|
1:0 |
00 |
0.250V external MOSFET overcurrent limit (default) | ||
|
01 |
0.500V external MOSFET overcurrent limit | |||
|
10 |
0.750V external MOSFET overcurrent limit | |||
|
11 |
1.000V external MOSFET overcurrent limit | |||
|
GET_CFG_0 |
1 |
7:0 |
00000010 (02h) |
Command not Acknowledged (response). |
|
01000010 (42h) |
Command Acknowledged (response). | |||
|
2 |
7 |
0 |
Reserved | |
|
6 |
0 |
Reserved | ||
|
5 |
0 |
System enters Standby mode when OE = 0, SLEEP = 0 for more than 1 ms. | ||
|
1 |
System enters Sleep mode when OE = 0, SLEEP = 1 for more than 1 ms. | |||
|
4 |
0 |
Reserved | ||
|
3 |
0 |
External MOSFET Undervoltage Lockout enabled. | ||
|
1 |
External MOSFET Undervoltage Lockout disabled. | |||
|
2 |
0 |
External MOSFET short-circuit detection enabled. | ||
|
1 |
External MOSFET short-circuit detection disabled | |||
|
1:0 |
00 |
0.250V external MOSFET overcurrent limit | ||
|
01 |
0.500V external MOSFET overcurrent limit | |||
|
10 |
0.750V external MOSFET overcurrent limit | |||
|
11 |
1.000V external MOSFET overcurrent limit |
STATUS_0 | 1 | 7:0 | 00000101 (05h) | Command not Acknowledged (response). |
01000101 (45h) | Command Acknowledged (response). | |||
10000101 (85h) | Command sent to host (unsolicited). | |||
2 | 7:5 | 101 | Overtemperature Shutdown (OTSHDN) occurred. | |
100 | Overvoltage Shutdown (OVSHDN) occurred. | |||
011 | Sleep Shutdown (SLEEP) occurred. | |||
010 | Undervoltage Shutdown (UVSHDN) occurred. | |||
001 | Power-on Reset (POR) occurred. | |||
000 | Normal operation | |||
4 | 1 | Input Overvoltage (OVLOF), HVDD > 32V | ||
3 | 1 | Input Undervoltage (UVLOF), HVDD < 5.5V | ||
2 | 1 | Overtemperature (OTPF), TJ > +160°C | ||
1 | 1 | Overtemperature Warning (OTPW), TJ > +115°C | ||
0 | 0 | No Fault condition exists. | ||
1 | A Fault condition exists. | |||
STATUS_1 | 1 | 7:0 | 00000110 (06h) | Command not Acknowledged (response). |
01000110 (46h) | Command Acknowledged (response). | |||
10000110 (86h) | Command sent to host (unsolicited). | |||
2 | 7:4 | 0 | Reserved | |
3 | 1 | External MOSFET Overcurrent (XOCPF) detected. | ||
2 | 1 | External MOSFET Undervoltage Lockout (XUVLOF) | ||
1 | 0 | Reserved | ||
0 | 1 | VREG LDO Undervoltage Fault (VREGUVF) | ||
|
SET_CFG_2 | 1 | 7:0 | 00000111 (07h) | Command not Acknowledged (response). |
01000111 (47h) | Command Acknowledged (response). | |||
|
2 | 7:5 | 00h | Reserved | |
4:2 | — | Driver dead time (for PWMH /PWML inputs) | ||
000 | 2000 ns (default) | |||
001 | 1750 ns | |||
010 | 1500 ns | |||
011 | 1250 ns | |||
100 | 1000 ns | |||
101 | 750 ns | |||
110 | 500 ns | |||
111 | 250 ns | |||
|
1:0 | — | Driver blanking time (ignore Faults) | ||
00 | 4000 ns (default) | |||
01 | 2000 ns | |||
10 | 1000 ns | |||
11 | 500 ns | |||
|
GET_CFG_2 |
1 |
7:0 |
00001000 (08h) |
Command not Acknowledged (response). |
|
01001000 (48h) |
Command Acknowledged (response). | |||
|
2 |
7:5 |
00h |
Reserved | |
|
4:2 |
— |
Driver dead time (for PWMH /PWML inputs) | ||
|
000 |
2000 ns | |||
|
001 |
1750 ns | |||
|
010 |
1500 ns | |||
|
011 |
1250 ns | |||
|
100 |
1000 ns | |||
|
101 |
750 ns | |||
|
110 |
500 ns | |||
|
111 |
250 ns | |||
|
1:0 |
— |
Driver blanking time (ignore Faults) | ||
|
00 |
4000 ns | |||
|
01 |
2000 ns | |||
|
10 |
1000 ns | |||
|
11 |
500 ns | |||
|
GET_REV_ID |
1 |
7:0 |
00010000 (10h) |
Command not Acknowledged (response). |
|
01010000 (50h) |
Command Acknowledged (response). | |||
|
2 |
7:3 |
00h |
Reserved | |
|
2:0 |
00h-07h |
Device hardware revision |
