Simultaneously use SPI Blocking/NonBlocking and SDMA Transfer

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

Simultaneously use SPI Blocking/NonBlocking and SDMA Transfer

924 Views
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 Kudos
3 Replies

760 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

0 Kudos

760 Views
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 Kudos

760 Views
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 Kudos