4 Replies Latest reply on Aug 4, 2020 4:10 AM by AH_96

    PSoC 6 DMA Not Working on CM4




      I am trying to use a piece of code from a co-worker that is communicating with a micro SD by SPI using DMAs. The code was originally running on the CM0+, but for my application, I wanted to have it run on the CM4. I have copied the corresponding blocks from the TopDesign (I am using PSoC Creator) and enabled the interrupts in the CM4 instead of the CM0+. Everything builds fine, but when I try to run the application, I get a fault which seems to happen when the interrupt of the DMA triggers (I never reach the ISR).


      I tried to run my application on the CM0+ and everything works fine.


      Any idea what might be causing this?

      Unfortunately, I cannot share my code, but I hope someone will be able to help me find a way to make it work.