This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
参考了www.deyisupport.com/.../142898.aspx 帖子的设置,也没有出来预期波形。
关于DATALOG的设置如下:
int *iptr1; /* Input: First input pointer (Q15) */
int *iptr2; /* Input: Second input pointer (Q15) */
int *iptr3; /* Input: Third input pointer (Q15) */
int *iptr4; /* Input: Fourth input pointer (Q15) */
// Initialize DATALOG module
dlog.iptr1 = &temp_buf1;
dlog.iptr2 = &temp_buf2;
dlog.iptr3 = &temp_buf3;
dlog.iptr4 = &temp_buf4;
dlog.trig_value = 0x1;
dlog.size = 0x400;
dlog.prescalar = 1;
dlog.init(&dlog);
/* select which of the variables are behing displayed trough data LOG */
temp_buf1 = (int)_IQtoIQ15(rg1.rmp_out);
temp_buf2 = (int)_IQtoIQ15(svgen_dq1.Ta);
temp_buf3 = (int)_IQtoIQ15(svgen_dq1.Tb);
temp_buf4 = (int)_IQtoIQ15(svgen_dq1.Tc);
缓冲区长度400.Q(15)
以上是两种配置下的波形,区别在于start address,其他配置一样,但出不来马鞍形波。
请各位老师帮忙指导下,先谢谢各位了。