Is it possible to use DMA for both I2C0 and I2C3 simultaneosly on Kinetis MK66?

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

Is it possible to use DMA for both I2C0 and I2C3 simultaneosly on Kinetis MK66?

跳至解决方案
874 次查看
mikebez
Contributor I

Hi :smileyhappy:

Screenshot from the Reference Manual (K66P144M180SF5RMV2, Rev. 3, 04/2017, page 474):

pastedImage_2.png

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
799 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi mikebez 

If you are using I2C0 and I2C3 with DMA enabled, it could cause unpredictable behavior, because if a DMA request is triggered, you would not be able to know the true source of the DMA request (module 0 or 3). So, I wouldn't recommend enabling DMA support in both I2C modules.

Best regards

Jorge Alcala

在原帖中查看解决方案

0 项奖励
回复
1 回复
800 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi mikebez 

If you are using I2C0 and I2C3 with DMA enabled, it could cause unpredictable behavior, because if a DMA request is triggered, you would not be able to know the true source of the DMA request (module 0 or 3). So, I wouldn't recommend enabling DMA support in both I2C modules.

Best regards

Jorge Alcala

0 项奖励
回复