Other Parts Discussed in Thread: TMS320F28377D
Hello all,
I am trying to run an AMC-1204 connected to the SDFM of a TMS320F28377D.
I followed all instructions provided in the example code:
/*******************************************************/
/* Data filter Module */
/*******************************************************/
//Configure Data filter modules filter type, OSR value and enable / disable data filter
Sdfm_configureData_filter(gPeripheralNumber, FILTER1, FILTER_ENABLE, SINC3, OSR_256, DATA_16_BIT, SHIFT_9_BITS);
/* The data filter with a 25-bit signed output value can be in the range of –16,777,216 to 16,777,215. But,
16-bit signed output can support values only from –32,768 to 32,767. Therefore, it is required to
configure shift control bits (SDIPARMx.SH) to 9 to represent the data filter output correctly in 16-bit
format. Table 13-5 shows the configuration settings of shift control bits for different OSR and filter
types. */
Can you highlight me this sentence? (i read the technical reference and didnt get it either...)
The final question is:
- Is it a 25 bits precision or 16 bits precision?
- What happens to the 9 bits shifted?
Thank you!
Cheers,
Pierre-Axel.