I am trying out the AIF2 examples available an I get following phenomenon, concerning this lines of code:
ctrlArg = FALSE;
CSL_aif2HwControl(hAif2, CSL_AIF2_CMD_ENABLE_DISABLE_LINK_LOOPBACK, (void *)&ctrlArg);
After a board reset when ctrlArg is False the transfer is not done. Then I switch it to True and download the program again and the transfer is done. When I switch back to False the test passes as the transfer is done. I need to hw reset the board to have the transfer fail.
What is the right way to software reset the AIF2 in order to get a blank slate after each program download.