PLL programing in AVR (C-lang.)

Status
Not open for further replies.

somf0872

Member level 5
Joined
Oct 14, 2003
Messages
92
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
917
adf4106 avr

Hi everybody,

Is there any C-code (just for learning purpose or example codes) for AVR controllers in order to program PLL from analog devices (specifically ADF4106 or ADF4107)?

I want some idea about the programming structure of PLLs in C.

I mean how to set the counter, timer for Current steering, etc.... I have gone thru the datasheet of ADF4106. Although they expalined in detail which bit has to programmed in which way but I am confuse how to organize them in a c-code.

--X--
 

Hi

This type of PLL using SPI to program internal registers

First you have to learn how PLL work

Then calculate register value

Down load SPI code from ATMEL site

Program the register using the SPI port

All the best


Bobi
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…