hello,
now,i study serdes loopback test of the c6457's srio interface. the project is NWRITE transcation of direct I/O operation.so,some questions i encounted as the following:
1. i use the ti offical example called srio_lsu example of c6457 srio in the c6457 csl library to modify.in the srio_lsu example, it operates in the digital domain which configure "loopback" is equal to 1 in the PER_SET_CNTL register. so, i have a question, since system is operate in the digital domain and the data is not pass the SERDES,why to configure the SERDES?
2.now,i will use the serdes to make a serdes loopback test,so i configure "loopback" equaled to 0 so that system operates in the normal mode. TXN0 connect RXN0 and TXP0connect RXP0, we pass the data from the TX0 to the RX0 using the serdes loopback.how can i to program?
3. Looking at the relevant data documents, how to subcontract when the data is larger than 4096,? My approach is to use the for-loop method, executing csl_sriolsusetup () function multiple times, at the end , delay 100 clock cycles per one for loop. However, the result of this is that you can get the correct data when you're performing a single step, and when you're running at full speed, the program will get stuck. What's going on here? Is there a delay time with the delay function? If so, how can you set the delay time?
4. In the serdes loop test, how to interrupt CPU with doorbell packet? which register should be set when programming?