I am using 4.9 kernel which is having ADXL34x driver configured as module.
After cross compile i am able to detect the device in kernel but ADXL345
interrupt is not generating.
I made this below changes in device tree. I mapped interrupt 5 of the
interrupt controller to adxl345 device.
i could not able to see any interrupt generating while i am rotating the
device.
Actually i porting this device externally with the beaglebone black board.
pin configuration of ADXL345 device with the beaglebone black board.
Header Pin ADXL345 Pin
======= === ===========
P-9 17 SCL
P-9 18 SDA
P-9 01 GND
P-9 03 VCC
But i did not map INT1 and INT2 pin of ADXL345 device to any of the pin
header of Beaglebone black. but i mapped the interrupt number <5> of
Interrupt controller to
ADXL345 in devicetree configuration.
&i2c1 {
adxl345@0 {
compatible = "ti,adxl34x";
reg = <0x53>
interrupt-parent = <&intc>
interrupts = <5>
};
};
can someone please tell me whether i am following the right procedure or
not.
if the procedure is correct then ca someone please tell me why interrupt is
not generating.
if the procedure is not correct then can someone please help me on this to
how to generate interrupt in ADXL345 device.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/ecfaf5d4-83ba-4bd0-9850-acfc40b3265e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.