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?

ソリューションへジャンプ
1,176件の閲覧回数
mikebez
Contributor I

Hi :smileyhappy:

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

pastedImage_2.png

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
1,101件の閲覧回数
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 返信
1,102件の閲覧回数
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 件の賞賛
返信