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.

MSP430F5418A: Reset Issue

Part Number: MSP430F5418A

MSP430F5418A is used in an ACCL (Auto source changeover and current limit) card. MSP430F5418A is driven by two powersupply one from EB (Electricity board) and another through DG (Diesel Generator). Schematic attached.

Issues:

  1. During changeover from EB to DG or DG to EB power source, microcontroller is getting reset once is five times of the changeover. Please note that customer is deriving power from both EB and DG to power up microcontroller.
  2. Customer is using 32.76Khz external crystal. Earlier when 20Mhz crystal was used frequency of resetting was more. Can MSP430F5418A be used with 20MHz crystal for auto source change over application?
  3. Customer is using 74HC573 to drive the LEDs as seen in schematic attached. Customer wanted to know if it is possible for MSP430F5418A to drive LEDs directly without using 74HC573?
  4. Microcontroller is displaying Ir, Ib, Iy (load currents) though no load is connected in the circuit.

Please let us know possible debug steps to resolve the above issues.SCH_PDENACCL_R3.pdf

  • Hello Deepak,

    I highly suspect you are getting some kind of noise propagation through your DVCC rail or the changover is not happening quick enough so you get a dip in power. Either of these situations could cause a Frequency vs Voltage vs VCORE Level violation which can cause unspecified behavior, including resets, as the device is running out of spec in this situation. I would suggest probing the VCC pin of the MSP430 when this changeover happens to see what the voltage level is. Then coordinate the lowest voltage level seen with the VCORE level you are running and what frequency your device is running at to see if a violation occurs. the chart to reference here is Figure 5-1 in the datasheet. You can use the SVS and SVM on this part to either give you warning before the voltage dips too low, or to auto-reset the part before a violation occurs

    Also, I did not do a full schematic review, but I did notice that your cap on the VCORE pin is too low. It needs to be 470nF (0.47uF). The low capacitance can cause some stability issues as well. 


    as far as Xtal goes, a 20MHz xtal can definitely be used with this device on the XT2 pins or the XT1 pins when that module is in high Frequency mode. I suspect your increased resets are correlated with the above suggestion and potentially running the device faster with the faster base Xtal clock, thus the faster the speed the MCU is running the higher the threshold voltage is for a violation.

    for the LEDs, the MSP430 will not be able to drive that many LEDs directly. You would need to use a FET of some sort with the MSP430 driving the gate voltage.

  • Hi Jace,

    Thanks for your response.

    I was unable to understand chart in figure 5.1. Is PMMCOREVx some kind of configuration register that needs to be set. It is given values from 0 to 3. What are these values? Should MSP430 be configured for enabling PMMCOREVx?

    To Put MSP430 in high frequency mode what changes need to be done? Should any registers need to be enabled or any pin values need to be changed?

    Please guide.
  • Hello Deepak,

    The chart explain what the minimum voltage level, and minimum VCORE level needs to be for a given frequency. The same information is conveyed in the specification table above the figure at the start of section 5.3. the exact numbers are device specific, but let's take the example of 14MHz for this device. If you try to run the device at 14MHz, then you must keep the DVCC voltage above 2.2V and a VCORE level of 2 or higher. 8/12/20/25 are the boundary frequencies here and it is recommended if you want to use a specific boundary frequency (say 20MHz) then you want to use the minimal levels of one higher block (in this example if at 20MHz then keep voltage above 2.4V and at VCORE Level 3). The reason for this recommendation on the boundary frequency is that the DCO can vary slightly which means some variance above the requested frequency is possible.

    For more understanding of the VCORE levels and how to change them, I highly recommend you perusing Section 2 of the User Guide. Examples of how to change VCORE level and frequency of the device can be found in our standard code examples located within TI Resource Explorer > Software -> MSP430Ware-> devices -> MSP430F5xxx_6xxx -> MSP430F5418A -> Peripheral Examples -> Register level. Look for an example that changes MCLK above 8 MHz.

    TI Resource Explorer can be found within CCS or our cloud version is available at http://dev.ti.com/tirex/#/
  • Hello Jace,

    Customer informed that reset issue is resolved. From the schematic they shorted pins 4 and 11, pins 8 and 13, pins 3,5,7,9 are also shorted of  "7X2 BS MALE".

    But there is an issue wherein customer tries to measure currents of three phase power supply connected to the load. Even though no load is connected and no current is drawn, micro-controller is measuring some undesirable values and displaying it on a LCD. In the schematic signals are given by ADC_IY, ADC_IB, ADC_IR.

    Please look into the issue. Let us know what might be the reason behind this and possible solution for the same.

  • Hello Deepak,

    Glad to here the reset issue is fixed.

    As far as your measurement issues, this is beyond the help I can give as this would be application specific. For energy measurement applications, we do provide the Energy Measurement Design Center ( www.ti.com/.../MSP-EM-DESIGN-CENTER ) that could help your customer, but this is focused towards our MSP430s that contains precision Delta Sigma ADCs rather than the 12-bit SAR that is in the MSP430F5418A.

**Attention** This is a public forum