Hello
I am working on BMA400 sensor interfaced with nRF53 uC and followed the BMA400 datasheet to configure the sensor to detect activity and inactivity interrupt on gen1 and gen2 interrupt on INT1 pin respectively. After configuring these two different interrupts, sensor generated interrupts on INT1 pin and triggered nRF53 uC but the problem is when we read the interrupt status registers either 0x0E or 0x0F registers the value comes 0x00 or random value which is not indicating these two interrupts which I configured. I have also configured these interrupts with LATCHED and NON-LATCHED but still the same issue.
Following is the code snippets for activity and inactivity interrupt:
=> Sensor is in normal power mode
Configure non-latched inactivity interrupt:
Addr = 0x21, value = 0x04
Addr = 0x20, value = 0x00 - non-latched
Addr = 0x24, value = 0x02
Addr = 0x3F, value = 0xFA
Addr = 0x40, value = 0x01
Addr = 0x41, value = 0x10
Addr = 0x42, value = 0x00
Addr = 0x43, value = 0x0F
Addr = 0x1F, value = 0x04
Configure non-latched activity interrupt :
Addr = 0x21, value = 0x08 - Gen2 mapped to INT1
Addr = 0x20, value = 0x10 - non-latched
Addr = 0x24, value = 0x02
Addr = 0x3F, value = 0xFA
Addr = 0x40, value = 0x01
Addr = 0x41, value = 0x10
Addr = 0x42, value = 0x00
Addr = 0x43, value = 0x0F
Addr = 0x1F, value = 0x08 - Gen2
Any help will be appreaciated.