Hi,

I want to ask that in AD9361, we have a 12-bit DAC. So when I used the linux drivers to transmit the BPSK waveform, I used the scaling factor of 2048. So samples were mapped like [1,-1] to [2048, -2048] but I did not get the required power. But then I thought that since the driver used 16 bit integer, therefore the mapping should be liked [1,-1] to [32767,-32767].

So is 32767 the correct scaling factor that will give me the maximum power out of the DAC ?

Yes and No.

The samples are MSB aligned - so you need to shift left by 4.

See here: https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/basic_iq_datafiles

-Michael