Tool/software: Code Composer Studio
Hi All,
I want to use PWM to set the clock to 24MHz of a fingerprint scanner module. I have written the following code:
ui32Clock = SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ|SYSCTL_OSC_MAIN|SYSCTL_USE_PLL|SYSCTL_CFG_VCO_480),24000000);
PWMClockSet(PWM0_BASE,PWM_SYSCLK_DIV_16);
clockget = PWMClockGet(PWM0_BASE);
The clock frequency I'm getting is 259.
What parameters or api's should be used to get the PWM frequency to 24MHz.
Regards
Rohit