AnsweredAssumed Answered

Urgent:Data Ready Interrupt

Question asked by netz.steffen on Dec 6, 2013
Latest reply on Jan 10, 2014 by Thiago.Reis@ST
Hi,

I don't know, the interrupts work.
I have the testcase attached.
Here is the logged sequence:
BEGIN:
STAT_REG = 0
..
STAT_REG = 0xF // here should come the Int, shouldn't it?
..
STAT_REG = 0xFF // Overflow, new_lis will be set
LIS331DLH_ResetInt1Latch()
LIS331DLH_GetAccAxesRaw(&axesraw);
 -> here comes the Interrupt new_lis will be set
LIS331DLH_GetAccAxesRaw(&axesraw);
GOTO BEGIN

Why do I have to poll STATUS_REG. No interrupts occur without polling!?
When exactly comes the interrupt, and when will it reset(?!).

Regards,
Steffen

Attachments

Outcomes