Hi,
I'm following DN113 to connect two CC2430 via SPI. Without DMA it works fine, but when I add DMA (4.1.3 of DN113) I have some questions:
- Page 12: I understand that first it configures DMA, then it configures the flags for the later interrupts. But what is happening in the interruption dma_IRQ(void)? I mean, from where it's getting the information to send via SPI? I don't know what I have to do to send 10bytes of information using DMA. Without DMA it's easy because you directly write on the buffer, but now I'm lost.
- The following thing it does is to set some registers, and after pulling SSN to high it begins to send like in background mode, am I wrong?
Thanks
P.D: I'm using TIMAC, I don't know if this information is useful.