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.

AWR1843: interpret CAN signal

Part Number: AWR1843

Hi

I got the CAN signal from PCAN-USB, like the following diagram:

What is the meaning of each CAN-ID and how to interpret the data to a value in meter ex: (X,Y) = (6m, 25m)?

BR,

Matt

  • Hello Matt,

    I am assuming that you use the ODOC TI resource project.

    Please refer to the code mss_main.c in the ODOC TI Resource project . The enum are provided with the CAN messages . 

    typedef enum mmwDemo_can_message_type_e
    {
    /*! @brief List of detected points */
    CAN_MESSAGE_MMWDEMO_DETECTED_POINTS = 0xD1,

    /*! @brief Range profile */
    CAN_MESSAGE_MMWDEMO_RANGE_PROFILE,

    /*! @brief Noise floor profile */
    CAN_MESSAGE_MMWDEMO_NOISE_PROFILE,

    /*! @brief Samples to calculate static azimuth heatmap */
    CAN_MESSAGE_MMWDEMO_AZIMUT_STATIC_HEAT_MAP,

    /*! @brief Range/Doppler detection matrix */
    CAN_MESSAGE_MMWDEMO_RANGE_DOPPLER_HEAT_MAP,

    /*! @brief Stats information */
    CAN_MESSAGE_MMWDEMO_STATS
    } mmwDemo_can_message_type;

     

    The code should be the reference for you to interpret the data . There is no seperate documentation for the same.

    Thanks,

    Raghu

     

  • Hi Raghu,

    Many thanks for your reply.

    I use Lab7 as the base for development.

    From the mss.main.c, shown as below, I think D1 is for detected point, D2 is clusters, D3 is tracked objects and D4 (D6) is parking assist.

    From other code, i also found B1 and C1 means PADDING and HEADER, respectively. Am i correct?

    The other question is how to interpret the data? The data in the following table comes from the PCAN. I found the Q number is 7 in dss_main.c.

    If the x data is (DA,FE) and Q is 7, what is the x value in meter?

    Is the number of 7 correct for lab 7?

    V Peak X Y Z
    0 0 2C 0 0 0 4 0 7 0
    0 0 22 0E DA FE 48 5 56 FE
    0 0 33 0E CC FE 47 5 3D FE
    0 0 16 0C E3 FB DC 9 9C FB
    0 0 7D 0C 19 FD 58 0A 6E FA

    BR,

    Matt

  • I use Lab7 as the base for development.

    From the mss.main.c, shown as below, I think D1 is for detected point, D2 is clusters, D3 is tracked objects and D4 (D6) is parking assist.

    From other code, i also found B1 and C1 means PADDING and HEADER, respectively. Am i correct?

    The other question is how to interpret the data? The data in the following table comes from the PCAN. I found the Q number is 7 in dss_main.c.

    If the x data is (DA,FE) and Q is 7, what is the x value in meter?

    Is the number of 7 correct for lab 7?

    V Peak X Y Z
    0 0 2C 0 0 0 4 0 7 0
    0 0 22 0E DA FE 48 5 56 FE
    0 0 33 0E CC FE 47 5 3D FE
    0 0 16 0C E3 FB DC 9 9C FB
    0 0 7D 0C 19 FD 58 0A 6E FA

    BR,

    Matt