AnsweredAssumed Answered RT1050 SPI DMA

Question asked by Christian Gradl on Jun 28, 2018
Latest reply on Jun 30, 2018 by Christian Gradl


i have two rt1050 connected via LPSPI, one as master the other as slave

Master                    Slave

LPSP1                   LPSPI4

CS                          CS

CLK                        CLK

MISO                      MOSI

MOSI                      MISO


Master DMA TX and slave DMA RX are both working.

next i want to exchange data with one transfer, simultanous exchange.

while master is clocking data to slave, the slave should send data back to the master.

in the examples from the sdk, the master first sends data, waits until done and then initiate the receiving.

i want to do this in one transfer.

is this possible? when yes, how? is there an example how to this?