2019-05-04 05:47 AM
2019-05-07 08:44 AM
Hi kasi, could you please share the data log of your system? Which is the content of the TIMESTAMPx_REG you are reading? And are you reading it on 24 bit? You could try to reduce the ODR frequency to check if the CSTACK full occours at the same time. Regards
2019-05-11 12:27 AM
HI Eleon BORLINI I found the isse. I setup a timer interrupt for 10ms and reading data from accelrometer fifo every 10ms . and I created an isr for tap interrupt to read timestamp of accelerometer. if interrupt comes when mcu performing accelerometer fifo read operation, Again there is an spi operation written in the ISR but previous SPI operation is in the middle. so its casuing System to hang and the stack over flow is happening because , MCU running MOTION_FX code at that moment.
Thank you