Hello, I've been working on BMA400 (on accel 5 click board) for some time and been able to map each generic interrupt to the both pins. Now I'm working on automating things as discussed here, and configured the BMA400 based on the document as mod FAE_CA1 shared in Auto low power and auto wake up . But somehow the wake-up sequence does not fire, and i cannot see the hardware interrupt (at the oscilloscope) as shown in the document. Here is my configuration pseudo-code, write 0x02 => 0x19 (ACC_CONFIG0.power_mode.b10) // NORMAL MODE
write 0x04 => 0x1F (INT_CONFIG0.gen1_int_en) // GEN1 INTERRUPT ENABLE
write 0x80 => 0x20 (INT_CONFIG1.latch_int.b1) // INTERRUPT LATCHED
write 0x02 => 0x24 (INT12_IO_CTRL.int1_lvl.b1) // INT1 LEVEL HIGH
write 0x02 => 0x2D (AUTOWAKEUP_1.wkup_int.b1) // WKUP INT ENABLE
write 0x01 => 0x21 (INT1_MAP.wkup_int1.b1) // WKUP INT MAPPED TO INT1
write 0xE6 => 0x2F (WKUP_INT_CONFIG0.wkup_z/y/x_en.b1, .num_of_samples.b001, .wkup_refu.b10)
// X/Y/Z ENABLE, NUM OF SAMPLES 2, WAKEUP REFERENCE EVERYTIME, HYSTERESIS NONE
write 0x03 => 0x30 (WKUP_INT_CONFIG1.int_wkup_thres.b00000011) // WKUP INTERRUPT THRESHOLD = 3
write 0x02 => 0x2B (AUTOLOWPOW_1.gen1_int.b1) // GEN1 INTERRUPT TRIGGER AUTO LOW POWER
write 0xF8 => 0x3F (GEN1INT_CONFIG0.gen1_act_z/y/x_en.b1, .gen1_data_src.b1, gen1_act_refu.b10, gen1_act_hyst.b00)
// X/Y/Z ENABLE, DATA SOURCE FILT2, REF UP EVERYTIME, HYSTERESIS NONE
write 0x01 => 0x40 (GEN1INT_CONFIG1.gen1_criterion_sel.b0, .gen1_comb_sel.b1) // CRITERION INACTIVITY, COMBINATION AND
write 0x02 => 0x41 (GEN1INT_CONFIG2.gen1_int_thres.b00000010) // GEN1 INTERRUPT THRESHOLD 2
write 0x00 => 0x42 (GEN1INT_CONFIG3.gen1_int_dur_15_8.b00000000) // GEN1 INTERRUPT DURATION HIGH 0
write 0x64 => 0x43 (GEN1INT_CONFIG31.gen1_int_dur_7_0.b01100100) // GEN1 INTERRUPT DURATION LOW 100 Any help is appreciated. Thanks NANA
... View more