AnsweredAssumed Answered

How to read DAC's register in FMCOMMS1

Question asked by vibhsukhoi on Oct 28, 2014
Latest reply on Oct 28, 2014 by DragosB

Dear Support engineer,


I want to read few register-value from the DAC of FMCOMMS1.

I used following command in main.c:



/// SPI_Read(uint32_t spiSel, uint32_t regAddr, uint32_t* data)

uint32_t my_data;

SPI_Read(0x00, 0x0A,& my_data);

xil_printf("MY_DATA= %lld", my_data);




Gives : warning: implicit declaration of function 'SPI_Read' [-Wimplicit-function-declaration]

also it is not giving any output on terminal after launch on hardware