Hi,
what is the use of USER button in BeagleBoard-xm?
ciao,
Mustafa
Hi,
what is the use of USER button in BeagleBoard-xm?
ciao,
Mustafa
Hi Mustafa,
It’s a general purpose button that you can use for your application. It is hooked to a GPIO pin.
I believe there is a U-boot command as well (userbutton) that can detect a key press.
Here is C code I wrote a long time back to read the userbutton state from Userspace:
https://github.com/joelagnel/validation-scripts/blob/master/flashing/userbutton-pressed.c
Thanks,
Joel
Hi,
what is the use of USER button in BeagleBoard-xm?
http://elinux.org/BeagleBoard#User_button
Also, here’s the text from the XM (S2) SRM:
5.14 User Button
A button is provided on the BeagleBoard to be used as an application button that can be
used by SW as needed. As there is no NAND boot option on the board, this button is no
longer needed to force an SD card boot. It is can be used by the UBoot SW to switch
between user scripts to allow different boot configurations to be selected as long as that
feature is included in the UBoot used…
How do I find out with gpio pin the USER button is attached to? I’ve looked through the system reference manual [1] and I don’t see it there.
–Mark
Let’s try that again, this time with proof reading.
How do I find out which gpio pin the USER button is attached to? I’ve looked through the system reference manual [1] and I don’t see it there.
–Mark
I'm too lazy to look it up, but it's in the schematics, kernel source and uboot source
Let’s try that again, this time with proof reading.
How do I find out which gpio pin the USER button is attached to? I’ve looked through the system reference manual [1] and I don’t see it there.
I’m too lazy to look it up, but it’s in the schematics, kernel source and uboot source
Links directly to source can be found on the BeagleBoard Pinmux page here:
http://elinux.org/BeagleBoardPinMux#OMAP3
I don’t see it there.
–Mark
Yup, I recall seeing it on a diagram, but didn’t have time to look at every schematic.
It would be nice if future versions of the manual had such information in a searchable format.
I think I could even find it in the kernel source, but my class hasn’t gotten that far yet.
–Mark
PDF files can be searched. If I knew in advance everything people would be loking for I guess I could create custom manuals and have the answer on the front page. As it is I don’t know if you all are talking about BeagleBoard or BeagleBoard-xM. So Here is th eanswer on both.
I just searched the schematic for the Beagleboard and it is GPIO7. Not sure where the confusion there is.
I just searched the schematic for the Beagleboard-xM and it is GPIO4. Not sure where the confusion there is.
Gerald
Hi All
Do I need to order from the suggested sites on beagleboard.org for myself to Australia.
Are there any Australian distributors.
Joseph
We have no Australia based distributor. No one has contacted us requesting to be one. You can order from several of the current distributors.
Gerald
Page 71 of 164. Section 7.10.9 GPIO Mapping. Table 5. Last Row.
If I open the SRM and do a find on “LED” and hit return a few times I come across Table 5 on page 71 (xM) that tells me CPIO_149 is User LED0 and CPIO_150 (Oops I think the 2nd table entry has a typo on the Signal column) is User LED1.
I’d like to be able to do a find on USER and find a similar table telling me the USER button is CPIO 4.
The SRM is rich in schematics. I’m not sure which one has the USER button.
–Mark
Actually, on the schematic page 4 in RED it describes the USER Button. The board only has two buttons. One is labeled RESET and the other one labeled USER. The board has the ability by changing resistors to move the USER button between GPIO4 and GPIO7. The default, and the way the boards are shipped, is GPIO 4.
Yes, there is an error on Table 5. So just follow the words on page 4 of the schematic. At the end of the day, the schematic is the way it is. It is not practical to write a manual that replaces the schematic. You do need the ability to read a schematic a little.
Gerald
Hi,
what is the use of USER button in BeagleBoard-xm?
On the xM, it is really more of a left-over from the original BeagleBoard to provide software compatibility to any apps that used it---but you'd need to be careful to handle the fact it is on a different GPIO pin.
Gerald:
Thanks, I found it. Big “Duh” for me. I was searching all the schematics throughout the doc rather than looking at the complete ones at the end.
–Mark
That would explain it! Those are there just to help explain how the circuit works. In fact a lot of them are “compilations” of multiple schematic pages.
Gerald