Page 1 of 1

I2s_write - how to get the "transfer complete" flag?

Posted: Fri Jan 11, 2019 5:32 am
by The_YongGrand
As the title said, I have placed an i2s_write in a task, and I want the task to wait for the transfer to complete. Is there a flag or a variable or a semaphore where I can see or get so that the particular task can wait for the transfer to complete?

From what I seen in the forum, I read that the i2s_write has all of these covered, but I'm porting a little program from Teensy where it need to wait for the transfer to complete before doing something.