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.
Part Number: TMS320C6678
I have a custom baord with 2 DSP(C6678), and i can link up the Hyperlink between them when I power on 2 DSP at the same time(may roughly the same time) by using the Sample code of KeyStone_HyperLink_Init().
But when I individual re-power one DSP, I found it will stack at KeyStone_HyperLink_Init() function.(Another DSP wil go into While loop and never touch Hyperlink CFG anymore after Hyperlink linked up)
In KeyStone_HyperLink_Init(), it will stack at the bonded while loop:
/*---------wait for link status OK-------------*/ while(gpHyperLinkRegs->STS&CSL_VUSR_STS_SERIAL_HALT_MASK); while(gpHyperLinkRegs->STS&CSL_VUSR_STS_PLL_UNLOCK_MASK); while(0==(gpHyperLinkRegs->STS&CSL_VUSR_STS_LINK_MASK)); while(0==(gpHyperLinkRegs->LINK_STS&CSL_VUSR_LINK_STS_RX_ONE_ID_MASK));
So I guess there is some handshake when Hyperlink link up, and it may involve core also.
Would you please share me some doucment or Chat to show the handshake flow of the Hyperlink?
Is it possible that Individual Power on/off one DSP without affect the second DSP?
Please make sure you read the forum guidelines first.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Yordan Kovachev:
Thanks for your reply.
But I think the two documents did not answer my question clearly.
Anyway, Actually I am concern that what's the requirement to link up the Hyperlink by Asynchronous-reboot two DSP.
What's max. time limit between Asynchronous CFG Hyperlink?
Why I ask this is because:
I have tried following cases:
1. When I reboot two DSP with 2 CMD(ms order between them), the hyperlink will link up.
2. When I reboot DSP1 then wait for ~10s reboot DSP2, DSP1 link status(0x21400058) will be correct: 0xFDF0DFB, but DSP2 link status will be 0xCCFBDFB(Tx 0 lane active, Tx PLS not link with remote )
In reply to LI XIANG:
In reply to lding:
Thanks for your help.
It's found that once DSP1 CFG Hyperlink, if reboot DSP2, the link will broken.
I have find the way to re-cover the link be set register (Control Register, base address+0x04).
Do following to both DSP after two DSP power up:
1. Set Control register bit 0 (reset)
2. Release Control register Bit0.
3. Clear ECC Error counter register(+0x4c)
Hyperlink will link up and work.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.