In S32K144 Used Spi_AsyncTransmit have some problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

In S32K144 Used Spi_AsyncTransmit have some problem

331 Views
Emiya
Contributor I

Hi, I want configure SPI Dma Fast transfer for a Sequence.by EB tresos. But in its User Manual  it sad :

Number of ScatterGather elements will equal to SpiMaxDmaFastTransfer ∗ 2 + total number of Jobs in
Sequence.

Why total number of Jobs in Sequence have to use a ScatterGather elements.And this ScatterGather elements  Where it should link to.

 

 

0 Kudos
1 Reply

233 Views
cuongnguyenphu
NXP Employee
NXP Employee

As I understand, in normal DMA, the TCD will be setup at the end of each channel/ Job.
in Dma Fast transfer, we use Scatter/Gather to do that job. That why Scatter/Gather element number = SpiMaxDmaFastTransfer ∗ 2 + total number of Jobs

0 Kudos