I2C driver related issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C driver related issue

514 Views
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 Kudos
1 Reply

503 Views
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 Kudos