I am using the BF506F internal A2D trying to sample a sine wave with DC level of 2.5V.
I am configuring the ACM to single mode, RANGE=1, and then the following SPORT configuration:
*pACM_ER0 =0x0031; // Single Ended|Va1|Enable Event
Unfortunately, I never get the sign extended properly, and it seems that the MSB (15th bit) is always zero regardless of the RDTYPE.
Please see the picture attached.