(LPC 54102) SPI 0 to DMA to SPI 1

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

(LPC 54102) SPI 0 to DMA to SPI 1

553 Views
rhsalced
Contributor I

Hello,

My goal is to use DMA to speed up SPI to SPI transfers. I’m using an LPC54102 to read data from external SPI flash via SPI 0 and forwarding the data to an FPGA via SPI 1. See image below.

rhsalced_0-1748031716093.png

 

I’m using the lpc5410x_xpresso54102_keil_iar_v3.04.000 version of the SDK, the reason for using this version is that I am working with legacy code that assumes the usage of SDK. The example provided by NXP is periph_spis_dma, the DMA example project is quite difficult to understand let alone make changes to. I’m wondering if you guys have an example project where you use SPI master to DMA to SPI master with this version of the SDK?

 

Thanks,

Ricardo

0 Kudos
Reply
3 Replies

518 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @rhsalced 

Unfortunately, based on your needs, we currently do not have any relevant code.

BR

Harry

0 Kudos
Reply

501 Views
rhsalced
Contributor I

Hello,

What about some other example with some other interface like I2C, UART, etc? 

Thanks,

Ricardo

0 Kudos
Reply

448 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi 

Sorry, our SDK does not provide the examples you need, we only provide basic examples. Based on your needs, I believe you need to modify the example of the SDK.

BR

Harry

0 Kudos
Reply