The ADF5902 is a 24 GHz transmitter (Tx) monolithic microwave integrated circuit (MMIC) with an on-chip, 24 GHz voltage controlled oscillator (VCO). The VCO features a fractional-N frequency synthesizer with waveform generation capability with programmable grid array (PGA) and dual transmitter channels for radar systems. The on-chip, 24 GHz VCO generates the 24 GHz signal for the two transmitter channels and the local oscillator (LO) output. Each transmitter channel contains a power control circuit. There is also an on-chip temperature sensor. Control of all the on-chip registers is through a simple, 4-wire serial peripheral interface (SPI).
The driver contains two parts:
The Communication Driver has a standard interface, so the ADF5902 driver can be used exactly as it is provided.
the Communication Drivers must include two things: SPI transmission methods and GPIO control methods.
For the SPI method, the ADF5902 driver calls three functions:
For the GPIO control methods, the ADF5902 driver calls three functions:
Source code documentation for the driver is automatically generated using the Doxygen tool and it is available at: