Part Number:IWR1443
Tool/software: TI-RTOS
Hi:
I have implemented a software reset in my project to reset the board when something serious happens.
The code looks like this:
SOC_DriverMCB* ptrSOCDriverMCB; /* Get the pointer to the SOC Driver Block: */ ptrSOCDriverMCB = (SOC_DriverMCB*)handle; if (ptrSOCDriverMCB == NULL) { return E_NOT_OK; } else { /* Configure the register to issue Warm reset upon MSS Watch dog reset: */ ptrSOCDriverMCB->ptrRCMRegs->SOFTRST1 = CSL_FINSR(ptrSOCDriverMCB->ptrRCMRegs->SOFTRST1, 7U, 0U, 0xAD); } return E_OK;
It works fine without any mmwave function activates. The problem occurs after I start the mmwave sensor.
The error occurs at Mailbox_init at mailbox.c:96, the message is "next frame is identical to an existing frame".
I took a look at the mailbox.c line 96, it is:
... if (localEndpoint != MAILBOX_TYPE_MSS) ...
I tracked the value of the localEndpoint, it is MAILBOX_TYPE_MSS during the first call after the SOFTRST.
So I got confused by the error messages. I hope you can help me to understand the correct way to do the SOFTRST.