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.

MSP430FR2355: Try get 100 us Timer Interrupt

Part Number: MSP430FR2355


Hi,

I am using MSP430FR2355 with RF433Mhz Sensor. I want to decode the RF433Mhz Sensor Receiverer data and for this I have to setup the timer around 200 us or 100 us Tigger. 

msp430 Library is confusing using the timer. I just want simple timer which will generate the 100 or 200 us Interrupt, which timer I can use for this operation ?

I had gone through the data-sheet of the MCU, In timer section explain about the 4 mode of timer operation, so which would be suitable of timer ?

MSP430FR2355  Running with internal clock with 16 Mhz Frequency, Please review the clock setup once.  For the timer which clock can I use to generate the delay ?

Clock Setup.

void msp_system_clock_initialization(void) {
    // Configure one FRAM waitstate as required by the device datasheet for MCLK
    // operation beyond 8MHz _before_ configuring the clock system.
    FRCTL0 = FRCTLPW | NWAITS_1;

    __bis_SR_register(SCG0);                           // disable FLL
    CSCTL3 |= SELREF__REFOCLK;                         // Set REFO as FLL reference source
    CSCTL1 = DCOFTRIMEN_1 | DCOFTRIM0 | DCOFTRIM1 | DCORSEL_5;                         // DCOFTRIM=5, DCO Range = 16MHz
    CSCTL2 = FLLD_0 + 487;                             // DCOCLKDIV = 16MHz
    __delay_cycles(3);
    __bic_SR_register(SCG0);                           // enable FLL
    Software_Trim();                                   // Software Trim to get the best DCOFTRIM value

    CSCTL4 = SELMS__DCOCLKDIV | SELA__REFOCLK;        // set default REFO(~32768Hz) as ACLK source, ACLK = 32768Hz
                                                      // default DCOCLKDIV as MCLK and SMCLK source
}

**Attention** This is a public forum