I cannot get this mmap to work. I think you left out a few steps. For
example what is the overlay you used for the DT?
On Friday, December 6, 2013 7:48:18 AM UTC+8, anuv...@gmail.com wrote:
check this out:
http://chiragnagpal.github.io/examples.html
I have explained how to use /dev/mmap
Look at HMC5883L, C programming on the Adafruit BBB forum
On Sunday, June 15, 2014 9:25:45 AM UTC+8, Swazoo Claybon wrote:
So I have been trying to interface a digital compass (Sainsmart 3-Axis
Digital Compass IC HMC5883L)*. *In order to do so I have been learning
about I2C devices and
Now working. Just operator error. Plugged into the wrong header.
I will share what I have:
overlay file Modified from BB-GPIOHELP-00A0.dts for just P9.12.
*
* Copyright (C) 2013 Pantelis Antoniou pa...@antoniou-consulting.com
*
* This program is free software; you can redistribute it and/or
Comment on PRUSS support:
in the Current (just downloaded June 30):
/* P9_30 (ZCZ ball D12) */
(...)
P9_30_pruout_pin: pinmux_P9_30_pruout_pin {
pinctrl-single,pins = 0x198 0x25; }; /* Mode 5,
Pull-Down, RxActive */
P9_30_pruin_pin:
Looking at the directions to install:
I am not sure where to copy this download to begin the install.
I have a rev A5 BBB with the standard Angstrom software and a 8GB SD card
with the ...7.5-2014-5-14... release installed.
I want to leave the Angstrom in place and install the 07-06 Debian on
Ok, use -dtb beaglebone (but that has the wrong conf_board setting.
Also, I am not clear if I should copy the download to the Debian release on
my SD card and execute there.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed
Here is an example of using the PRUSS cycle counter to time a pulse.
Files at: github.org/jstampfl/Prutimer
here is the PRUSS code:
/ pt.p
// To get the echo pulse on pin P8 15.
// assemble: pasm -v3 -b pt.p (could be pasm_2 if you follow directions
.setcallreg r29.w0 // Going to use r31
Example of reading data with PRUSS Uart.
Full code at: https://github.com/jstampfl/Pruuart
/ pu.p V1
// Use PRUSS uart to read data from ADAFRUIT Ultimate GPS
// reads data to nl, put in buffer and signal linux side.
.setcallreg r2.w0 // Going to use r31 for interrupt
.origin 0
.entrypoint TB
Code at: https://github.com/jstampfl/Pruuart
--
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
PRUSS Uart write function added.
--
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
Go to the Adafruit forum and search for Ultimate GPS, C programming
example to connect the Adafruit GPS to the BBB
--
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
From ID.txt: BeagleBoard.org BeagleBone Debian Image 2014-07-16
I am unable to load .dtbo files:
I have installed on 8GB microSDcard, modified the uEnv.txt file to boot
from the SDcard.
Hardware: BBB A5
from dmesg:
[ 0.00] Kernel command line: console=tty0 console=ttyO0,115200n8
thanks, works great.
I think this is better than editing the uEnv.txt file.
Thanks for all your good work.
--
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
GPIO1_[0-5] show up as mode 1 in the pins file.
--
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
From the BBB wiki page:
Onboard HDMI
The onboard HDMI driver uses the LCD pins. They are still connected to the
expansion header, but in some cases, they could cause an LCD cape to have
some noise issues unless the cape has a buffer.
A buffer should take care of this issue. If you want to
Kent:
1. Can you share some code showing PRU0 - PRU1 interrupts?
2. Did you get the XIN/XOUT transfers between PRUs to work, can you
share the code?
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
I have modified my earlier read program to use interrupts from the PRU Uart
to the PRU.
See the Code at:https://github.com/jstampfl/PruUart_Int
The program for the PRU depends on the C program to do some of the
initialization of the PRU interrupts. The PRU code initializes the Uart Rx
This example repeats the Prutimer example that used the cycle counter.
This example uses the IEP timer.
Code at: https://github.com/jstampfl/Prutimer_IEP
/ pi.p
// To get the echo pulse on pin P8 15.
// assemble: pasm -v3 -b pt.p(could be pasm_2 if you follow
directions
Full code at: https://github.com/jstampfl/PruIEP_Int
Also for example of using PRU IEP see:
https://github.com/cdsteinkuehler/linuxcnc/blob/MachineKit-ubc/configs/ARM/PRU-Debugger/pruexample.p
Here is the p code:
//iepx.p - set up IEP interrupt on CMP0 hitting compare value
Added example using two compare match interrupts to toggle the pin. CMP0
match sends interrupt and resets the counter. CMP1 match sends an interrupt.
Full code at: https://github.com/jstampfl/PruIEP_Int
--
For more options, visit http://beagleboard.org/discuss
---
You received
The example is similar to the IEP example.
Uses the local eCAP timer.
https://github.com/jstampfl/PruECAP_Int
The PRU local timers are:
the Cycle counter. The IEP timer and the eCAP timer.
The IEP and eCAP timers have compare registers and can generate various
interrupts.
--
For more
I have prepared cape-univ-hdmi-00A0.dts , but I don't know how to
indicate that it is available. ie. a git push request?
It is in my local copy of beaglebone-universal-io.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed
You said you couldn't add the microSD card - did you follow the
instructions at: http://elinux.org/Beagleboard:MicroSD_As_Extra_Storage
Actually, you can format the microSD card on another machine (I used
windows xp). Then put the uEnv.txt file in partition 0. I you just
formated the 32GB as
Check your mount options.
--
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
I am unable to connect from my PC to the BBB via USB.
Using the 2MG Console, running on SDcard.
Noticed the power from dmesg.
[0.00] Linux version 3.8.13-bone64 (root@a5-imx6q-wandboard-2gb) (gcc
version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Thu Aug 21 21:24:58 UTC 2014
[0.00]
More info at: http://www.ti.com/lit/ug/tidu426/tidu426.pdf
--
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
From dmesg:
A6 - Debian bone 60 - vdd-mpu 1100 mV, Bogomips 545
B - Debian bone 60 - vdd-mpu 1100 mV, Bogomips 545
C - Debian bone 60 - vdd-mpu 1325 mV, Bogomips 993
Also:
A6 - Angstrom 3.8.13 - vdd-mpu 1100 mV, Bogomips 545
B - Angstrom 3.8.13 - vdd-mpu 1100 mV, Bogomips 545
C -
27 matches
Mail list logo