I have PicoZed SDR SOM Z7035/AD9361 Development Kit. I need to have opportunity to create firmware to work with AD9361 without libiio or matlab.
I have read the list of baremetal functions here https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/baremetal and saw the files here https://github.com/analogdevicesinc/no-OS/tree/master/ad9361/sw/platform_xilinx .
Now I know how I can set LO frequency of a port or bandwidth of a port.
In https://github.com/analogdevicesinc/no-OS/blob/master/ad9361/sw/platform_xilinx/dac_core.c I see dac_write and dac_read functions. If I understand right, it should help me with transmit data.
There are source of dac_write:
Xil_Out32(AD9361_TX_0_BASEADDR + regAddr, data);
I understand what is 'regAddr'. I can see list of DAC registers here https://github.com/analogdevicesinc/no-OS/blob/master/ad9361/sw/platform_xilinx/dac_core.h or here https://wiki.analog.com/resources/fpga/docs/hdl/regmap .
But I can't understand what the register I need to just send data to radio broadcast. For example I have the number 0xFF and I want to send it to DAC and then to transmitter. What the register am I need?