cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DE12 Interrupt 1 is not working.

spati.11
Associate II
Error while parsing Rich Text Content
1 REPLY 1
Eleon BORLINI
ST Employee

Hi @spati.1​ ,

it seems something went wrong in your posting the question... is this post related to this other one?

If so, is the interrupt you are referring the one below?

/* Set interrupt threshold at ~800 mg -> 1bit = 16mg@2g */
  lis2de12_int1_gen_threshold_set(&dev_ctx, 0x30);
/* Set duration to zero - 1 bit = 1/ODR */
  lis2de12_int1_gen_duration_set(&dev_ctx, 0);

-Eleon