JAJSRN2 October 2023 ADC12DJ5200-SEP
PRODUCTION DATA
To make sure that system gain management has the quickest possible response time, a low-latency configurable over-range function is included. The over-range function works by monitoring the converted samples at the ADC to quickly detect if the ADC is near saturation or already in an over-range condition. The absolute value of the ADC data are checked against two programmable thresholds, OVR_T0 and OVR_T1. These thresholds apply to both channel A and channel B in dual-channel mode. Table 6-2 lists how an ADC sample is converted to an absolute value for a comparison of the thresholds.
ADC SAMPLE (Offset Binary) | ADC SAMPLE (2's Complement) | ABSOLUTE VALUE |
---|---|---|
1111 1111 (255) | 0111 1111(+127) | 111 1111 (127) |
1000 0000 (128) | 0000 0000 (0) | 0000 0000 (0) |
0001 0000 (16) | 1000 0001 0000 (–112) | 111 0000 (112) |
0000 0000 (0) | 1000 0000 0000 (–128) | 111 1111 (127) |
If the absolute value equal or exceed the OVR_T0 or OVR_T1 thresholds during the monitoring period, then the over-range bit associated with the threshold is set to 1; otherwise, the over-range bit is 0. In dual-channel mode, the over-range status can be monitored on the ORA0 and ORA1 pins for channel A and the ORB0 and ORB1 pins for channel B, where ORx0 corresponds to the OVR_T0 threshold and ORx1 corresponds to the OVR_T1 threshold. In single-channel mode, the over-range status for the OVR_T0 threshold is determined by monitoring both the ORA0 and ORB0 outputs and the OVR_T1 threshold is determined by monitoring both ORA1 and ORB1 outputs. In single-channel mode, the two outputs for each threshold must be OR'd together to determine whether an over-range condition occurred. OVR_N can be used to set the output pulse duration from the last over-range event. Table 6-3 lists the over-range pulse lengths for the various OVR_N settings.
OVR_N | OVERRANGE PULSE LENGTH SINCE LAST OVERRANGE EVENT (DEVCLK Cycles) |
---|---|
0 | 8 |
1 | 16 |
2 | 32 |
3 | 64 |
4 | 128 |
5 | 256 |
6 | 512 |
7 | 1024 |
Typically, the OVR_T0 threshold can be set near the full-scale value (228 for example). When the threshold is triggered, a typical system can turn down the system gain to avoid clipping. The OVR_T1 threshold can be set much lower. For example, the OVR_T1 threshold can be set to 64 (peak input voltage of −12 dBFS). If the input signal is strong, the OVR_T1 threshold is tripped occasionally. If the input is quite weak, the threshold is never tripped. The downstream logic device monitors the OVR_T1 bit. If OVR_T1 stays low for an extended period of time, then the system gain can be increased until the threshold is occasionally tripped (meaning the peak level of the signal is above −12 dBFS).