Re: [beagleboard] Re: Interrupt is not generating in ADXL345 using 4.9 kernel

2018-11-24 Thread Prakash Dash
Hi Robert, I did mapping the INT1 pin one of the GPIO pin of the BBB now it is working fine.ISR is called and i am able to collect the X,Y,Z axis data from device. On Sat, Nov 24, 2018 at 11:29 AM Prakash Dash wrote: > > > On Sunday, November 18, 2018 at 11:36:43 PM UTC+5:30, Prakash Dash

[beagleboard] Re: BBB with 1GB DDR3

2018-11-24 Thread Gianfranco Rosso
Hello Marek, to be honest, I really don't remember if it was succesfull. For sure I can tell you that we didn't got any bricked boards... so at least the board with 1G ram was working anyway (maybe using only 512M as the original configuration). It's also possilbe that the BBBs auto recognized

Re: [beagleboard] Re: BBB with 1GB DDR3

2018-11-24 Thread Belisko Marek
Hi, do you remember by any chance which RAM chips was used? Thanks. BR, marek On Sat, Nov 24, 2018 at 2:42 PM Gianfranco Rosso wrote: > > Hello Marek, > > to be honest, I really don't remember if it was succesfull. > For sure I can tell you that we didn't got any bricked boards... so at least

Re: [beagleboard] ADXL345 INT1 INT2 pin mapping for ISR to run

2018-11-24 Thread Jim F
You'd have to read the data sheet of the sensor to know if it can work that way. Most of the time the interrupt pins need to actually be connected to the processor somehow to work. I'd suggest that you connect them to gpios, configure the BB gpio pins as interrupts, and check the data sheet to see

Re: [beagleboard] ADXL345 INT1 INT2 pin mapping for ISR to run

2018-11-24 Thread Prakash Dash
Hi Jim, My driver is implemented based on the Interrupt not poll based so i configured one of the GPIO pin for interrupt. Could you please tell me what is the use of these two interrupt pin INT1 and INT2 given for the device. As per my understanding i can use these device in poll based without

[beagleboard] Re: GPIO default pin level

2018-11-24 Thread Mike Brandon
I have made progress on this and have a .dtbo that I can load manually and set all of my gpio in the desired state I am looking for. My issue now is getting this overlay to load on boot. Here is my uEnv.txt: uname_r=4.4.113-ti-r149 enable_uboot_overlays=1

[beagleboard] Re: Memory Mapped Access to /dev/mem GPIO2 fails, GPIO1 OK

2018-11-24 Thread Kamus Putih
Pada Selasa, 28 Oktober 2014 01.39.00 UTC+8, Nic Cyn menulis: > I am trying to access, via mmap on /dev/mem, the GPIOs at addresses > 0x44e07000, 0x4804c000, 0x481ac000 and 0x481ae000. These are GPIO banks 0,1,2 > and 3 respectively. > > Access is successful on GPIO bank 0 and 1 (0x44e07000

Re: [beagleboard] ADXL345 INT1 INT2 pin mapping for ISR to run

2018-11-24 Thread Jim F
I'd check out the data sheet. Page 20 covers an overview of the interrupt configuration. I guess you can use either one, depending on how you set the registers. You can poll that sensor all day long. But if you want to use the interrupts, you have to connect the pins, at least one of them, and