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.

Bug in DMA MPU config with HalCoGen 03.04.00

Other Parts Discussed in Thread: HALCOGEN

The function dmaEnableRegion has a bug at enabling/disabling interrupt.

Original line:

dmaREG->DMAMPCTRL |= ((intenable << (region*8U)) + 3U);

For correct functionality it must be:

dmaREG->DMAMPCTRL |= intenable << ((region*8U) + 3U);

BR

Christian