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.
Thank you for your reply.I have browsed the information on this webpage
In Creating A New PC Applications part,I set the same serial port parameters as the UART Configuration part. When I send the 0X00040501 command and receive 0x0007050101aaaa, it means that the serial communication is successful. But when I tried to send the cmd_normal command to sweep the module from 1.7GHz to 3.4GHz, I found that the received data was 0x00060803aaaa, and then I used the serial monitor software to find that the cmd_normal sent by clicking the Start Sweep button on the GUI interface was 0x08f2, which was not in the Command List. 0x0803. I send 0x001108f26553f100caa7e200040d990000 through the serial port and the number of bytes in the Command Output part received is 312 which cannot correspond to the Return Values in the Command List. I want to know if there is a problem with the Command List part?
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?