Part Number: TMS320F280039
Hello,
I have a 16kHz timer interrupt that calls its own isr.
Into the ISR I trigger a dma to transfer 6 words from a buffer to the SPI TX FIFO (burst size = 1 and transfer size = 6). I also configured another dma to read the related 6 words from the SPI RX FIFO and move them to another buffer. So far so easy: with one dma start I can transfer my buffers entirely and the sequence restart at the next timer interrupt.
What I'm struggling with is this: I need to trigger a CLA task after each burst transfer, meaning that I need the CLA task running 6 times, once per each burst.
Ideally, I would like to use the timer isr to start the SPI/DMA transaction and to handle "slow" calculations, whilst I need to do some fast computing every time I get a fresh word from the SPI.
Is that possible in some way? Please note that I cannot have more than one ISR registered in the CPU because its cycle must be extremely deterministic.
Thank you!