Hello,
we have a problem with our mipspi dma code.
I had another question related to this that got resolved, but i open a new thred, because i can upload our updated code. Link to old thread for backtracking: e2e.ti.com/.../1872323
We managed to send blocks and they are received, but the data is shifted to the left by 1 to 4 bits, depending on the chosen baudrate.
When we set the baudrate in HALCoGen to 125 KHz, the data is shifted by one bit, at 2000 KHz it is shifted by 4 bits. So i assume that some buffer is not fast enough and misses the first bits that are sent. But we could not find out, where this loss initially starts. Could you please have a look on our code and help us? Our code is in user_mibspi.c and the HALCoGen code is in HL_mibspi.c an HL_sys_dma.c.
Here is our ccs-project in a 7z archive:https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/312/6320.avionik.7z