AnsweredAssumed Answered

How to reuse SAI_TransferSendEDMA in KSDK 2.0

Question asked by Oleg Lavrukhin on Jun 27, 2016
Latest reply on Jul 11, 2016 by Jan Kedzierski

Hello, community!

I have a problem with SAI EDMA driver for FRDM-K64f (and for FRDM-K82). I used an example of SAI EDMA driver from SDK2.0 pack for TWR-K64. it work fine, but only once!

I used a example code from "sai_edma_transfer_twrk64f120m"  for two parts - "sai_init"  and "sai_play". and try to call "sai_play" repeatedly.

at First time a data transfer takes place without problems, but at second time data is not sent because it is not processed callback function.

I am a bit do not understand how to use the new KSDK 2 drivers as they differ significantly from previous versions.

May be community help me with realisation of repeatedly call SAI_TransferSendEDMA() function???

I attached a project, and wait for help!!!

Regards, Oleg

Original Attachment has been moved to: sai2.zip

Outcomes