LPC5411 - DMA misses I2C slave request and stretch SCL line

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

LPC5411 - DMA misses I2C slave request and stretch SCL line

1,002 Views
AlainR
Contributor I

Hello, I'm working with LPC54113 and I'm using I2C slave with AUTOACK and DMA to reduce I2C slave interrupt intervention. I discoverd a randomnly strange behavior.

With these setting clock :
System clock = 150Mhz
I2C slave (FXCOM1) clock = 48Mhz

Sometimes DMA misses a I2C slave request and stretch SCL line indefinitely.
I need to reset I2C slave and DMA to restore the I2C communication.

I found in the Errata sheet LPC5411x document : "The I2C peripheral clock frequency should be the same or half of the CPU system clock". But it is suggested for AUTOACK feature.

And I tried with these setting clock :
System clock = 48Mhz
I2C slave (FXCOM1) clock = 48Mhz

Everything works fine and DMA never miss I2C slave request.

But for my application I need 150Mhz for the system clock. Does anyone know how to fix this bug ?

Best regard
Alain

0 Kudos
Reply
1 Reply

976 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @AlainR 

Sorry there is no way to fix, this is hardware limitaion, only can can refer to Errata, 

Alice_Yang_0-1688979476542.png

 

BR

Alice

 

0 Kudos
Reply