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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

710 Views
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.

Labels (1)
Tags (4)
0 Kudos
Reply
1 Reply

684 Views
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 Kudos
Reply