I2C driver related issue

取消
显示结果 
搜索替代 
您的意思是: 

I2C driver related issue

277 次查看
pranavshinde
Contributor II

Hi,

I am using S32K144 controller for my project.
While using I2C driver in non-blocking mode, I am facing an issue.
My application requires reading the data in chunks of 12 bytes from I2C peripheral.
If I read 12 bytes of data from I2C peripheral then everything is working fine but if I attempt
to read 24 bytes of data, I am not able to read it.

What could be the reason for this?

0 项奖励
1 回复

266 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Which driver do you use SDK or MCAL, LPI2C, FlexIO? And which version?

If I understand, it works in the blocking mode, right?

Have you tried using DMA instead of interrupts?

Can you scope the bus?

If possible, please share the project.


Thank you,

BR, Daniel

0 项奖励