cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG I2C with DMA using LL - no STOP condition - why?

GBedn.1
Associate II

For some reason I need to rewrite I2C functions from HAL to LL. As I aim to achieve good power consumption results, I decided to use DMA and IT in order to save as much resources as I can. There is all ok with writing data (HAL1 and LL1 pictures) but I'm struggling to receive data from slave using DMA and LL drivers. My observation - after read commands there is no STOP condition (HAL1 vs LL1 again) after transmission and instead 6 bytes I'm receving only 2 (HAL3 vs LL3). I'd appreciate any suggestions to solve the issue. I base on I2C DMA LL example.

I know, there is not much details to take into consideration at this moment but maybe some of you have already faced the problem and point me to the right direction, what I'd appreciate.

HAL1:

0693W00000Su1ABQAZ.jpgLL1

0693W00000Su1AfQAJ.jpgHAL2

0693W00000Su1AkQAJ.jpgLL20693W00000Su1B4QAJ.jpgHAL3

0693W00000Su1BTQAZ.jpgLL3

0693W00000Su1BYQAZ.jpg 

0 REPLIES 0