DAC clock configuration K20 MCU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DAC clock configuration K20 MCU

1,047 次查看
blessed1234
Contributor I

I am new to ARM Programming. I am using K20 SERIES MCU MK20D6256H and Keil Uvision I want to configure the clock for DAC. I searched through the reference manual which says Bus clock drives DAC. and "MCGOUTCLK divided by OUTDIV2 clocks the bus slaves and peripheral (excluding memories)" Please help me in Configuring the registers of MCG to get the desired configuration of Clock for DAC. Reference Manual :https://www.nxp.com/docs/en/reference-manual/K20P64M72SF1RM.pdf#page=155&zoom=100,0,0 refer to page 157 and 161

标签 (1)
0 项奖励
回复
3 回复数

1,003 次查看
nxf58904
NXP Employee
NXP Employee

Hi,

You can choose xx10 ,the max is 100Mhz,you can set it as 72mhz.

 

0 项奖励
回复

1,021 次查看
blessed1234
Contributor I

Thanks for the reply.But the link you shared does not contain support for MK20DX256xxx7

 

0 项奖励
回复

1,028 次查看
nxf58904
NXP Employee
NXP Employee

Hi,

The MCG comes out of reset configured for FEI mode.

This means bus has clock . At this moment , you can configure and use the DAC .

nxf58904_0-1610522730966.png

And here has SDK code for k20 .https://mcuxpresso.nxp.com/en/welcome

It includes the examples for K20.

 

0 项奖励
回复