51.6.5 Conversion Results Format

The conversion results can be signed (2’s complement) or unsigned depending on the value of the SIGNMODE field in AFEC_EMR.

Four modes are available:

  • Results of channels configured in Single-ended mode are unsigned; results of channels configured in Differential mode are signed.
  • Results of channels configured in Single-ended mode are signed; results of channels configured in Differential mode are unsigned.
  • Results of all channels are unsigned.
  • Results of all channels are signed.

If conversion results are signed and resolution is less than 16 bits, the sign is extended up to the bit 15 (e.g., 0xF43 for 12-bit resolution will be read as 0xFF43 and 0x467 will be read as 0x0467).