RT1062 SAI EDMA Using Same Callback For both TX & RX?

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

RT1062 SAI EDMA Using Same Callback For both TX & RX?

697件の閲覧回数
vincentmokrc
Contributor I

It is possible for us to use only one callback for EDMA TX and RX? Currently the callbacks for SAI EDMA callback is separated into two callbacks.

ラベル(1)
タグ(4)
0 件の賞賛
返信
1 返信

671件の閲覧回数
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @vincentmokrc ,

Thanks for your interest in NXP MIMXRT series!

Yes, you can do this. Tx and Rx can be decoupled by using the passed *userData. e.g. when creating SAI EDMA handles, pass in different userData for TX and RX respectively, such as the addresses of txHandle and rxHandle.

Best regards,
Gavin

0 件の賞賛
返信