Hi Robert, Will it be fine if i routed INT1 or INT2 to one of the GPIO pin of the P-9 or P-8 header.
If i will do this before that i have to mux that GPIO pin for input mode. and same pin info i have to configure in device tree under adxl345 node as mentioned below. as interrupt-parent = <&gpio> interrupts = <gpio pin no> could you please suggest whether this is the correct procedure or not what I asked above. could you please suggest the procedure for mapping the INT1 or INT2 pin to any of the pin header(P-9 or P-8) of the beaglebone black board. Please kindly help me on this. Without this configuration i can not able to collect the X,Y,Z axis data. Thanks Prakash On Sun, Nov 18, 2018 at 11:48 PM Robert Nelson <[email protected]> wrote: > On Sun, Nov 18, 2018 at 12:06 PM Prakash Dash <[email protected]> > wrote: > > > > 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 > > Well, try again with INT1 or INT2 routed to a pin.. > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ > -- 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/CANwtydo5pHN7F3XW%2BGgTt2vbczArHQVqfdJR5KyhdcrTr-qtug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
