Tool/software: Code Composer Studio
Hello,
The following problem is one of the outcomes related to a previous post, where a data transfer via DMA to/from the UART FIFOs is not working properly.
One of the problems that UART DMA transfer is not working as expected is due to the fact, that the buffers that receives the data and holds the data that is being transmitted are not 128[byte] aligned although we added the __attribute__ ((aligned (128))) instruction as shown in the below picture.
The situation is as follows:
1) The structure SafetyCardOutputBuffer is a member variable of a C++ class.
2) The structure SafetyCardOutputBuffer is not 128[byte] aligned.
3) The instance of the class is being created on the system heap as follows:
UartCyclicChannel* cUartCyclicChannel = {NULL};
cUartCyclicChannel = new UartCyclicChannel(0);
4) I use CCS version 7.4.0.00015 with GNU v6.3.1(Linaro) compiler
Please let me know if you need further details.
Thanks,
Andreas
