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.

MSP430G2553: Clock and Spy-Bi-Wire Programming Questions

Part Number: MSP430G2553
Other Parts Discussed in Thread: MSP-FET, ENERGIA,

Good evening,

I am designing a custom board where the MSP microcontroller's (MSP420G2553IPW28) role is to communicate with a few chips over I2C and execute other functions as needed. I have a couple of questions that I am asking to confirm my current understanding of the device and its requirements:

  1. Is Spy-Bi-Wire a viable programming method for the MSP if my code is written in the Energia IDE and I plan to use the MSP-FET Programmer/Debugger and the MSP Flasher (Command Line Programmer) to upload the code to the chip?
  2. Since this is a custom PCB, I am not planning to use any of the hardware on the MSP430G2553 LaunchPad or similar eval boards. Am I correct in understanding the user guide's description of how there are several possible internal clock options to run the MSP that do not require external parts, or is an external crystal required in all cases to access/use the other clock options?

Thank you,

A.S.

  • HI,

    1. Yes, you can do that. 

    2. The external crystal is optional for your application. If the internal clock references are enough for your application. Then you do not need an external clock source. 

    Best regards,

    Cash Hao

  • Hello,

    Thank you so much, that helps considerably. I've thought of one more question I need clarification for:

    • On the MSP Debugger tool, if I am powering the Debugger from my computer and using the Debugger tool to power the MSP while I am programming it, do I want to have Debugger Pin 2 (VCC_TOOL) or Pin 4 (VCC_TARGET) connected to the MSP power pins? My current understanding is that I need Pin 4, but the wording of the Debugger User Guide was a little unclear on this.

    Thank you,

    A.S.

  • Hi,

    If you want to power the MSP through the debugger, you will need to connect the Pin 2. 

    I also recommend you power the MCU from another source. It is your choice. 

    Best regards,

    Cash Hao

  • Hello,

    Perfect, thank you. When I am not programming through the debugger, the MSP will be running from a battery / voltage regluator setup.

    Best,

    A.S.

**Attention** This is a public forum