K22F FSL_CLOCK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K22F FSL_CLOCK

644 Views
oswaldo-153
Contributor III
Hello I do not know the function of the file fsl_clock. I want to make conditions so that I can choose which clock source to use,
 the modes of operation, divisors, and more. I'm working on the IAR compiler, MCUXpresso has the tools to guide me,
 but I do not want to be dependent on the software for the clock settings. But I think this file has those conditions but I'm not sure, can someone advise me?
Labels (1)
0 Kudos
1 Reply

544 Views
marek-trmac
NXP Employee
NXP Employee

Hi Oswaldo,

fsl_clock is a driver for bus and core clock configuration of the selected device. You can write your own code to call the functions from this driver in right order or you can you Config Tools, that will generate the initialization code for you.

If you want to use source clock for ADC peripheral, you can use peripheral tool, that allows to configure ADC driver (including source clock)

You can also start with any example project provided inside the SDK package.

Regards

Marek

Regards,
Marek
0 Kudos