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.

[参考译文] IWR6843ISK:尝试转储距离配置文件、但失败[IWR6843ISK]

Guru**** 2457920 points
Other Parts Discussed in Thread: IWR6843ISK

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1496078/iwr6843isk-try-to-dump-the-range-profile-but-failed-iwr6843isk

器件型号:IWR6843ISK

工具与软件:

您好! TI 团队!

我正在使用 IWR6843ISK、并尝试转储 RangeProfile。

但我不熟悉该过程、因此我在 radar_toolbox_2_30_00_12\software_docs\Understanding_uart_UART.html 中找到该文档 Data_Output_Format

距离曲线

xWR6843、xWR1843、xWR1642、xWR1443

类型标识符 键入 value Length 电流
2. MMWDEMO_OUTPUT_MSG_RANGE_PROFILE (距离 FFT 大小) x (2字节) 第0个多普勒(静止物体)的剖面点阵列。 这些点表示接收天线的 log2幅度之和、以 Q9格式表示。

文档显示这是2个字节。

使用的代码

       UART_writePolling (uartHandle、
                          (uint8_t*)&tl[tlvIdx]、
                          sizeof (MmwDemo_output_message_tl));

       for (index = 0;index < subFrameCfg->numRangeBins;index++)
       {
           UART_writePolling (uartHandle、
                   (uint8_t*)&detMatch[index*subFrameCfg->numDopplerBins]
                   sizeof (uint16_t));
       }

假设是(uint8_t)、

那么、哪一个是正确的?  请帮帮我。 谢谢!

以下是来自 rangeProfile 的部分消息

头         RANGEPROFILE

12*3*5***0226     
 12*3*5***1    149.
 12*3*5***2     50.
 12*3*5***3    224
 12*3*5***4101.     
 12*3*5***5    202.
 12*3*5***629.      
 12*3*5***775      
 12*3*5***8205.     
 12*3*5***957.      
 12*3*5***10203.     
 12*3*5***1182.      
 12*3*5***12134.     
 12*3*5***13214     
 12*3*5***14234.     
 12*3*5***15229     
 12*3*5***16     18.
 12*3*5***1793.      
 12*3*5***18202.     
 12*3*5***19224     
 12*3*5***20173.     
 12*3*5***21    199
 12*3*5***22247.     
 12*3*5***23249.     
 12*3*5***24153.     
 12*3*5***2565      
 12*3*5***2628.      
 12*3*5***2726.      
 12*3*5***28208.     
 12*3*5***29117     
 12*3*5***3049.      

可编程增益。   您可以看到这很奇怪。

请帮我!

此致、
Webb

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Webb、

    它是 uint16_t 并且被这样发送,这就是为什么 UART_writePolling ()函数的第三个参数是  sizeof (uint16_t )。 指针大小为 (uint8_t*)。 实际上、如果您查看所有其他可能的输出类型、就会看到它们都将第二个参数设置为 (uint8_t*)、第三个参数是要写入 UART 的数据大小。

    此致、

    Pedrhom