cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

IoVo_297831
New Contributor II

Hi all,

   

Does the PSoC4 BLE 4.2 support DMA in I2C transactions?
From what I can see it supports DMA for other peripherals but not for the I2C component.

   

Thank you in advance.

   

Yiannis

0 Likes
1 Solution
JoMe_264151
Expert II

DMA is not related to the BLE stack, but related to the selected PSoC4 chip. Check in device selector which one has got DMA.

   

I2C not only transmits data as an UART, there are some additional signals required as Start, Restart, Stop, ACK and NAK. So it will be quite impossible to transfer I2C data with DMA. Better use the interrupt driven APIs that are handling a complete transmission.

   

 

   

Bob

View solution in original post

0 Likes
1 Reply
JoMe_264151
Expert II

DMA is not related to the BLE stack, but related to the selected PSoC4 chip. Check in device selector which one has got DMA.

   

I2C not only transmits data as an UART, there are some additional signals required as Start, Restart, Stop, ACK and NAK. So it will be quite impossible to transfer I2C data with DMA. Better use the interrupt driven APIs that are handling a complete transmission.

   

 

   

Bob

View solution in original post

0 Likes