3.1.3 AFE Selection
The AFE_SELECTION register enables users to configure the AFE connected to the PIC32CXMTC host microcontroller. For the PIC32CXMTSH device, however, the value of this register is overridden, as it exclusively supports connection to its internal AFE.
When this register is modified, the metrology library must be reset for the changes to take effect.
| Name: | AFE_SELECTION |
| Property: | Read-Write |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| AFE_SELECTION[3:0] | |||||||||
| Access | R/W | R/W | R/W | R/W | |||||
| Reset | 0 | 0 | 0 | 0 | |||||
Bits 3:0 – AFE_SELECTION[3:0]
| Value | Description |
|---|---|
| 0 | 1xATSENSE301. 7 channels (3 voltages and 4 currents). Poly-phase meter with neutral current measurement. |
| 1 | 3xMCP3910. Typically used for 3 phase shunt meters. |
| 2 | 4xMCP3910. Typically used for 3 phase shunt meters with neutral current measurement. The channel 8th provides an extra ADC conversion. |
| 3 | 1xMCP3912. 4 channels (2 voltages and 2 currents). Single and bi-phase meters. |
| 4 | 1xMCP3913. 6 channels (3 voltages and 3 currents). Poly-phase meter. |
| 5 | 1xMCP3914. 8 channels (4 voltages and 4 currents). Poly-phase meter with neutral current measurement. The channel 8th provides an extra ADC conversion. |
| 6-15 | Reserved for future uses. |
