Help in interfacing Freescale Accelerometer MMA8653 with STM32F100

Status
Not open for further replies.

amor88_star

Newbie level 4
Joined
Apr 21, 2009
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,371
Hello

I am interfacing Freescale Accelerometer MMA8653 with STM32F100 using I2C Bit banging

it working using interrupts , and the interfacing of the Accelerometer are configured as high to low and controller port configured as input pull up and on the falling edge

I have a specific code to perform like reading the new Accelerometer values and setting some parameters
I put this code in the ISR at first .
my problem is that this code is big so when I moved it out from the ISR and instead raise a flag
the interrupt come only once and then the external pin stay low and no more interrupt comes

thanks in advance
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…