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.

MSP430FR5857: controller become unstable

Part Number: MSP430FR5857

Dear Sir/Madam,

i am using microcontroller msp430fr5857 for the application EVSE. while using internal DCO clock for 16 MHz ,MCU  working fine with no issue even with line and neutral interchange on power side but when we  use external crystal 16 MHz even that time it working fine when we are not changing line and neutral from power side ,but when we are turning on the relay from microcontroller for line neutral interchange controller behave differently some times it shows correct result, sometimes microcontroller reset ,some time something else, so its like microcontroller behaving like unstable.

I am unable to find the reason because this abnormal behaviour only  when we are turning on the relay for line neutral interchange  from microcontroller with external crystal while with internal clock no issue. Please suggest some solution.

  • Hello Priyanshu,

    I suspect that there is some electrical disturbance that may be affecting the external crystal when the relay is energized.
    Some things to look at are the placement of the crystal relative to the MCU. How close is your crystal to the MCU?
    Next, what shielding (ground) do you have around the crystal and directly underneath on lower pcb layer, including the traces that connect the crystal to the MCU?
    Also, do you have any traces or wires running near the crystal that are related to the neutral or power signals?
  • Hello Priyanshu,

    I haven’t heard from you for a couple of days now, so I’m assuming you were able to resolve your issue.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.

**Attention** This is a public forum