This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it possible to operate SPI slave in a way DMA generates END event when given number of bytes is transferred ?

In my case active CE signal defines byte boundaries - for each byte individually.
From what I see, DMA seems to stop on rising edge of CS regardless what is declared in MAXTX, MAXRX. So assuming that semaphore is in a SPI state, start of DMA transaction is determined by falling edge of CS and end of DMA transaction is determined by rising edge of CS.

Parents Reply Children
No Data
Related