필터 지우기
필터 지우기

How does "HW/SW Co-Design QPSK Transmit and Receive Using Analog Devices AD9361/AD9364" configure the register in ad9361?

조회 수: 1 (최근 30일)
Hi,
I've been following the example: HW/SW Co-design QPSK Transmitter and Receiver Using Analog Devices AD9361/ AD9364 Hardware Generation Model with the FMCOMMS5 and ZC706 platform. I cannot find the relevant code of configuring ad9361 register through SPI in the generated C code. How does the generated code configure AD9361 on the board?

답변 (1개)

Ciaran Toner
Ciaran Toner 2020년 10월 20일
Hi Xiaoxiao, our code does not explicity control the AD9361 by SPI. The AD9361 is configured by using kernel drivers which are provided by ADI.
  댓글 수: 3
Xiaoxiao Liu
Xiaoxiao Liu 2020년 11월 1일
And is it possible to download the generated code to SD card, in order to run the code as soon as the device is powered on?
Ciaran Toner
Ciaran Toner 2020년 11월 6일
Hi Xiaoxiao,
There are advanced ways of doing this, if the property is an IIO attribute.
Over ssh you can run the iio tools on the embedded system. You can then create a function block that invokes these iio tools on the board with some handwritten code.
If you need the code to run on startup you can generate the elf for the code, then copy it the root of the SD card. Finally you should modify the init.sh file to launch the code on startup.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Analog Devices ADALM1000 Support from Data Acquisition Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by