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.

TMS320F28335: UART crash

Part Number: TMS320F28335


Hi

Use UART to communicate between two F28335. One F28335 UART maybe dead in case it has power off/on operation on another F28335.

The question is under which situation, UART will be dead without response? Which flag can be used to detect and recover UART?

We have added UART Init() to initialize it again when detect UART error, but it still has a low ratio to dead.

  • Daniel,

    The SCI does not have a single flag bit to determine if it is dead or off.  You could perhaps read and perform logical operations on various flag bits and determine this case based on a user-specified period of time.  That is, the status of a series of bits if a certain defined period of time elapses will determine the state as dead or off.  Consider using the flag bit in SCICTRL2 and SCIRXST

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken