Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 24339

Re: AD-FMCOMMS3-EBZ HIL example: QPSK modulation with raised cosine filter

$
0
0

Hi Arnd,

 

Thanks for posting the updated model. I too, am getting the switch between states, with a clear constellation being observed only briefly at regular intervals. I'm using a ZC706 with an AD-FMCOMMS3-EBZ board.

 

By the way, if I were to add a Phase / Frequency Offset block to the model, as described in the data verification step here: http://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/datafiles, how can I go about defining the initFcn simulink callback, so as to compute the PhaseOffset from the input data?


In the following code snippet, I assigned x and y to a constant value and I'd like to know how I can extract the appropriate values from the simulink model to feed as input to x and y:

x = 2;

y = 2;

[keypointx,I] = max(x);

[keypointy] = y(i);

degree = atan(keypointy/keypointx);

PhaseOffset=-degree/pi*180;

 

Regards,

 

Elvis Dowson


Viewing all articles
Browse latest Browse all 24339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>