cancel
Showing results for 
Search instead for 
Did you mean: 

Missing DMA interrupt after I2C transmit

saccrue
Associate II
Posted on November 15, 2012 at 02:02

I am working on an i2c driver that utilizes DMA for the master transmits.

Everything seems to be set fine because I get hundreds of successful transactions but every once in a while, I issue a transaction but never get the DMA interrupt. I have both interrupts set for success and error and I get the success interrupt after just about every transaction.

Every once in a while, I miss the interrupt. I put some counters in the event handler to make sure that I get the expected interrupts and I do, but I never get an error interrupt and I miss that one success.

It seems to be only on the larger transfers, 268 bytes. The smaller ones all succeed and most of the 268 bytes ones succeed but I would say that once every 30 seconds of flooding the bus with transactions, the DMA doesn't interrupt.

The priority of the DMA is set to 2.

Can anyone shed some light on what may be going on?
10 REPLIES 10

Hi, i know this is a long time ago, but what was the solution?