你好,我在测试c6657的upp接口时,发送数据,按照用户手册配置完后,FPGA那边抓取信号只能收到upp的空闲寄存器的值,其他的数据和时钟信号都收不到,请问是什么原因?求解答,谢谢!
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.
你好,我在测试c6657的upp接口时,发送数据,按照用户手册配置完后,FPGA那边抓取信号只能收到upp的空闲寄存器的值,其他的数据和时钟信号都收不到,请问是什么原因?求解答,谢谢!
upp_fill_buffer(xmtBuffer, dataWidth, UPP_DP_RJUST_0FILL, xferSize); // fill transmit buffer with test pattern
//upp_fill_buffer(rcvBuffer, 0, UPP_DP_RJUST_0FILL, xferSize); // clear receive buffer
upp_pinmux_enable(); // Though internal loopback, enable uPP in PIN_CONTROL_1
*(int*)UPP_CLOCK = 0x00000000;
*(int*)UPPCR = *(int*)UPPCR | 0x10;
LOCAL_delay(200);
*(int*)UPPCR = *(int*)UPPCR & 0x00;
//发送模式
*(int*)UPCTL = 0x00000001;
*(int*)UPICR = 0x05380538;
*(int*)UPIVR = 0x0FFF0F66;
*(int*)UPTCR = 0x00000000;
*(int*)UPDLB = 0x00000000;
*(int *)UPID0 = (unsigned int )xmtBuffer;
//*(int *)UPID1 = (unsigned int )(lineCnt<<16 | xferSize / lineCnt);
//*(int *)UPID2 = (unsigned int )(xferSize / lineCnt);
*(int *)UPID1 = 0x00024000;
*(int *)UPID2 = 0x00004000;
这是我的初始化寄存器配置,发数模式,与FPGA联调检测不到upp时钟信号,示波器接管脚也没有时钟,请问什么原因?