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: Buffer overflow indicator in Silicon Labs CP2105

Part Number: IWR6843ISK
Other Parts Discussed in Thread: MMWAVEICBOOST,

Is there any way to know if we have a buffer overflow in the CP2015's internal buffer for the People Counting project? I have getting random errors in the received data once in a while. I've debugged extensively, and I believe the buffer may be overflowing sometimes, considering the high data volume (288bytes is the buffer size for the Standard COM port on the CP2105). Is there any way we can confirm that?

  • Hello,

    This seems possible but we don't have a way to check if the buffer is overflowing. However I would assume this would happen more frequently if this were the case since most frames are very similar in size. Can you tell if the random errors you get happen mostly when there is a lot of motion activity / higher pointcloud density?

    Also, do you have a MMWAVEICBOOST board to test with? Do you see errors on that as well? This uses the XDS110 chip to do USB to UART, so should have different behavior if buffer overflow was the case.

    Otherwise, it could be a timing issue with the UART / USB / Visualizer. How are you noticing there are random errors? Are you using the people counting python GUI?

    Regards,

    Jackson

  • Yes, the error occurs more frequently if multiple moving subjects are in the scene.

    Unfortunately, I do not have a boost board to test it with. 

    I am using the Python code provided for the visualizer. TLV parsing errors are popping up for certain bursts of frames - I dug deeper and found out that TLV IDs and their detected lengths are random and wrong in those cases.

    Does the CP2015 have any pinout that can be tapped into to detect overflows? Or can it be read out from its registers in the code somehow?

  • Hello,

    Our IWR device does not implement any functionality to check the overflow buffers. I am not sure if this functionality exists in the CP2015, you will need to go consult the datasheet for that part.

    Regards,

    Jackson

  • The CP2015 does have a pinout to identify of its buffer is 80% full. Is there a pinout on the board to tap into this?

    Also, how are you configuring the CP2015 to work with the IWR6943? If i understand correctly, the CP2015 needs to be configured correctly by writing to its registers before data can be sent. If you can access the registers to configure it, can I not read back from some of its registers regarding the buffer overflow condition? I did confirm via the CP2015 datasheet that there exists flags to check an 80% buffer full condition on the chip, for example.

  • Hello,

    Please see the schematics included on the EVM product folder for the IWR6843ISK EVM. This will show the pinout and connections for the CP2015 device. If you can access the registers from the USB side of the device, then you should be able to access them. We do not perform this read or configuration.

    www.ti.com/.../swrr164

    Regards,

    Jackson

  • Thank you for the response.

    If you do not initialize or configure the CP2105 controller at startup, how does the data transmission work? Is it automatically configured at powerup and you just send the data from the logger to the controller?

  • Hello,

    Yes it should initialize itself with the default settings.

    Regards,

    Jackson