Tool/software: Code Composer Studio
Hi,
I am using tm4c129xnczad controller.Here my doubt is i need to use one gpio pin which it should work as clock signal means i need to vary the frequency.So can you please tell me how can i do that
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.
Tool/software: Code Composer Studio
Hi,
I am using tm4c129xnczad controller.Here my doubt is i need to use one gpio pin which it should work as clock signal means i need to vary the frequency.So can you please tell me how can i do that
Hi,
You can use DIVSCLK pin to output a divided clock based off your selected clock source. Below is the description. You can find more details in the datasheet by searching DIVSCLK.
The API to use will be SysCtlClockOutConfig(). See below. Please consult with your device specific datasheet on which GPIO pin the DIVSCLK is connected to.