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.

C2000 driverlib infinite loops

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE,

Hi all!

We have noticed that many drivers in driverlib from C200 ware (right now we are using C2000Ware_4_00_00_00) use while loops to wait until a specific register gets a desired value. For example in the CAN driver:

We see this as a risk because a failure in this peripheral could lead to remain in this loop indefinitely and therefore block the whole firmware. My questions here:

* Do you have documentation or  test reports about these situations? Failure rate?  Right now we are interested in the TMS320F28379D and the drivers: CAN, I2C, SCI, SPI, sysCTL

* Do you hace any recomendation to mitigate these risks?

Thanks!!! :-)