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.

AWR1443BOOST: Vital Sign Lab Matlab Code Question

Other Parts Discussed in Thread: AWR1443BOOST

Dears,

i am new to the ti device and now i am trying to trace the code in lab0002_vital_signs_gui

Question1:

the comment in the matlab gui code is not enough for me to understand the whole progress.

now i only got the idea that 

after this code: 

dataOut_AR14xx_float = typecast(uint8([bytevec_data]),'single');  

all data is well-defined in the dataOut_AR14xx_float , then the program can show the various of the well-defined data (is well-defined in dataOut_AR14xx_float) in the UI.

but what is the data value flow from Device to dataOut_AR14xx_float ?

Question2: (related to question 1)

and i understand the original data value should come from the device via the port.

Is there anyone could help me to trace the part?

 

Question3: 

and if Q1 and Q2 should be my own work to trace, then i want to figure out a idea first , 

there are some value in dataOut_AR14xx_float like heartRateEstFFT ,

so the FFT math calculation is calculated on the TI device? or the matlab gui part got original signal data , implemnt the FFT to get the heartRateEstFFT ?

Thx

  • Dears, for Question 2,

    I have traced and found the original value in gui side come from the following code

    [bytevec, byteCount] = fread(obj, TOTAL_PAYLOAD_SIZE_BYTES, 'uint8');

    and the bytevec here is a 288*1 array with values inside.

    is the bytevec here come from the ti device via port in GUI side? is there any other process code there?

    Thx
  • Allen,

    The AWR1443BOOST EVM performs the 1D FFT on the raw ADC data. This particular lab only performs a 1D FFT.

    Please refer to the Developer's Guide for more information about the processing chain. This can be found at dev.ti.com/tirex/#/

    Regards,
    Kyle