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;
Thank you.