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.

TMS320C6678: How to judge if SRIO has received all the data without losing any frame data?

Genius 13655 points

Part Number: TMS320C6678

Hello Champs,

Customer wanted to use FPGA to send camera data to C6678 SRIO, because the camera data is too large, he worried the CPU load is too heavy, so he sent 1 doorbell after every frame data from FPGA, how to judge if the DSP has received all the data without losing any frame data?

If not using doorbell, is there any other method to judge if the DSP has received a packet data? 

Thanks.
Rgds
Shine

  • Hi Shine,

    If not using doorbell, is there any other method to judge if the DSP has received a packet data?

    I think doorbells are the best approach in your case.

    You could check the interrupts or monitor the error conditions of the SRIO to determine if any transfer failures have occurred. 

    Best Regards,
    Yordan

  • Hello!

    If you care about whole data set delivery to communication party, that's responsibility of h/w. Flow control will make sure no data dropped due to destination being busy or under congestion. That also assumes you have enough buffering on FPGA side to mitigate possible link stalls. If that's not a case, error status of SRIO is what to check.

    If you think about transfer completion notification, doorbell seems to be right.