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.

MSP430F5341: Crystal oscillator stops during UART communication

Genius 5350 points
Part Number: MSP430F5341
Other Parts Discussed in Thread: MSP-TS430RGZ48B

Hi experts,

Have there been any cases in the past where an oscillation error has occurred due to a bad communication path pattern (layout) when using the UART pins (P3.3/P3.4, P4.4/4.5)? Please tell us as much as you know.

Currently, we have a customer's board using MSP430F341, but there is a problem with the crystal oscillator suddenly stopping.

[Details]

  • The occurrence rate is 1/500 units.
  • The problem does not occur when only the clock is operated. The above test was performed using "MSP430F534x_uscia0_uart_03.c". No problem was observed when only internal oscillator or only external oscillator.
  • Swapped the MSP430 on the problematic board(A) with the MSP430 on the non-problematic board(B), resulting in a problem on the A side and no problem on the B side.
  • As a result of using the target board(MSP-TS430RGZ48B), a problem occurs on the A side and no problem occurs on the B side. Oscillation abnormality occurs when the UART line (Tx,Rx) is cross-talked. On the B side, no oscillation error occurs under the same conditions.

The above indicates that there is a possibility that the problem is caused by the external environment, but there is also a problem inside the MSP430. If there are any similar cases or possible factors other than the UART layout, we would appreciate it if you could let us know.

Best regards,
O.H

  • Hi O.H   

    First I want to clarify which oscillator you used XT1 32K or XT2 high speed crystal?

    The problem does not occur when only the clock is operated. The above test was performed using "MSP430F534x_uscia0_uart_03.c". No problem was observed when only internal oscillator or only external oscillator

    May I consider there is no problem happen when using our demo code "MSP430F534x_uscia0_uart_03.c"?

    Swapped the MSP430 on the problematic board(A) with the MSP430 on the non-problematic board(B), resulting in a problem on the A side and no problem on the B side.

    This test show the is related with external hardware. Could you show me the spec of the crystal you used and the schematic and layout of the crystal part?

    As a result of using the target board(MSP-TS430RGZ48B), a problem occurs on the A side and no problem occurs on the B side.

    What's your mean by A side? Do you have two MSP-TS430RGZ48B boards?

  • Hi Gray Gao,

    Thank you for your reply.

    First I want to clarify which oscillator you used XT1 32K or XT2 high speed crystal?

    Using XT1 327768KHz.

    The problem does not occur when only the clock is operated. The above test was performed using "MSP430F534x_uscia0_uart_03.c". No problem was observed when only internal oscillator or only external oscillator

    May I consider there is no problem happen when using our demo code "MSP430F534x_uscia0_uart_03.c"?

    I'm sorry. There is a correction. The clock was tested with the following sample code to verify XT1 operation.
    MSP430F534x_UCS_06.c

    Once again, I confirm the operation result of UART only (using REFO).

    Swapped the MSP430 on the problematic board(A) with the MSP430 on the non-problematic board(B), resulting in a problem on the A side and no problem on the B side.

    This test show the is related with external hardware. Could you show me the spec of the crystal you used and the schematic and layout of the crystal part?

    As a result of using the target board(MSP-TS430RGZ48B), a problem occurs on the A side and no problem occurs on the B side.

    What's your mean by A side? Do you have two MSP-TS430RGZ48B boards?

    Sorry for the poor explanation. The definitions of A and B are as follows.

    MSP430 (on the board with a problem) is A
    MSP430 (on the board without problem) is B

    Swap test of A and B results in A taking over the problem and B having no problem.

    Checking on the target board also using a single MSP430 on A and B, A has the problem, B does not have the problem. Oscillation abnormality occurs when the UART line (Tx,Rx) is cross-talked. On the B side, no oscillation abnormality occurs under the same conditions.

    Best regards,
    O.H

  • Hi O.H

    Could you help to do a test that using the mode code MSP430F534x_uscia0_uart_03.c (Enable the XT1) and TI's target test board(MSP-TS430RGZ48B) with failed device A, to see if the problem can be reappeared?

    when using the UART pins (P3.3/P3.4, P4.4/4.5)

    Do you mean no matter used P3.3/P3.4 or P4.4/P4.5 will always trigger this issue?

    Could you help to compare the impedance to GND of the pins P5.4, P5.5, P3.3/P3.4 or P4.4/P4.5 between device A and B?

    By the way, what's the failure rate?

  • Hi  Gray Gao,

    Could you help to do a test that using the mode code MSP430F534x_uscia0_uart_03.c (Enable the XT1) and TI's target test board(MSP-TS430RGZ48B) with failed device A, to see if the problem can be reappeared?

    We are currently requesting the above.

    Do you mean no matter used P3.3/P3.4 or P4.4/P4.5 will always trigger this issue?

    I am currently reconfirming the above.

    Could you help to compare the impedance to GND of the pins P5.4, P5.5, P3.3/P3.4 or P4.4/P4.5 between device A and B?

    I would like to add this to the list of items to be confirmed, could you please tell me how to confirm above?

    By the way, what's the failure rate?

    As far as we can confirm, it is 1 out of 500 units.

    Best regards,
    O.H

  • could you please tell me how to confirm above?

    The normal value of the impedance between a GPIO to GND will be >1Mohm like 3Mohm. But if the damaged pins by ESD or EOS it will be smaller.

  • Hi  Gray Gao, 

    Sorry for the late reply. I understood. I will contact you as soon as I receive a response from the customer.

    Best regards,
    O.H

  • Hi O.H

    Any update from customer? Or I will close this thread first.

  • Hi Gray Gao, 

    So far we have not received any response from the customer. If additional issues arise, I will create a related question.

    Thank you for your support.

    Best regards,
    O.H

**Attention** This is a public forum