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.

DCA1000EVM: Streaming Data with fr_api.h & IWR6843

Part Number: DCA1000EVM
Other Parts Discussed in Thread: AWR1642, IWR6843

Hi,

I'm trying to stream data out of the IWR8643 using the LVDS interface to the DCA1000. I would like to start with raw ADC samples and eventually move to processed/custom data. I plan to use the API provided in C:\ti\mmwave_studio_02_00_00_02\mmWaveStudio\Clients\AR1xController\RF_API.dll to control the DCA1000. I've created a test application based on the example main file / callback function provided in the comments of the rf_api.h and made the following minor changes.

  1. I changed the eLvdsMode parameter to AWR1642 (rf_api.h line 147) since the AWR1642 seems to be more similar to the IWR6843 in its operation than the AR1243;
  2. Added a Sleep(20000) call between calls to StartRecordData and StopRecordData() to capture 20 seconds of data.
  3. Added a print statement to the EthernetEventHandlercallback method "printf("Callback Code:[%d] | Status:[%d]\n", u16CmdCode, u16Status);" for debugging purposes.

My questions are the following

  1. Are there any other changes I need to make to get the example program to work with the DCA1000 when connected to the IWR6843 ?
  2. The line "RFDCCardModeConfigurationParam.u8Timer = DEFAULT_CONFIG_TIMER" (rf_api.h line 152) contains an undefined symbol "DEFAULT_CONFIG_TIMER". What is an appropriate value for DEFAULT_CONFIG_TIMER?

Thanks!

  • John,

    Good, questions, give me a little time to gather some information and I'll respond back.

    Alex
  • Hi Alex, any update on this? Thanks!

  • John,

    Q1) Are there any other changes I need to make to get the example program to work with the DCA1000 when connected to the IWR6843 ?

    A1) unfortunately, we dont have any support for rf_api.h. All development and usage is up to you.

    Q2) The line "RFDCCardModeConfigurationParam.u8Timer = DEFAULT_CONFIG_TIMER" (rf_api.h line 152) contains an undefined symbol "DEFAULT_CONFIG_TIMER". What is an appropriate value for DEFAULT_CONFIG_TIMER?

    A2) Default is 30, it can range from 1 to 30.

    in mmWave studio the api call is ar1.CaptureCardConfig_Mode(1, 0, 1, 2, 3, 30)

    If you type: help ar1.CaptureCardConfig_Mode in the lua shell of mmwave studio you get:

    Int32 ar1.CaptureCardConfig_Mode(UInt32 eLogMode, UInt32 eLvdsMode, UInt32 eDataXferMode, UInt32 eDataCaptureMode, UInt32 eDataFormatMode, Byte u8Timer) - ConfigureRFDCCardMode API used to configured the ethernet mode

    _I_ UInt32 eLogMode - eLogMode, Raw mode : 1, Multimode:2

    _I_ UInt32 eLvdsMode - eLvdsMode or Radar DeviceType: AR12xx or AR14:1, AR16xx or AR18xx or AR68xx:2:

    _I_ UInt32 eDataXferMode - eDataXferMode, LVDS: 1, DMM:2

    _I_ UInt32 eDataCaptureMode - eDataCaptureMode, EthernetMode:2, SDCard:1

    _I_ UInt32 eDataFormatMode - eDataFormatMode, 12-bit:1, 14-bit:2, 16-bit:3

    _I_ Byte u8Timer - u8Timer

     

    Hope this helps

    Alex