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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

669 次查看
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 回复

643 次查看
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 项奖励
回复