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.

[参考译文] AWR2944EVM:毫米波传感器在创建新任务后崩溃。

Guru**** 2478765 points
Other Parts Discussed in Thread: AWR2944

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

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1477700/awr2944evm-the-mmwave-sensor-happen-crash-after-create-new-task

器件型号:AWR2944EVM
主题中讨论的其他器件:AWR2944

工具与软件:

您好!

 我基于雷达工具箱中的 AWR2944 OOB 源来创建新任务。 毫米波传感器将崩溃。 您能帮助检查此问题吗?

雷达工具箱版本:v2_30_00_12

示例: source\ti\examples\dcs\dcs\dcs\awr294x\awr294x Out_Of_Box_Demo src

#define MMWDEMO_APPLYPHSHIFT_TASK_STACK_SIZE  (4*1024U)
StackType_t gPhShiftTskStack[MMWDEMO_APPLYPHSHIFT_TASK_STACK_SIZE] __attribute__((aligned(32)));

static void MmwDemo_initTask(void* args)
{
    ...
    SemaphoreP_constructBinary(&gMmwMssMCB.phShftSemHandle, 0);	
    gMmwMssMCB.taskHandles.mmwPhShiftTask = xTaskCreateStatic( MmwDemo_applyPhShift,
                                           "mmwdemo_applyPhShift_task",
                                           MMWDEMO_APPLYPHSHIFT_TASK_STACK_SIZE,
                                           NULL,
                                           MMWDEMO_CLI_TASK_PRIORITY,
                                           gPhShiftTskStack,
                                           &gMmwMssMCB.taskHandles.mmwPhShiftTaskObj );
    ...
}
    
    

static void MmwDemo_applyPhShift(void* args)
{


    while (1)
    {
        SemaphoreP_pend(&gMmwMssMCB.phShftSemHandle, SystemP_WAIT_FOREVER);


    }
}

谢谢。

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

    您好、用户:

    您能告诉我有什么必要将其作为应用相移的程序中的任务添加吗?
    你确定任务的优先级吗?
    如果不考虑优先级、它会影响正在进行的任务。
    能否首先评估一下添加相移是否确实需要执行任务?

    此致、
    Saswat Kumar