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: Data in the packet structure for the 14 predefined configuration commands

Part Number: DCA1000EVM

Hi, 

I am trying to understand the data field in in the packet structure for the 14 predefined configuration commands

page 18 , https://www.ti.com/lit/ug/spruij4a/spruij4a.pdf?ts=1690872440558&ref_url=https%253A%252F%252Fwww.ti.com%252Ftool%252FDCA1000EVM

I understand the command structure but didnt find details of the data that goes with each command. Is there a document that explains this? 

Thanks 

Regards

Gayatri

  • Dear Gayatri - 

    Thanks for the post and welcome to E2E! 

    If you can scroll down in that document to next page, the byte details are given for header and footer, command byte placement and size or status.

  • Hi Josh,

    Thanks for responding. The example mentioned shows Command request and response for Reset FPGA command that has no Data (size 0). I am looking for the other commands for instance CONFIG_FPGA_GEN_CMD_CODE. In wireshark, i was able to see 14 bytes corresponding to the command request for CONFIG_FPGA_GEN_CMD_CODE. I can make out 2 bytes of header, 2 bytes of footer, 2 bytes of command code and 2 bytes of size as per the documents. I am trying to figure out the rest 6 bytes. 

    Thanks 

    Gayatri

  • Hi Gayatri,

    Can you send the value of complete packet? (2+2+2+2) and the extra 6 bytes

    Regards,

    Kaushik

  • Hi, 

    Below is the packet I saw for CONFIG_FPGA_GEN_CMD_CODE command 

    [0x5a, 0xa5, 0x03, 0x00, 0x06, 0x00, 0x01, 0x02,0x01, 0x02, 0x03, 0x1e, 0xaa, 0xee]
    header : 0x5a, 0xa5 = 0xA55A
    Command Code :  0x03, 0x00 = 0x03 - > CONFIG_FPGA_GEN_CMD_CODE
    Size: 0x06, 0x00 : 0x06
    Data : 0x01, 0x02,0x01, 0x02, 0x03, 0x1e
    footer :  0xaa, 0xee = 0xEEAA
    I am looking for the info what the data is for all the 12 predefined commands. 
    Thank you
    Regards
    Gayatri
  • Hi Gayatri,

    We have only that DCA1000EVM developers documents explaining all the technical detail related to DCA1000 commands.

    Please refer that only.

    .

    Regards,

    Jitendra

  • Hi Gayatri,

    Here is the info you were looking for.

    These are the following commands available for the DCA1000 along with their data description:

    0x01: CMD_CODE_RESET_FPGA Reset FPGA command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x02: CMD_CODE_RESET_AR_DEV Reset AR device command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x03: CMD_CODE_CONFIG_FPGA Configure FPGA data modes command code
    Data Size in bytes : 6
    Data Packets structure: | Data Logging mode | LVDS mode | Data Transfer Mode | Data Capture mode | Data format mode | Timeout value |
    0x04: CMD_CODE_CONFIG_EEPROM Configure EEPROM command code
    Data Size in bytes : 14
    Data Packets structure: | PC IP Address - 4 Bytes | DCA1000 IP Address - 4 Bytes | Mac Address - 6 Bytes |
    0x05: CMD_CODE_START_RECORD Start record command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x06: CMD_CODE_STOP_RECORD Stop record command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x07: CMD_CODE_START_PLAYBACK Playback start command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x08: CMD_CODE_STOP_PLAYBACK Playback stop command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x09: CMD_CODE_SYSTEM_ALIVENESS System aliveness check command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x0A: CMD_CODE_SYSTEM_ASYNC_STATUS System status command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x0B: CMD_CODE_CONFIG_RECORD Configure packet data delay and size command code
    Data Size in bytes : 6
    Data Packets structure: | Max bytes per packet | Record Packet Delay | 0 |
    0x0C: CMD_CODE_CONFIG_AR_DEV Configure AR device data mode command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x0D: CMD_CODE_INIT_FPGA_PLAYBACK Initiate FPGA playback command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    0x0E: CMD_CODE_READ_FPGA_VERSION Read FPGA version command code
    Data Size in bytes : 0
    Data Packets structure: N/a
    Let me know if you find any discrepancies.
    Regards,
    Kaushik