2022-06-03 05:42 AM
Hello
I am using an IIS3DWB mems for continuous acquisition.
So I configured it to use fifo and interrupt.
But, during transfert, I see INT1 going high, and transfert aborts.See Capture.png.
Please find IIS3DWB configuration in Config.c, is it good?
Thank you for help
Solved! Go to Solution.
2022-06-13 12:12 AM
Hello,
In fact, I just want to retrieve more than 10s signal, without sample loss, without any 'wake up' event.
I throught that the more suitable mode was 'continouous' : I use watermark interrupt, with threshold set to 128.
As I did not found any code example example from st, I used this one:
https://github.com/kriswiner/IIS3DWB
But maybe we have solved our problem : according to datasheet table 2 : INT1 must be set to 0 during power up. We put a pull down on INT1, an now it works.
Regards
2022-06-10 08:58 AM
Hi @DLafo.1 ,
I see you are configuring the "Continuous Mode", which is however not so suggested for working with interrupts.
You should use Continuous-to-FIFO mode for managing the FIFO interrupt.
Please have a look to the AN5444 application note, from p. 32.
-Eleon
2022-06-13 12:12 AM
Hello,
In fact, I just want to retrieve more than 10s signal, without sample loss, without any 'wake up' event.
I throught that the more suitable mode was 'continouous' : I use watermark interrupt, with threshold set to 128.
As I did not found any code example example from st, I used this one:
https://github.com/kriswiner/IIS3DWB
But maybe we have solved our problem : according to datasheet table 2 : INT1 must be set to 0 during power up. We put a pull down on INT1, an now it works.
Regards