SparkFun will be closing today at 12pm MT for a company outing. All orders placed before 2pm MT will still ship out same-day. Thanks!

Member #455519

Member Since: July 19, 2013

Country: United States

  • Hi , I have got the 9 DOF Sensor Stick up and running on the I2C Interface of my STM32F4 discovery - I can read value from all three of the sensors - now I want to advance to use the more sophisticated functions like the freefall detection of the ADXL345 - therefore I configured an EXTI Interrupt on the GPIO Pins the sensor stick uses to connect to I2C ( PB6 or PB7 on the discovery) - But every time I run the this code it renders the I2C bus busy - and the execution stalls - my current analysis of the problem is that there is a conflict between the bus activity (or the GPIO setup) and the Interrupt setup - My question is are the interrupt lines of the ADXL345 (and the other sensors) connected to the I2C Bus wires (ie. INT1 to SCA INT2 to SCL) - I could not descern this from the schematics -and if so : is it the right approach trying to configure the interrupts on the same pins - or how else is it possible to access the Interrupt lines of the sensors ?

    Thank you in advance best regards Stefan

No public wish lists :(