1991978_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

1991978_en-US

1991978_en-US

eDMA ping-pong buffer sorting

Good day to all!
I use IMX8ULPIEC processor and i programming SAI interface under m-33 core.
I receive data in the format ABC_ABC_ABC_ABC... via eDma using the SAI_TransferReceiveLoopEDMA() function and thus receive a ping-pong buffer for two arrays storing ABCABCABC alternately.
However, I would like the data after reception to look like this: AAAA......BBBB......CCCC...(end) and also issued alternately in two buffers as in the ping-pong buffer.
Is it possible to do this within one eDMA stream without stopping reception? Are there any examples of similar packaging?

Thanks in advance.

i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlusi.MX8ULPRe: eDMA ping-pong buffer sorting

I figured out the problem.
I had to change the function SAI_TransferReceiveLoopEDMA() a little, called it SAI_TransferReceiveLoopEDMASetuped().
If someone encounters a similar problem, I am attaching a file with the source code of the modified function and its application.

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 03:11 PM
更新者: