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.

MSP430G2001: getting flashed but not working on customized board for bootloading CDCM6208

Part Number: MSP430G2001
Other Parts Discussed in Thread: CDCM6208

Hi all, using msp43g2001 as bootloader for CDCM6208, on a customized board, schematics are according to evaluation board, xin given DVDD, xout is floating. The code provided for evaluation board is getting flashed, but msp430g2001 is not behaving properly for simple programs to toggle. Do I need to connect crystal oscillator, for mspg2001 or it has internal clocking cricuitaries?  Should I make changes to code given for evaluation board. Also I am observing 400mv output on xout.

  • Hi AK,

    Can you try running an example and seeing if that works? I assume you are using the DCO. This example uses the default DCO:

    https://dev.ti.com/tirex/explore/node?devices=MSP430G2001&devtools=MSP430G2001&node=AJHRFh-amtPG2NExEE.rqQ__IOGqZri__LATEST

    Thanks,

    Evan

  • Thanks Evan for replying, Tried the code but it didn't work. I guess the DCO is getting activated, as I am not putting crystal oscillator between xin and xout, further the datasheet says that if it detects some issues with crystal oscillator the failsafe operation will automatically switch the clock from crystal to DCO. Is there any other way to check if the clocks are working. 

  • Also do I have to manually configure the clock control registers?

  • Hi AK,

    I'm surprised that the example didn't work for you. Although I don't have the MSP430G2001 in front of me to test currently, all of the code examples are tested thoroughly before release. I would double check your HW to make sure you have all the connections correct. 

    Is there any other way to check if the clocks are working. 

    If you want to check the clock, you can route it to a pin. The datasheet has details on how to set PxDIR and PxSEL to accomplish this. Take a look at table 15 for an example on how to route SMCLK to a pin.

    Also do I have to manually configure the clock control registers?

    The device has a default clocking configuration. On this device it is the DCO. Take a look at this screenshot from the user guide:

    Hopefully that helps. Like I said, I would focus on figuring out why the example code doesn't work on your system. That example is for a system without an xtal which should match your system configuration.

    Regards,

    Evan

**Attention** This is a public forum