ZHCSCL7C May 2014 – April 2021 AFE4403
PRODUCTION DATA
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | SW_RST | DIAG_EN | TIM_ COUNT_ RST | SPI_ READ |
This register is write-only. CONTROL0 is used for AFE software and count timer reset, diagnostics enable, and SPI read functions.
Bits 23:4 | Must be 0 |
Bit 3 | SW_RST: Software reset |
0 = No action (default after reset) 1 = Software reset applied; resets all internal registers to the default values and self-clears to 0 | |
Bit 2 | DIAG_EN: Diagnostic enable |
0 = No action (default after reset) 1 = Diagnostic mode is enabled and the diagnostics sequence starts when this bit is set. At the end of the sequence, all fault status are stored in the DIAG: Diagnostics Flag Register. Afterwards, the DIAG_EN register bit self-clears to 0. Note that the diagnostics enable bit is automatically reset after the diagnostics completes (16 ms). During the diagnostics mode, ADC data are invalid because of the toggling diagnostics switches. | |
Bit 1 | TIM_CNT_RST: Timer counter reset |
0 = Disables timer counter reset, required for normal timer operation (default after reset) 1 = Timer counters are in reset state | |
Bit 0 | SPI READ: SPI read |
0 = SPI read is disabled (default after reset) 1 = SPI read is enabled |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED2STC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2STC[15:0] |
This register sets the start timing value for the LED2 signal sample.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED2STC[15:0]: Sample LED2 start count |
The contents of this register can be used to position the start of the sample LED2 signal with respect to the pulse repetition period (PRP), as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED2ENDC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2ENDC[15:0] |
This register sets the end timing value for the LED2 signal sample.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED2ENDC[15:0]: Sample LED2 end count |
The contents of this register can be used to position the end of the sample LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED2LEDSTC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2LEDSTC[15:0] |
This register sets the start timing value for when the LED2 signal turns on.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED2LEDSTC[15:0]: LED2 start count |
The contents of this register can be used to position the start of the LED2 with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED2LEDENDC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2LEDENDC[15:0] |
This register sets the end timing value for when the LED2 signal turns off.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED2LEDENDC[15:0]: LED2 end count |
The contents of this register can be used to position the end of the LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED2STC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED2STC[15:0] |
This register sets the start timing value for the ambient LED2 signal sample.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED2STC[15:0]: Sample ambient LED2 start count |
The contents of this register can be used to position the start of the sample ambient LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED2ENDC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED2ENDC[15:0] |
This register sets the end timing value for the ambient LED2 signal sample.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED2ENDC[15:0]: Sample ambient LED2 end count |
The contents of this register can be used to position the end of the sample ambient LED2 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED1STC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1STC[15:0] |
This register sets the start timing value for the LED1 signal sample.
Bits 23:17 | Must be 0 |
Bits 16:0 | LED1STC[15:0]: Sample LED1 start count |
The contents of this register can be used to position the start of the sample LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED1ENDC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1ENDC[15:0] |
This register sets the end timing value for the LED1 signal sample.
Bits 23:17 | Must be 0 |
Bits 16:0 | LED1ENDC[15:0]: Sample LED1 end count |
The contents of this register can be used to position the end of the sample LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED1LEDSTC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1LEDSTC[15:0] |
This register sets the start timing value for when the LED1 signal turns on.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED1LEDSTC[15:0]: LED1 start count |
The contents of this register can be used to position the start of the LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED1LEDENDC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1LEDENDC[15:0] |
This register sets the end timing value for when the LED1 signal turns off.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED1LEDENDC[15:0]: LED1 end count |
The contents of this register can be used to position the end of the LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED1STC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED1STC[15:0] |
This register sets the start timing value for the ambient LED1 signal sample.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED1STC[15:0]: Sample ambient LED1 start count |
The contents of this register can be used to position the start of the sample ambient LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED1ENDC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED1ENDC[15:0] |
This register sets the end timing value for the ambient LED1 signal sample.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED1ENDC[15:0]: Sample ambient LED1 end count |
The contents of this register can be used to position the end of the sample ambient LED1 signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED2CONVST[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2CONVST[15:0] |
This register sets the start timing value for the LED2 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED2CONVST[15:0]: LED2 convert start count |
The contents of this register can be used to position the start of the LED2 conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED2CONVEND[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2CONVEND[15:0] |
This register sets the end timing value for the LED2 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED2CONVEND[15:0]: LED2 convert end count |
The contents of this register can be used to position the end of the LED2 conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED2CONVST[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED2CONVST[15:0] |
This register sets the start timing value for the ambient LED2 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED2CONVST[15:0]: LED2 ambient convert start count |
The contents of this register can be used to position the start of the LED2 ambient conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED2CONVEND[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED2CONVEND[15:0] |
This register sets the end timing value for the ambient LED2 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED2CONVEND[15:0]: LED2 ambient convert end count |
The contents of this register can be used to position the end of the LED2 ambient conversion signal with respect to the PRP. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED1CONVST[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1CONVST[15:0] |
This register sets the start timing value for the LED1 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED1CONVST[15:0]: LED1 convert start count |
The contents of this register can be used to position the start of the LED1 conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | LED1CONVEND[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1CONVEND[15:0] |
This register sets the end timing value for the LED1 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | LED1CONVEND[15:0]: LED1 convert end count |
The contents of this register can be used to position the end of the LED1 conversion signal with respect to the PRP. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED1CONVST[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED1CONVST[15:0] |
This register sets the start timing value for the ambient LED1 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED1CONVST[15:0]: LED1 ambient convert start count |
The contents of this register can be used to position the start of the LED1 ambient conversion signal with respect to the PRP, as specified in the PRPCOUNT register. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ALED1CONVEND[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED1CONVEND[15:0] |
This register sets the end timing value for the ambient LED1 conversion.
Bits 23:16 | Must be 0 |
Bits 15:0 | ALED1CONVEND[15:0]: LED1 ambient convert end count |
The contents of this register can be used to position the end of the LED1 ambient conversion signal with respect to the PRP. The count is specified as the number of 4-MHz clock cycles. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTSTCT0[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTSTCT0[15:0] |
This register sets the start position of the ADC0 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTSTCT0[15:0]: ADC RESET 0 start count |
The contents of this register can be used to position the start of the ADC reset conversion signal (default value after reset is 0000h). Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTENDCT0[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTENDCT0[15:0] |
This register sets the end position of the ADC0 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTENDCT0[15:0]: ADC RESET 0 end count |
The contents of this register can be used to position the end of the ADC reset conversion signal (default value after reset is 0000h). Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTSTCT1[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTSTCT1[15:0] |
This register sets the start position of the ADC1 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTSTCT1[15:0]: ADC RESET 1 start count |
The contents of this register can be used to position the start of the ADC reset conversion. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTENDCT1[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTENDCT1[15:0] |
This register sets the end position of the ADC1 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTENDCT1[15:0]: ADC RESET 1 end count |
The contents of this register can be used to position the end of the ADC reset conversion. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTSTCT2[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTSTCT2[15:0] |
This register sets the start position of the ADC2 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTSTCT2[15:0]: ADC RESET 2 start count |
The contents of this register can be used to position the start of the ADC reset conversion. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTENDCT2[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTENDCT2[15:0] |
This register sets the end position of the ADC2 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTENDCT2[15:0]: ADC RESET 2 end count |
The contents of this register can be used to position the end of the ADC reset conversion. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTSTCT3[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTSTCT3[15:0] |
This register sets the start position of the ADC3 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTSTCT3[15:0]: ADC RESET 3 start count |
The contents of this register can be used to position the start of the ADC reset conversion. Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ADCRSTENDCT3[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ADCRSTENDCT3[15:0] |
This register sets the end position of the ADC3 reset conversion signal.
Bits 23:16 | Must be 0 |
Bits 15:0 | ADCRSTENDCT3[15:0]: ADC RESET 3 end count |
The contents of this register can be used to position the end of the ADC reset conversion signal (default value after reset is 0000h). Refer to the Using the Timer Module section for details. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | PRPCOUNT[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PRPCOUNT[15:0] |
This register sets the device pulse repetition period count.
Bits 23:16 | Must be 0 |
Bits 15:0 | PRPCOUNT[15:0]: Pulse repetition period count |
The contents of this register can be used to set the pulse repetition period (in number of clock cycles of the 4-MHz clock). The PRPCOUNT value must be set in the range of 800 to 64000. Values below 800 do not allow sufficient sample time for the four samples; see the Electrical Characteristics table. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | TIMEREN | NUMAV[7:0] |
This register configures the clock alarm pin and timer.
Bits 23:9 | Must be 0 |
Bit 8 | TIMEREN: Timer enable |
0 = Timer module is disabled and all internal clocks are off (default after reset) 1 = Timer module is enabled | |
Bits 7:0 | NUMAV[7:0]: Number of averages |
Specify an 8-bit value corresponding to the number of ADC samples to be averaged – 1. For example, to average four ADC samples, set NUMAV[7:0] equal to 3. The maximum number of averages is 16. Any setting of NUMAV[7:0] greater than or equal to a decimal value of 15 results in the number of averages getting set to 16. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
This register is a spare register and is reserved for future use.
Bits 23:0 | Must be 0 |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ENSEP GAIN |
STAGE2EN1 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | STG2GAIN1[2:0] | CF_LED1[4:0] | RF_LED1[2:0] |
This register sets the device transimpedance amplifier gain mode and feedback resistor and capacitor values.
Bits 23:16 | Must be 0 | |
Bit 15 | ENSEPGAIN: Enable separate gain mode | |
0 = The RF, CF values and stage 2 gain settings are the same for both the LED2 and LED1 signals; the values are specified by the bits (RF_LED2, CF_LED2, STAGE2EN2, STG2GAIN2) in the TIA_AMB_GAIN register (default after reset) 1 = The RF, CF values and stage 2 gain settings can be independently set for the LED2 and LED1 signals. The values for LED1 are specified using the bits (RF_LED1, CF_LED1, STAGE2EN1, STG2GAIN1) in the TIAGAIN register, whereas the values for LED2 are specified using the corresponding bits in the TIA_AMB_GAIN register. | ||
Bit 14 | STAGE2EN1: Enable stage 2 for LED 1 | |
0 = Stage 2 is bypassed (default after reset) 1 = Stage 2 is enabled with the gain value specified by the STG2GAIN1[2:0] bits | ||
Bits 13:11 | Must be 0 | |
Bits 10:8 | STG2GAIN1[2:0]: Program stage 2 gain for LED1 | |
000 = 0 dB, or linear gain of 1 (default after reset) 001 = 3.5 dB, or linear gain of 1.5 010 = 6 dB, or linear gain of 2 011 = 9.5 dB, or linear gain of 3 | 100 = 12 dB, or linear gain of 4 101 = Do not use 110 = Do not use 111 = Do not use | |
Bits 7:3 | CF_LED1[4:0]: Program CF for LED1 | |
00000 = 5 pF (default after reset) 00001 = 5 pF + 5 pF 00010 = 15 pF + 5 pF | 00100 = 25 pF + 5 pF 01000 = 50 pF + 5 pF 10000 = 150 pF + 5 pF | |
Note that any combination of these CF settings is also supported by setting multiple bits to 1. For example, to obtain CF = 100 pF, set bits 7:3 = 01111. | ||
Bits 2:0 | RF_LED1[2:0]: Program RF for LED1 | |
000 = 500 kΩ (default after reset) 001 = 250 kΩ 010 = 100 kΩ 011 = 50 kΩ | 100 = 25 kΩ 101 = 10 kΩ 110 = 1 MΩ 111 = None |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | AMBDAC[3:0] | FLTR CNRSEL | STAGE2EN2 | 0 | 0 | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | STG2GAIN[2:0] | CF_LED2[4:0] | RF_LED2[2:0] |
This register configures the ambient light cancellation amplifier gain, cancellation current, and filter corner frequency.
Bits 23:20 | Must be 0 | |
Bits 19:16 | AMBDAC[3:0]: Ambient DAC value | |
These bits set the value of the cancellation current. | ||
0000 = 0 µA (default after reset) 0001 = 1 µA 0010 = 2 µA 0011 = 3 µA 0100 = 4 µA 0101 = 5 µA 0110 = 6 µA 0111 = 7 µA | 1000 = 8 µA 1001 = 9 µA 1010 = 10 µA 1011 = Do not use 1100 = Do not use 1101 = Do not use 1110 = Do not use 1111 = Do not use | |
Bit 15 | Must be 0 | |
Bit 14 | STAGE2EN2: Stage 2 enable for LED 2 | |
0 = Stage 2 is bypassed (default after reset) 1 = Stage 2 is enabled with the gain value specified by the STG2GAIN2[2:0] bits | ||
Bits 13:11 | Must be 0 | |
Bits 10:8 | STG2GAIN2[2:0]: Stage 2 gain setting for LED 2 | |
000 = 0 dB, or linear gain of 1 (default after reset) 001 = 3.5 dB, or linear gain of 1.5 010 = 6 dB, or linear gain of 2 011 = 9.5 dB, or linear gain of 3 100 = 12 dB, or linear gain of 4 101 = Do not use 110 = Do not use 111 = Do not use | ||
Bits 7:3 | CF_LED[4:0]: Program CF for LEDs | |
00000 = 5 pF (default after reset) 00001 = 5 pF + 5 pF 00010 = 15 pF + 5 pF | 00100 = 25 pF + 5 pF 01000 = 50 pF + 5 pF 10000 = 150 pF + 5 pF | |
Note that any combination of these CF settings is also supported by setting multiple bits to 1. For example, to obtain CF = 100 pF, set D[7:3] = 01111. | ||
Bits 2:0 | RF_LED[2:0]: Program RF for LEDs | |
000 = 500 kΩ 001 = 250 kΩ 010 = 100 kΩ 011 = 50 kΩ | 100 = 25 kΩ 101 = 10 kΩ 110 = 1 MΩ 111 = None |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | LED_RANGE[1:0] | LED1[7:0] | ||||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1[7:0] | LED2[7:0] |
This register sets the LED current range and the LED1 and LED2 drive current.
Bits 23:18 | Must be 0 |
Bits 17:16 | LED_RANGE[1:0]: LED range |
These bits program the full-scale LED current range for Tx. Table 8-9 details the settings. | |
Bits 15:8 | LED1[7:0]: Program LED current for LED1 signal |
Use these register bits to specify the LED current setting for LED1 (default after reset is 00h). The nominal value of the LED current is given by Equation 7, where the full-scale LED current is either 0 mA or 50 mA (as specified by the LED_RANGE[1:0] register bits). | |
Bits 7:0 | LED2[7:0]: Program LED current for LED2 signal |
Use these register bits to specify the LED current setting for LED2 (default after reset is 00h). The nominal value of LED current is given by Equation 8, where the full-scale LED current is either 0 mA or 50 mA (as specified by the LED_RANGE[1:0] register bits). |
LED_RANGE[1:0] | TX_REF = 0.25 V | TX_REF = 0.5 V | TX_REF = 0.75 V | TX_REF = 1.0 V | ||||
---|---|---|---|---|---|---|---|---|
IMAX | VHR(2) | IMAX | VHR | IMAX | VHR | IMAX | VHR | |
00 (default after reset) | 50 mA | 0.75 V | 100 mA | 1.1 V | Do not use | — | Do not use | — |
01 | 25 mA | 0.7 V | 50 mA | 1.0 V | 75 mA | 1.3 V | 100 mA | 1.6 V |
10 | 50 mA | 0.75 V | 100 mA | 1.1 V | Do not use | — | Do not use | — |
11 | Tx is off | — | Tx is off | — | Tx is off | — | Tx is off | — |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | DYNAMIC1 | 0 | TX_REF1 | TX_REF0 | 0 | 0 | DYNAMIC2 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TXBRG MOD | DIGOUT_ TRI STATE | XTAL DIS | EN_ SLOW_ DIAG | 0 | 0 | 0 | DYNAMIC3 | DYNAMIC4 | PDNTX | PDNRX | PDNAFE |
This register controls the LED transmitter, crystal, and the AFE, transmitter, and receiver power modes.
Bits 23:21 | Must be 0 |
Bit 20 | DYNAMIC1 |
0 = Transmitter is not powered down during dynamic power-down phase 1 = Transmitter is powered down during dynamic power-down phase | |
Bit 19 | Must be 0 |
Bits 18:17 | TX_REF[1:0]: Tx reference voltage |
These bits set the transmitter reference voltage. This Tx reference voltage is available on the device TX_REF pin. | |
00 = 0.25-V Tx reference voltage (default value after reset) 01 = 0.5-V Tx reference voltage 10 = 1.0-V Tx reference voltage 11 = 0.75-V Tx reference voltage, D3 | |
Bits 16:15 | Must be 0 |
Bit 14 | DYNAMIC2 |
0 = Part of the ADC is not powered down during dynamic power-down phase 1 = Part of the ADC is powered down during dynamic power-down phase | |
Bit 11 | TXBRGMOD: Tx bridge mode |
0 = LED driver is configured as an H-bridge (default after reset) 1 = LED driver is configured as a push-pull | |
Bit 10 | DIGOUT_TRISTATE: Tri-state bit for the ADC_RDY and DIAG_END pins |
0 = ADC_RDY and DIAG_END are not tri-stated 1 = ADC_RDY and DIAG_END are tri-stated | |
Bit 9 | XTALDIS: Crystal disable mode |
0 = The crystal module is enabled; the 8-MHz crystal must be connected to the XIN and XOUT pins 1 = The crystal module is disabled; an external 8-MHz clock must be applied to the XIN pin | |
Bit 8 | EN_SLOW_DIAG: Fast diagnostics mode enable |
0 = Fast diagnostics mode, 8 ms (default value after reset) 1 = Slow diagnostics mode, 16 ms | |
Bits 7:5 | Must be 0 |
Bit 4 | DYNAMIC3 |
0 = TIA is not powered down during dynamic power-down phase 1 = TIA is powered down during dynamic power-down phase | |
Bit 3 | DYNAMIC4 |
0 = The rest of the ADC is not powered down during dynamic power-down phase 1 = The rest of the ADC is powered down during dynamic power-down phase | |
Bit 2 | PDN_TX: Tx power-down |
0 = The Tx is powered up (default after reset) 1 = Only the Tx module is powered down | |
Bit 1 | PDN_RX: Rx power-down |
0 = The Rx is powered up (default after reset) 1 = Only the Rx module is powered down | |
Bit 0 | PDN_AFE: AFE power-down |
0 = The AFE is powered up (default after reset) 1 = The entire AFE is powered down (including the Tx, Rx, and diagnostics blocks) |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
This register is a spare register and is reserved for future use.
Bits 23:0 | Must be 0 |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
This register is a spare register and is reserved for future use.
Bits 23:0 | Must be 0 |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
This register is a spare register and is reserved for future use.
Bits 23:0 | Must be 0 |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
X(1) | X | X | X | X | X | X | X | X | X | X | X |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
X | X | X | X | X | X | X | X | X | X | X | X |
This register is reserved for factory use. Readback values vary between devices.
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
X(1) | X | X | X | X | X | X | X | X | X | X | X |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
X | X | X | X | X | X | X | X | X | X | X | X |
This register is reserved for factory use. Readback values vary between devices.
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
This register controls the alarm pin functionality.
Bits 23:0 | Must be 0 |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
LED2VAL[23:0] | |||||||||||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2VAL[23:0] |
Bits 23:0 | LED2VAL[23:0]: LED2 digital value |
This register contains the digital value of the latest LED2 sample converted by the ADC. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
ALED2VAL[23:0] | |||||||||||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED2VAL[23:0] |
Bits 23:0 | ALED2VAL[23:0]: LED2 ambient digital value |
This register contains the digital value of the latest LED2 ambient sample converted by the ADC. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
LED1VAL[23:0] | |||||||||||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1VAL[23:0] |
Bits 23:0 | LED1VAL[23:0]: LED1 digital value |
This register contains the digital value of the latest LED1 sample converted by the ADC. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
ALED1VAL[23:0] | |||||||||||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ALED1VAL[23:0] |
Bits 23:0 | ALED1VAL[23:0]: LED1 ambient digital value |
This register contains the digital value of the latest LED1 ambient sample converted by the ADC. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
LED2-ALED2VAL[23:0] | |||||||||||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED2-ALED2VAL[23:0] |
Bits 23:0 | LED2-ALED2VAL[23:0]: (LED2 – LED2 ambient) digital value |
This register contains the digital value of the LED2 sample after the LED2
ambient is subtracted. Note that this value is inverted when compared to waveforms shown in many publications. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
LED1-ALED1VAL[23:0] | |||||||||||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED1-ALED1VAL[23:0] |
Bits 23:0 | LED1-ALED1VAL[23:0]: (LED1 – LED1 ambient) digital value |
This register contains the digital value of the LED1 sample after the LED1
ambient is subtracted from it. Note that this value is inverted when compared to waveforms shown in many publications. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | PD_ALM |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
LED_ ALM |
LED2 OPEN |
LED1 OPEN |
LEDSC | OUTNSHGND | OUTPSHGND | PDOC | PDSC | INNSC GND |
INPSC GND |
INNSC LED |
INPSC LED |
This register is read only. This register contains the status of all diagnostic flags at the end of the diagnostics sequence. The end of the diagnostics sequence is indicated by the signal going high on DIAG_END pin.
Bits 23:13 | Read only |
Bit 12 | PD_ALM: Power-down alarm status diagnostic flag |
This bit indicates the status of PD_ALM . 0 = No fault (default after reset) 1 = Fault present | |
Bit 11 | LED_ALM: LED alarm status diagnostic flag |
This bit indicates the status of LED_ALM . 0 = No fault (default after reset) 1 = Fault present | |
Bit 10 | LED2OPEN: LED2 open diagnostic flag |
This bit indicates that LED2 is open. 0 = No fault (default after reset) 1 = Fault present | |
Bit 9 | LED1OPEN: LED1 open diagnostic flag |
This bit indicates that LED1 is open. 0 = No fault (default after reset) 1 = Fault present | |
This bit indicates that LED2 is open. 0 = No fault (default after reset) 1 = Fault present | |
Bit 8 | LEDSC: LED short diagnostic flag |
This bit indicates an LED short. 0 = No fault (default after reset) 1 = Fault present | |
Bit 7 | OUTNSHGND: OUTN to GND diagnostic flag |
This bit indicates that OUTN is shorted to the GND cable. 0 = No fault (default after reset) 1 = Fault present | |
Bit 6 | OUTPSHGND: OUTP to GND diagnostic flag |
This bit indicates that OUTP is shorted to the GND cable. 0 = No fault (default after reset) 1 = Fault present | |
Bit 5 | PDOC: PD open diagnostic flag |
This bit indicates that PD is open. 0 = No fault (default after reset) 1 = Fault present | |
Bit 4 | PDSC: PD short diagnostic flag |
This bit indicates a PD short. 0 = No fault (default after reset) 1 = Fault present | |
Bit 3 | INNSCGND: INN to GND diagnostic flag |
This bit indicates a short from the INN pin to the GND cable. 0 = No fault (default after reset) 1 = Fault present | |
Bit 2 | INPSCGND: INP to GND diagnostic flag |
This bit indicates a short from the INP pin to the GND cable. 0 = No fault (default after reset) 1 = Fault present | |
Bit 1 | INNSCLED: INN to LED diagnostic flag |
This bit indicates a short from the INN pin to the LED cable. 0 = No fault (default after reset) 1 = Fault present | |
Bit 0 | INPSCLED: INP to LED diagnostic flag |
This bit indicates a short from the INP pin to the LED cable. 0 = No fault (default after reset) 1 = Fault present |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | TX3_MODE | 0 | 0 | 0 |
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | SOMI_ TRI | CLKOUT_TRI | CLKDIV[2:0] |
This register controls the clock divider ratio.
Bits 23:16 | Must be 0 |
Bit 15 | TX3_MODE: Selection of third LED |
This bit transitions the control from the default two LEDs (on TXP, TXN) to the third LED on TX3. 0 = LEDs on TXP, TXN are active 1 = LED on TX3 is active. Timing engine controls on TXP are transferred to TX3. Maximum current setting supported for the third LED is 50 mA. | |
Bits 14:5 | Must be 0 |
Bit 4 | SOMI_TRI: Serial data output 3-state mode |
This bit determines the state of the SPISOMI output pin. In order to avoid loading the SPI bus when multiple devices are connected, this bit must be set to 1 (3-state mode) whenever the device SPI is inactive. | |
0 = SPISOMI output buffer is active (normal operation, default) 1 = SPISOMI output buffer is in 3-state mode | |
Bit 3 | CLKOUT_TRI: CLKOUT output 3-state mode |
This bit determines the state of the CLKOUT output pin. | |
0 = CLKOUT buffer is active (normal operation, default) 1 = CLKOUT buffer is in 3-state mode | |
Bits 2:0 | CLKDIV[2:0]: Clock divider ratio |
These bits set the ratio of the clock divider and determine the frequency of CLKOUT relative to the input clock frequency. | |
Table 8-10 shows the clock divider ratio settings. |
CLKDIV[2:0] | DIVIDER RATIO | INPUT CLOCK FREQUENCY RANGE |
---|---|---|
000 | Divide-by-2 | 8 MHz to 12 MHz(2) |
001 | Do not use | Do not use |
010 | Divide-by-4 | 16 MHz to 24 MHz(2) |
011 | Divide-by-6 | 24 MHz to 36 MHz |
100 | Divide-by-8 | 32 MHz to 48 MHz |
101 | Divide-by-12 | 48 MHz to 60 MHz |
110 | Do not use | Do not use |
111 | Divide by 1(1) | 4 MHz to 6 MHz |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | PDNCYCLESTC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PDNCYCLESTC[15:0] |
Bits 23:16 | Must be 0 |
Bits 15:0 | PDNCYCLESTC[15:0]: Dynamic (cycle-to-cycle) power-down start count |
The contents of this register can be used to position the start of the PDN_CYCLE signal with respect to the pulse repetition period (PRP). The count is specified as the number of cycles of CLKOUT. If the dynamic power-down feature is not required, then do not program this register. |
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | PDNCYCLEENDC[15:0] | |||
11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
PDNCYCLEENDC[15:0] |
Bits 23:16 | Must be 0 |
Bits 15:0 | PDNCYCLEENDC[15:0]: Dynamic (cycle-to-cycle) power-down end count |
The contents of this register can be used to position the end of the PDN_CYCLE signal with respect to the pulse repetition period (PRP). The count is specified as the number of cycles of CLKOUT. If the dynamic power-down feature is not required, then do not program this register. |