I am using CN-0507 with ADICUP3029 board to create a new application, but i can not get the result from the board,.So,is there any example for create a new application? How can i send command and how can i receive the results.
Looking at other CN0507 inquiries, does this answer your question:
The serial protocol is described here:
This should give you a starting point for creating a new application.
The Return Values of cmd_normal in the Command List is ADC code. What does Reference voltage ADC code mean? How to process In-phase voltage ADC code, Quadrature voltage and Reference voltage ADC code into S-parameters or the same data format as other vector network analyzers?
The ADC codes are the unsigned integer measurements from the internal ADC of the ADuCM3029. The ADC has been configured to use an internal 2.5V as reference. To convert the ADC codes into the correct in-phase and quadrature voltages, follow the steps below:
1. Convert the ADC code into voltage:
V_inphase = (Reference_inphase_ADC_Code) * 2.5 volts / (2^12)
V_reference = (Reference_voltage_ADC_Code) * 2.5 volts / (2^12)
2. Remove the reference voltage from the measurement
V_inphase_final = V_inphase - V_reference
The s-parameters could then be computed from the V_inphase_final and the V_quadrature_final as discussed here https://www.analog.com/media/en/reference-design-documentation/reference-designs/cn0507.pdf.
Thank you for your reply.I can get the V_inphase_final and V_inphase_final V_quadrature_final, to get S11 I should do further processing. From https://www.analog.com/media/en/reference-design-documentation/reference-designs/cn0507.pdf. the S11 function can be writen as
S11=(Port1_receive_V_inphase_final + j Port1_receive_V_quadrature_final)/(Port1_forward_V_inphase_final + j Port1_forward_V_quadrature_final)
Is my understanding correct?