Hi , I am trying to configure the spi master with dma enabled based on the project Spi_Transfer_S32K344 provided by S32 DS 3.5. I just added two dma channels in the mcl module and generated the code. The compilation succeeded. When I tried to execute the code , I encountered the following error :
When seems to be caused by the two added dma channel.
Do you probably know how to fix this error? For your reference, I have attached the project. Thank you in advance.
Solved! Go to Solution.
I found the reason why it failed. I need to enable the dma in mcu configuration. The issue can be closed.
Is the MCAL MCU module required to enable these clocks? Does it do something besides writing the PRTN COFB CLKEN registers?
I'm seeing eDMA TCD clock registers in MC_ME enabled by Clock_Ip_Init() if I just use the low-level RTD drivers, but I'm still getting a hardfault when attempting a DMA transfer
I found the reason why it failed. I need to enable the dma in mcu configuration. The issue can be closed.