The ADF4118 is a frequency synthesizer which can be used to implement local oscillators in the up-conversion and down-conversion sections of wireless receivers and transmitters. It consists of a low-noise digital PFD (Phase Frequency Detector), a precision charge pump, a programmable reference divider, programmable A and B counters and a dual-modulus prescaler (P/P+1). The A (5-bit) and B (13-bit) counters, in conjunction with the dual modulus prescaler (P/P+1), implement an N divider (N= BP+A). In addition, the 14-bit reference counter (R Counter), allows selectable REFIN frequencies at the PFD input. A complete PLL (Phase-Locked Loop) can be implemented if the synthesizer is used with an external loop filter and VCO (Voltage Controlled Oscillator).
The goal of this project (Microcontroller No-OS) is to be able to provide reference projects for lower end processors, which can't run Linux, or aren't running a specific operating system, to help those customers using microcontrollers with ADI parts. Here you can find a generic driver which can be used as a base for any microcontroller platform and also specific drivers for Renesas platforms.
HW Platform(s):
The driver contains two parts:
The Communication Driver has a standard interface, so the ADF4118 driver can be used exactly as it is provided. There are three functions which are called by the ADF4118 driver:
Driver architecture
The implementation of these three functions depends on the used microcontroller.
The driver for ADF4118 contains functions for initializing the device and for writing data into each register.
The following functions are implemented in this version of ADF4118 driver:
Function | Description |
---|---|
unsigned char ADF4118_Init(void) | Initializes the device. |
void ADF4118_Write(unsigned long data) | Writes data into a register. |
void ADF4118_Power(unsigned char powerMode) | Powers down or powers up the device. |
unsigned long long ADF4118_SetFrequency(unsigned long long frequency) | Sets the ADF4118 frequency. |
This section contains a description of the steps required to run the ADF4118 demonstration project on a Renesas RL78G13 platform.
An EVAL-ADF4118EBZ1 board has to be interfaced with the Renesas Demonstration Kit (RDK) for RL78G13:
9 Way D-Type connector Pin 3 (CLK) → YRDKRL78G13 J11 connector Pin 4 9 Way D-Type connector Pin 5 (DATA) → YRDKRL78G13 J11 connector Pin 2 9 Way D-Type connector Pin 7 (LE) → YRDKRL78G13 J11 connector Pin 1 9 Way D-Type connector Pin 8 (GND) → YRDKRL78G13 J11 connector Pin 5
This section presents the steps for developing a software application that will run on the Renesas Demo Kit for RL78G13 for controlling and monitoring the operation of the ADI part.
This section contains a description of the steps required to run the ADF4118 demonstration project on a Renesas RX62N platform.
An EVAL-ADF4118EBZ1 board has to be interfaced with the Renesas Demonstration Kit (RDK) for RX62N:
9 Way D-Type connector Pin 3 (CLK) → RDKRX62N J8 connector Pin 20 9 Way D-Type connector Pin 5 (DATA) → RDKRX62N J8 connector Pin 19 9 Way D-Type connector Pin 7 (LE) → RDKRX62N J8 connector Pin 26 9 Way D-Type connector Pin 8 (GND) → RDKRX62N J8 connector Pin 2
In this example, two values are loaded into R and N Counters and the MUXOUT is configured to be connected to the R Divider output.
This section presents the steps for developing a software application that will run on the Renesas Demo Kit for RX62N for controlling and monitoring the operation of the ADI part.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !