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.

CCS/AWR1642BOOST: Adc data transfer over uart in millimeter wave demo.

Part Number: AWR1642BOOST

Tool/software: Code Composer Studio

Hi,

I had referred all the post on the forum related to adc data transfer over uart in millimeter wave demo.

According to this post(https://e2e.ti.com/support/sensors/f/1023/p/613384/2259741?tisearch=e2e-quicksearch&keymatch=adc%20data%20+%20uart#2259741):

I made changes in dss_main.c -> 'MmwDemo_dssSendProcessOutputToMSS' range profile function: to copy  ADCBuff data to HsRam and send it over uart instead of the range profile data. 

I can see the adc data transferred (through mailbox from DSS to MSS) in SOC_XWR16XX_MSS_HSRAM_BASE_ADDRESS 0x52080000U  from memory browser in CCS debug mode. 

But I'm unable to get any bytes on teraterm through MSS UART port.

Can anyone please help  with a 'UART_writePolling' example to modify the mss_main.c  'MMWDEMO_DSS2MSS_DETOBJ_READY' message in  'MmwDemo_mboxReadTask' function.

Thanks and regards,

SH

  • Hi,

    You should not have to modify the UART polling code. Transferring the raw data buffer should be no different from transferring any other data buffer.

    What are you using on the Host side to capture the data?

    It would be easier to have a matlab gui. You can use the following gui as an example.

    mmwave_automotive_toolbox_2_4_7\labs\lab0003_occupancy_detection\gui\od_demo.m

    For debugging you may want to send a known data pattern and make sure you receive it at the host side

    thank you
    Cesar
  • Hi, 

    I'm using teraterm to check if any binary data is received for 4 frames. Thank you for the suggestion and example.

    Before, I start with matlab gui to receive and process the buffer. I wanted to confirm if the code is correct or not. Could you please check the code and advise. 

    
    

    Looking forward to your reply.

    Thanks and regards,

    SH

  • Hi,

    As long as the code matches the reference code in SDK it should be correct

    I will close this thread now. If there are new questions please start a new thread

    thank you
    Cesar