Hi,
I configured SCI for Multi buffer mode of LENGTH 8 bytes and I receive 16 bytes at every 5 ms.
DMA CH-1 basic configuration:
1. TTYPE - Frame transfer
2. Frame count - 2
3. Element count - 2
4. Element src index offset - 4
5. Element dst index offset - 4
6. Frame dst index offset - 8
I have requirement wherein I need to wait until I receive 'first' set of 16 bytes.
My understanding of DMA interrupt flags:
1. FTCIntFlg - This flag will be set at the end of 'every' frame and not when total frames (in my case 2 frames) are received.
2. BTCIntFlg - This flag will be set at the end of last frame ( in my case 2 frames)
As I cannot use FTCIntFlg which gets set after receiving first frame of 8 bytes, Is it correct and safe to poll BTCIntFlg even if the Transfer Type is configured as Frame transfer and not as Block transfer.
Thanks,
Jaiganesh