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.

TMS570LS1224: Usage of While loop without recovery mechanism when waiting for hardware register status read

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN,

Hi,

I have a query related to Halcogen generated code for the TMS570LS1224 microcontroller. In all driver code, there is a while loop used for polling the hardware register status bits and breaking the loop only if the expected status bits are satisfied. There is no timeout mechanism to come out of the while loop if the hardware register bit is sticky due to a random fault in the microcontroller.

Is this functionally safe? How can we claim this a functional safe code if we don't have a recovery mechanism for random faults in the microcontroller?

Can someone clarify?