cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous SAI DMA stream NDT are not the same

SeyyedMohammad
Senior III

0693W00000UFKfnQAH.pngAs you can see we have difference of about 40 (betwenn S0NDTR and S1NDTR). since A is master and B is slave they must both start at the same time by HAL_SAI_Transmit_DMA but as you can see NDR is not the same. I also checked that their values are the same right after befor SAIb2 becoming enable in HAL_SAI_Transmit_DMA. but right after this code I'm getting wrong value with break point. Note these numbers and their value are different on each reset. Could it be due to debugging lack of register synchronization?!

0 REPLIES 0