Hi,
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?
Thanks.