I'm trying to transmit 32 bytes on I2C bus using DMA and I'm using PE to configure this.
This is not working for me.
It works only if I place a break point on the CALL to LPI2C_DRV_MasterSendData(0,tx_buff1,34,1); in main and do a step over. That way I can see the CLK and DATA on the scope . I can't get it to work any other way.
I should mention that I could send and read back to the same slave device using PE in none blocking interrupt configuration with no issues at all .
I decided to go with DMA JUST TO REDUCE the CPU LOAD.
I started to this in 2 phases : DMA_TX and then DMA_RX however I'm stuck on1st phase.
I stepped through the code and looked at relevant registers, everything seems ok.
So at this point I need more eyes on this.
By the way I noticed that PE does not or incorrectly initializes DMAMUX. I DON'T KNOW IF THIS IS ABUG OR I MISSED SOMETHING, anyways I do initialize DMAMUX in project.
The project is attached, sorry for all the comment outs.