Tool/software: Code Composer Studio
I want to modify the code when target is detected. In iwr1642 short range radar code where do I have to modify in given SRR demo code?
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.
Tool/software: Code Composer Studio
I want to modify the code when target is detected. In iwr1642 short range radar code where do I have to modify in given SRR demo code?
There is a code in SRR demo about when the code is detected it takes that object and put in to some buffer to process that data ahead and send it on the uart pin.
Hello Arpit,
The SRR demo does not make use of the MSS project. Please closely review the reference design for the implementation details of the SRR demo. The reference code is also provided and can be examined in CCS. As highlighted in section 2.3.4 Data Path of the reference design. The object processing occurs in the data_path.c file. There are many ways to implement what you are interested in if you examine the data_path.c file you can see that one point to intercept the target list in the populateOutputs function around lines 4362 which traverses the detected object list.
/* 1. Detected Object List */ for (ik = 0; ik < obj->numDetObj; ik ++) { detObjFinal[ik].speed = detObj2D[ik].speed; detObjFinal[ik].peakVal = detObj2D[ik].peakVal; detObjFinal[ik].x = detObj2D[ik].x; detObjFinal[ik].y = detObj2D[ik].y; }
Amanda