This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Adding time domain to FFT

1. I am using KX220-1071  accelerometer sensor instead of  KXTC9-3672 sensor. As per TIDA-01575 application note KX220-1071 is compatible.But i am getting the expected results out of it. 

2.I have imported "tida_01575_serial_MSP_EXP432P401R_freertos_ccs_syscfg" project from resource explorer. Project build successfully and i flashed the project to board. But only x-axis FFT is changing rest displaying 0's. I am attaching a uart result screenshot for reference. 

3. Project results only FFT data. Please let me know how to generate time domain data with it.

  • Hello Mahesh,

    I will look into this and get back by end of next week.

    Thanks,

    Sai

  • Hello Maheswara Rao,

    Apologize for the delay in getting back!

    Maheswara Rao Kinthada said:
    2.I have imported "tida_01575_serial_MSP_EXP432P401R_freertos_ccs_syscfg" project from resource explorer. Project build successfully and i flashed the project to board. But only x-axis FFT is changing rest displaying 0's.

    Can inputs to ADC be verified? Can you confirm if the code can step through the if else condition checking for completedChannel = 0,1,2 (which represent X,Y and Z axis)?

    Maheswara Rao Kinthada said:
    3. Project results only FFT data. Please let me know how to generate time domain data with it.

    Maheswara Rao Kinthada said:
    3. Project results only FFT data. Please let me know how to generate time domain data with it.

    The FFT is calculated from the raw conversion results.  Store the results before performing the FFT.  The FFT is done within the ADCBUF callback.

    Thanks,

    Sai

  • Hello Sai Reddy,

    Thanks for your response.

    1. Yes i have verified the inputs to the ADC. Placed sensor signal conditioning board on the top of the MSP432P401R launch pad red, in such way that:

    SENSOR_X connected to P6.1 (A14)

    SENSOR_Y connected to P4.0 (A13)

    SENSOR_Z connected to P4.2 (A11) and wrote a sample ADC code for reading the sensor and it works fine. But it is not working in case of TIDA_01575 library. 

    2. Code is passing through the if else condition checking for completedChannel = 0,1,2. I have verified the same with the help of break points.

  • Hello Sai Reddy,

    When should i expect an answer?

  • Hi Maheswara,

    Can you try using the non-SysConfig example and see if it yields the same results? 

    Thanks,

    Alexis

**Attention** This is a public forum