各位专家好!
测试环境:6678+CCSv5.2
使用论坛中例程K1_STK_v1.1中的SRIO程序,进行SERDES_Loopback测试,测试速率5G,参考时钟312.5M(与例程相同),测试结果与例程文档中给出的参考结果不同:
其中每种测试的速率都比例程慢一倍,最高速率1816 Mbps,而参考结果的最高速率为3624Mbps。
请问:1.为什么会出现这种现象呢?
2.在配置传输速率的过程中,除了参考时钟和传输速率,还需要对其他参数进行配置吗?
以下为板子上跑的部分结果:
[C66xx_0] JTAG ID= 0x1009e02f. This is C6678/TCI6608 device, version variant = 1.
[C66xx_0] DEVSTAT= 0x00001a21. little endian, No boot or EMIF16(NOR FLASH) or UART boot, PLL configuration implies the input clock for core is 100MHz.
[C66xx_0] SmartReflex VID= 63, required core voltage= 1.104V.
[C66xx_0] Die ID= 0x0400300a, 0x04044d3f, 0x00000000, 0x71520001
[C66xx_0] Device speed grade = 1000MHz.
[C66xx_0] Enable Exception handling…
[C66xx_0] SRIO_SERDES_LOOPBACK test start……………………………………..
[C66xx_0] Initialize DSP main clock = 100.00MHz/1×10 = 1000MHz
[C66xx_0] SRIO link speed is 5.000Gbps
[C66xx_0] SRIO path configuration 1xLaneA
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 8 bytes, 1110 cycles, 57 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 16 bytes, 1039 cycles, 123 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 32 bytes, 1243 cycles, 205 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 64 bytes, 1279 cycles, 400 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 128 bytes, 1820 cycles, 562 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 256 bytes, 2689 cycles, 761 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 512 bytes, 3814 cycles, 1073 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 1024 bytes, 6054 cycles, 1353 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 2048 bytes, 10427 cycles, 1571 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 4096 bytes, 19343 cycles, 1694 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 8192 bytes, 37245 cycles, 1759 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 16384 bytes, 72897 cycles, 1798 Mbps, completion code = 0
[C66xx_0] SWRITE from 0x10802200 to 0x1080a200, 32768 bytes, 144323 cycles, 1816 Mbps, completion code = 0
以下为例程文档中给的参考结果:
JTAG ID= 0x1009e02f. This is C6678/TCI6608 device, version variant = 1.
DEVSTAT= 0x00010081. little endian, No boot or EMIF16(NOR FLASH) or UART boot, PLL configuration implies the input clock for core is 50MHz.
SmartReflex VID= 47, required core voltage= 1.001V.
Die ID= 0x02011014, 0x04010169, 0x00000000, 0x40680021
Device speed grade = 1000MHz.
Enable Exception handling…
SRIO_SERDES_LOOPBACK test start……………………………………..
Initialize DSP main clock = 100.00MHz/1×10 = 1000MHz
Initialize DDR speed = 66.67MHzx/1×20 = 1333.333MTS
SRIO link speed is 5.000Gbps
SRIO path configuration 1xLaneA
SWRITE from 0x10802200 to 0x1080a200, 8 bytes, 702 cycles, 91 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 16 bytes, 807 cycles, 158 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 32 bytes, 808 cycles, 316 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 64 bytes, 832 cycles, 615 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 128 bytes, 1169 cycles, 875 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 256 bytes, 1612 cycles, 1270 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 512 bytes, 2129 cycles, 1923 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 1024 bytes, 3153 cycles, 2598 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 2048 bytes, 5572 cycles, 2940 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 4096 bytes, 9866 cycles, 3321 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 8192 bytes, 18814 cycles, 3483 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 16384 bytes, 36801 cycles, 3561 Mbps, completion code = 0
SWRITE from 0x10802200 to 0x1080a200, 32768 bytes, 72333 cycles, 3624 Mbps, completion code = 0
Shine:
请问是在EVM板上跑还是在自己的板子上跑?
biqing sun:
回复 Shine:
您好!是在自己板子上跑的
Shine:
回复 biqing sun:
请问DSP clockin是100MHz吗?
biqing sun:
回复 Shine:
您好!从打印信息来看是这样的