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.

MSP430 Gang Programmer - Adding DCO Calibration for Value Line Parts

Other Parts Discussed in Thread: MSP-GANG, MSP430WARE

Dear TI,

Is it possible to add DCO calibration options to the MSP430 gang programmer or provide the code set that is there today for the F2xx devices?  We are using the G2332 which has the DCO values stored in INFO A and we want to check and apply calibrations to these DCO values.  See picture attached

 

 

 

 

  • Hi Jason,

    Adding a check (beyond what is already in place) would not be possible without the source for msp-gang.exe, which I don't believe is provided (I didn't see it in the download).

    However, there are a couple of options.  We provide the DLLs, along with a demo in the \MSP-GANG\Examples\CPP_Interactive_MSP_DLL\ folder of the MSP-GANG installation,  for interfacing a PC with the MSP-GANG.  Your customer could use this demo app as a framework and modify to perform a two-stage calibrate/finalImage flash process.  We provide source for an application in MSP430Ware that reflashes the DCO calibration constants into INFO A.

    8867.msp430g2xx2_dco_flashcal.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    /* --COPYRIGHT--,BSD_EX
    * Copyright (c) 2012, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    You could also just build the above demo application code and flash it first to recalibrate and then flash the end application over it.

  • Michael,
    Thanks for getting back to Jason on this, I appreciate the pointers.

    Jason,
    Do either of the above approaches seem feasible to you?  I like the simplicitiy of the second option, though it would add time to the end-of-line procedures for the customer.

    Regards,
    Walter

  • Dear TI,

    Yes one of these approaches should work.  I was hoping the source for the programmer was available but we can make due with one of the other options.

**Attention** This is a public forum