tf tf

TWR-K60 accelerometer interrupt

Discussion created by tf tf on Nov 29, 2011
Latest reply on Feb 14, 2014 by Dao Yan Lim


Has anybody managed to get the accelerometer interrupt working on the TWRK60/40?  A according to the docs, the MMA7660 interupt pin is connected to PTD10 on the K60, but I have not managed to get a single interrupt from it; got the interrupts enabled on the accelerometer end using register 0x9, and have tried both the low and high interrupt on the accelerometer with various configurations for the PTD10, but without success (and none of the code samples I can find uses the interrupt, they all seem to poll).

Would much appreciate if anybody knows of combinations of settings that work ...