(LPC 54102) SPI 0 to DMA to SPI 1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

(LPC 54102) SPI 0 to DMA to SPI 1

679 次查看
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 项奖励
回复
3 回复数

644 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @rhsalced 

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

BR

Harry

0 项奖励
回复

627 次查看
rhsalced
Contributor I

Hello,

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

Thanks,

Ricardo

0 项奖励
回复

574 次查看
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 项奖励
回复