Hello,
I'm collecting data with the ADS54J60EVM and TSW14J56EVM with the automation DLL so that I can post-process the data in MATLAB. I need to convert the raw ADC codes to voltage levels. Here's the code I am using:
fid = fopen(filename,'r'); data = fread(fid, 'uint16'); fclose(fid); N = 16; FRS = 1.9; x = FRS.*(data-2^(N-1))/2^N;
where N is the number of bits and FRS the differential input full-scale voltage. This appears to convert the data correctly, but the scaling is slightly different from what can be seen in the HSDC Pro GUI. This discrepancy appears to be eliminated if I use FRS = 2 V. Am I doing this conversion correctly/did I misunderstood the Datasheet?
Regards