At the moment we are testing some source examples from SDK version 8.6 with LP-AM263x.
Our focus is on the FSI interface now.
I played with the FSI interface in loopback mode and DMA support (we tried the example from the SDK).
We had problems with the example in SDK version 8.5, but with SDK 8.6 the examples plays correct now.
In the next step, I tried to execute the fsi loopback dma example in an endless while loop.
Therefore I modifed the main loop of the example in that way:
I started a debug session, the debugger stops at the begin of the main function.
Now I placed a breakpoint the the function fsi_loopback_dma_main() and added the following variables to the watch expressions:
In the next step I started execution, the debugger stops the first time in front of the function fsi_loopback_dma_main()
In the next step I used the Step-Over function (F6) to execute the function fsi_loopback_dma_main() the first time.
The first execution functions without any problems, I got the following terminal output (SBL NULL log is included too)
The debugger stops again in front of the function fsi_loopback_dma_main().
Now I press F6/Step over again. The second execution of the function fails, terminal log is like this:
The function stops at the comparision of transmit and receive data of the FSI interface, I tried to check the receive data and saw, that the receive data have an offset.
gRxBufData should start with content 1, at the first execution of the function fsi_loopback_dma_main() there is no problem.
But with the second exection, the first received value is 33 (offset 32), all following values have this offset...
Now I tried to find the reason for this behaviour, but I can't find any problem in the initialisation of the FSI/DMA.
What can be the reason?