SLASEJ4C April 2017 – February 2023 PGA460
PRODUCTION DATA
#GUID-54184C33-17EB-4CC3-A362-14FF32720CA8/X4923 lists the PGA460 UART commands.
In the case where any command is improperly received by the PGA460 device, for example a wrong command, wrong number of bytes, or wrong data byte values, then the PGA460 device does not execute on the received command or set the Error_Status[4] bit described in the Diagnostic Field section.
CMD[4:0] | COMMAND NAME | PGA460 RESPONSE | C-TO-P DATA BYTES | CONTROLLER-TO-PERIPHERAL
DATA BYTES DESCRIPTION | P-TO-C DATA BYTES | PERIPHERAL-TO-CONTROLLER
DATA BYTES DESCRIPTION |
---|---|---|---|---|---|---|
SINGLE ADDRESS | ||||||
0 | Burst and listen (Preset1) | No | 1 | Byte1: N - Number of objects to be detected (valid range is from 1 to 8) | 0 | |
1 | Burst and listen (Preset2) | No | 1 | 0 | ||
2 | Listen only (Preset1) | No | 1 | 0 | ||
3 | Listen only (Preset2) | No | 1 | 0 | ||
4 | Temperature and noise-level measurement | No | 1 | Byte1: 0 - Temperature measurement 1 - Noise Measurement 2–255 - Not used | 0 | |
5 | Ultrasonic measurement result(4)(5) | Yes | 0 | 4 × N | Byte1–Byte2: Object 1 time-of-flight (µs) (MSB, LSB) Byte3: Object 1 width Byte4: Object 1 peak amplitude . . Byte(3 × N – 3) – Byte(3 × N – 2): Object N time-of-flight (µs) (MSB, LSB) Byte(4 × N – 1): Object N width Byte(4 × N): Object N peak amplitude | |
6 | Temperature and noise level result | Yes | 0 | 2 | Byte1: Temperature value Byte2: Noise level value | |
7 | Transducer echo data dump | Yes | 0 | 128 | Byte1–Byte128: Echo data dump (array of 128 samples) | |
8 | System diagnostics(3) | Yes | 0 | 2 | Byte1: Transducer frequency Byte2: Decay period time | |
9 | Register read | Yes | 1 | Byte1: Register address | 1 | Byte1: Register data |
10 | Register write(2) | No | 2 | Byte1: Register address Byte2: Register data | 0 | |
11 | EEPROM bulk read | Yes | 0 | 43 | Byte1: USER_DATA1 data . . Byte43: P2_GAIN_CTRL data | |
12 | EEPROM bulk write(1) | No | 43 | Byte1: USER_DATA1 data . . Byte43: P2_GAIN_CTRL data | 0 | |
13 | Time-varying-gain bulk read | Yes | 0 | 7 | Byte1–Byte6 : TVGAIN0 - TVGAIN6 data | |
14 | Time-varying-gain bulk write(1) | No | 7 | Byte1–Byte6: TVGAIN0 - TVGAIN6 data | 0 | |
15 | Threshold bulk read | Yes | 0 | 32 | Byte1–Byte32: P1_THR_0 - P2_THR_15 data | |
16 | Threshold bulk write(1) | No | 32 | Byte1–Byte28: 1_THR_0 - 2_THR_15 data | 0 | |
BROADCAST | ||||||
17 | Burst and listen (Preset1) | No | 1 | Byte1: N - Number of objects to be detected (valid range is from 1 to 8) | 0 | |
18 | Burst and listen (Preset2) | No | 1 | 0 | ||
19 | Listen only (Preset1) | No | 1 | 0 | ||
20 | Listen only (Preset2) | No | 1 | 0 | ||
21 | Temperature and noise-level measurement | No | 1 | Byte1: 0 - Temperature measurement 1 - Noise measurement 2–255 - Not used | 0 | |
22 | Register write(2) | No | 2 | Byte1: Register address Byte2: Register data | 0 | |
23 | EEPROM bulk write(1) | No | 43 | Byte1: USER_DATA1 data . . Byte43: P2_GAIN_CTRL data | 0 | |
24 | Time-varying-gain bulk write(1) | No | 7 | Byte1–Byte6: TVGAIN0 - TVGAIN6 data | 0 | |
25 | Threshold bulk write | No | 32 | Byte1–Byte32: 1_THR_0 - 2_THR_15 | 0 | |
26–31 | RESERVED | No |