Simultaneously use SPI Blocking/NonBlocking and SDMA Transfer

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

Simultaneously use SPI Blocking/NonBlocking and SDMA Transfer

998 次查看
vaparikh
Contributor II

I was wondering if it is possible to have SPIBlockingTransfer, SPINonBlockingTransfer (Interrupt Based) and SPISdmaTransfer all 3 working at the same time? I am using an i.MX8. Would I continuously have to Enable and Disable SPI SDMA constantly to achieve this? I would like to have some operations to happen over DMA while others to happen directly. I am not sure if this is even possible. Has anyone tried this?

0 项奖励
3 回复数

834 次查看
jimmychan
NXP TechSupport
NXP TechSupport

May I ask which product are you using? which BSP are you using?

0 项奖励

834 次查看
vaparikh
Contributor II

I am trying to get this to work on an IMX8MQ on the Cortex M4 side. I have an EVK-MIMX8MQ board and trying to get this to work on that. I downloaded the SDK from the NXP website for the eval board. 

0 项奖励

834 次查看
jimmychan
NXP TechSupport
NXP TechSupport

What is the use case that all three (SPIBlockingTransfer, SPINonBlockingTransfer and SPISdmaTransfer) will be using at the same time?

0 项奖励