This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430FR5994: Disabling register optimizations breaks DMA, possible compiler bug.

Part Number: MSP430FR5994

Tool/software: Code Composer Studio

So I am working on some code for the MSP430FR5994 using driverlib and UCIAB0 in I2C slave mode with DMA channels 0+1 using Triggers 18 and 19. The code functions as expected with register optimizations turned on however the receive DMA does not function if they are turned off. I am not sure how to even begin to debug this issue. But it would seem there is a bug in the compiler with optimizations set to off.

If I have some time I'll try dumping the generated assembly and diffing but right now I need to focus on getting this thing working and out the door.