This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
university:tools:m2k:tutorials:buildingaradiowithm2k [26 Feb 2020 14:04] Teo Perisanu change zip |
university:tools:m2k:tutorials:buildingaradiowithm2k [14 Jan 2021 05:38] Robin Getz use wiki interwiki links |
||
---|---|---|---|
Line 59: | Line 59: | ||
Controlling the radio implies controlling the output voltage frequency of ADF4350. A GRC block, integrated with M2k blocks, that controls the frequency can be created. no-OS provides a driver for ADF4350 that simplifies the work. This driver communicates using SPI. In the following steps we are going to create a GRC block for gr-m2k that uses libm2k communication segment integrated with no-OS drivers. | Controlling the radio implies controlling the output voltage frequency of ADF4350. A GRC block, integrated with M2k blocks, that controls the frequency can be created. no-OS provides a driver for ADF4350 that simplifies the work. This driver communicates using SPI. In the following steps we are going to create a GRC block for gr-m2k that uses libm2k communication segment integrated with no-OS drivers. | ||
- | - Install libm2k. Instructions can be found [[https://wiki.analog.com/libm2k|here]]. | + | - Install libm2k. Instructions can be found [[/libm2k|here]]. |
- | - Compile the gr-m2k blocks for your PC. Check the steps [[https://wiki.analog.com/university/tools/m2k/libm2k/gr-m2k|here]]. | + | - Compile the gr-m2k blocks for your PC. Check the steps [[/university/tools/m2k/libm2k/gr-m2k|here]]. |
- Download the ADF4350 driver from [[https://github.com/analogdevicesinc/no-OS/tree/d00cc225a264d03807cafc4bf6a133af69affa36/drivers/frequency/adf4350|no-OS page]]. | - Download the ADF4350 driver from [[https://github.com/analogdevicesinc/no-OS/tree/d00cc225a264d03807cafc4bf6a133af69affa36/drivers/frequency/adf4350|no-OS page]]. | ||
Line 102: | Line 102: | ||
**Create the implementation class** | **Create the implementation class** | ||
- | In this part we are going to integrate libm2k with a no-OS driver. For more information please check this [[https://wiki.analog.com/libm2k/digital_communication#libm2k_and_no-os_drivers|link]]. | + | In this part we are going to integrate libm2k with a no-OS driver. For more information please check this [[/libm2k/digital_communication#libm2k_and_no-os_drivers|link]]. |
Create //adf4350_sink_impl.h// and //adf4350_sink_impl.cc// in gr-m2k/lib. | Create //adf4350_sink_impl.h// and //adf4350_sink_impl.cc// in gr-m2k/lib. |