Hi,
I'm using SCI communication between a TMS570 and an external module. I'd like to use it in interrupt mode, and potentially incorporate DMA, but I am unsure how to do this properly.
I generated an SCI driver with halcogen, but I am not sure how to incorporate reading messages with varying bit lengths. The generated receive function has an input parameter for the size to receive. Do I need to add the size to the beginning of the message, read that in, and then read the number of bytes that it specifies? Is this possible to do with DMA if I am receiving messages of different lengths?
Thanks,
Dave