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.

MSP430FR5994: Set the delay for 0.1us

Part Number: MSP430FR5994

Tool/software:

Hi TI support team,

Could you please provide guidance on how to set the GPIO to trigger with a delay of 0.1 microseconds?

This is my current setup for the system clock.

//initialize Clock System DCO = 8MHz
CS_setDCOFreq(CS_DCORSEL_0 , CS_DCOFSEL_6); // Set the DCO to 8MHz

// Configure clock source and clock dividers.
CS_initClockSignal(CS_MCLK , CS_DCOCLK_SELECT , CS_CLOCK_DIVIDER_1); // MCLK=DCOCLK/1=8MHz
CS_initClockSignal(CS_SMCLK , CS_DCOCLK_SELECT , CS_CLOCK_DIVIDER_1); // SMCLK=DCOCLK/1=8MHz
CS_initClockSignal(CS_ACLK , CS_LFXTCLK_SELECT , CS_CLOCK_DIVIDER_1); // ACLK=LFXT1/1=32768Hz

I measured the GPIO pin with an oscilloscope, and the delay is approximately 0.6 microseconds.

P3OUT |= BIT2;

P3OUT &= ~BIT2;

Thank you.

**Attention** This is a public forum