I am trying to implement SRIO post function for TCI6486 EVM board but it seems not working for SRIO external loopback.
SRIO loopback example is working for both TCI6486 post and TCI6486 CSL SRIO loopback example but external loopback function is failed.
It seems SRIO register setting conflict for both of post routine and CSL SRIO external loopback example.
1. TCI6486 post: “srioRegs->PORT[i].SP_ERR_STAT” returned error and it meaned SRIO was not initialized.
Please refer to “TCI6486_post_noloopback.rar” and “TCI6486 post.doc”
(data & CSL_SRIO_SP_ERR_STAT_PORT_OK_MASK ) != CSL_SRIO_SP_ERR_STAT_PORT_OK_MASK)
2. TCI6486 CSL SRIO external loopback example:
response.data & 0x1 returned returned error and it meaned SRIO was not initialized.
Please refer to “srio_external_loopbk_example_fail.rar” and “CSL SRIO external loopback example.doc”
( CSL_srioGetHwStatus (hSrio, CSL_SRIO_QUERY_SP_ERR_STAT, &response); )