LPSPI3 eDMA can't work

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

LPSPI3 eDMA can't work

413 Views
weber791024
Contributor I

Hello friends,

I'm using example

evkmimxrt1064_lpspi_edma_b2b_transfer_master and evkmimxrt1064_lpspi_edma_b2b_transfer_slave

to connect each other, when I change SPI1 to SPI3, it doesn't work, I didn't see any singal on Oscilloscope.

I modify the code that

#define EXAMPLE_LPSPI_MASTER_BASEADDR (LPSPI3)
#define EXAMPLE_LPSPI_MASTER_DMA_MUX_BASE (DMAMUX)
#define EXAMPLE_LPSPI_MASTER_DMA_RX_REQUEST_SOURCE kDmaRequestMuxLPSPI3Rx
#define EXAMPLE_LPSPI_MASTER_DMA_TX_REQUEST_SOURCE kDmaRequestMuxLPSPI3Tx
#define EXAMPLE_LPSPI_MASTER_DMA_BASE (DMA0)
#define EXAMPLE_LPSPI_MASTER_DMA_RX_CHANNEL 0U
#define EXAMPLE_LPSPI_MASTER_DMA_TX_CHANNEL 1U

and change routed pins for BOARD_InitPins,anything else do I need to modify?

Tags (1)
0 Kudos
0 Replies