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.

  • TI Thinks Resolved

MSP430I2031: OFIFG bit gets set after clock initialization

Prodigy 130 points

Replies: 14

Views: 493

Part Number: MSP430I2031

As soon as we call InitClock_g function, which just sets external resistor for clock, OFIFG bit gets set, if we clear it after that it remains clear.

 

/* --------------------------------------------------------------------- */

/*

Clock initialisation.

*/

void InitClock_g( void )

{

  CSCTL0 |= DCOR;            /* External Resistor for clocking */

}

cid:image001.png@01D52546.C4694770

  • In reply to Ashish Kubal1:

    Hi Ashish,

    This tells me the 20k resistor you are using is probably not accurate enough. Is it a 0.1% resistor?

    From the users guide, page 121.

    Dennis Lehman

  • In reply to Dennis Lehman:

    We are using 20 K Ohm, +/- 0.5%, 1/16W, 25ppm

    Regards,

    Ashish

  • In reply to Ashish Kubal1:

    Any chance you can replace with a 0.1% resistor, as recommended in the datasheet, and see if that fixes the problem?

    Dennis Lehman

  • In reply to Dennis Lehman:

    Hello Ashish,

    I haven’t heard from you for a couple of days now, so I’m assuming you were able to resolve your issue with the 0.1% resistor.
    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.

    Dennis Lehman

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.