DAC clock configuration K20 MCU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DAC clock configuration K20 MCU

1,088件の閲覧回数
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,044件の閲覧回数
nxf58904
NXP Employee
NXP Employee

Hi,

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

 

0 件の賞賛
返信

1,062件の閲覧回数
blessed1234
Contributor I

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

 

0 件の賞賛
返信

1,069件の閲覧回数
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 件の賞賛
返信