Re: [beagleboard] mcasp pinmux settings

2016-04-28 Thread evilwulfie
Not much help there is a file i have found BB-BONE-AUDI-03-00A0.dts that have other settings fragment@0 { target = <_pinmux>; __overlay__ { bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins { pinctrl-single,pins = <

Re: [beagleboard] mcasp pinmux settings

2016-04-28 Thread William Hermans
I really hate when gmail does that crap . . . pinctrl-single,pins = < 0x190 (*PIN_INPUT_PULLDOWN* | MUX_MODE0)/* mcasp0_aclkx.mcasp0_aclkx */ 0x194 (*PIN_INPUT_PULLDOWN* | MUX_MODE0)/* mcasp0_fsx.mcasp0_fsx, INPUT */ 0x198

Re: [beagleboard] mcasp pinmux settings

2016-04-28 Thread William Hermans
pinctrl-single,pins = < 0x190 (*PIN_INPUT*_PULLDOWN | MUX_MODE0)/* mcasp0_aclkx.mcasp0_aclkx */ 0x194 (*PIN_INPUT*_PULLDOWN | MUX_MODE0)/* mcasp0_fsx.mcasp0_fsx, INPUT */ 0x198 (*PIN_INPUT*_PULLDOWN | MUX_MODE0)/*

[beagleboard] mcasp pinmux settings

2016-04-28 Thread evilwulfie
Ok I am slightly confused her on the pinmux signal directions. In the BB-BONE-AUDI-02-00A0.dts file we have all pins set to inputs fragment@0 { target = <_pinmux>; __overlay__ { bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins {

[beagleboard] Re: 1-Wire

2016-04-28 Thread TJF
Am Donnerstag, 28. April 2016 19:40:19 UTC+2 schrieb hoerting...@gmx.at: > > Hello! > > *1. Max sensors* > When I try: > echo 20 > w1_master_max_slave_count > > I get: > bash: w1_master_max_slave_count: Permission denied > (of course I´m root > sudo su echo 20 > w1_master_max_slave_count exit

[beagleboard] Adafruit BBIO Python library

2016-04-28 Thread Peter Lawler
Hi folks, Just a quick note to let you know I've spent some time tracking down the differences between 3.8 and later versions for the Adafruit BBIO Python library. I first noted this post https://forums.adafruit.com/viewtopic.php?f=49=91903=468811#p469266 which discusses that the 3.8

Re: [beagleboard] Is bonescript compatible with node version >0.10.x ?

2016-04-28 Thread Wally Bkg
On Wednesday, April 13, 2016 at 10:08:09 AM UTC-5, RobertCNelson wrote: > > On Tue, Apr 12, 2016 at 8:53 PM, Wally Bkg > wrote: > >> Any suggestions on getting node-red-node-beaglebone to work with >> bonescript-0.5-beta3? I'm thrilled that all the bonescript examples in

Re: [beagleboard] Is bonescript compatible with node version >0.10.x ?

2016-04-28 Thread William Hermans
> > *Playing with some code snippets I've found on-line, I'm starting to > develop an appreciation for nodejs. . .* > Nodejs is actually a really good development platform. It's really fast, and it being an event driven, object oriented platform. Thanks to Javascript. It is well suited for many

Re: [beagleboard] Is bonescript compatible with node version >0.10.x ?

2016-04-28 Thread Wally Bkg
Thanks for such a great answer and concise history of the issues! At least we're newer than Raspberry Pi2 Jessie that I installed yesterday which is still at 0.10.29 :) Playing with some code snippets I've found on-line, I'm starting to develop an appreciation for nodejs and think it'd be a

Re: [beagleboard] Re: 1-Wire

2016-04-28 Thread evilwulfie
50m is rather pushing the max way past recomended https://www.maximintegrated.com/en/app-notes/index.mvp/id/148 and thats using twisted pair ethernet On 4/28/2016 8:36 AM, hoerting.busin...@gmx.at wrote: > Hello! > > *1. Max sensors* > When I try: > | > echo 20>w1_master_max_slave_count > | >

[beagleboard] Re: 1-Wire

2016-04-28 Thread hoerting . business
Hello! *1. Max sensors* When I try: echo 20 > w1_master_max_slave_count I get: bash: w1_master_max_slave_count: Permission denied (of course I´m root) *2. Polling time* Well, 19sec in total is OK! It are just room temperatur and this must not update so fast. But can I add more as 10 sensors

[beagleboard] Re: Connecting USB device into GPIO ?

2016-04-28 Thread Wally Bkg
Any reason not to use a powered USB hub? It could probably power the BBG as well. On Thursday, April 21, 2016 at 3:36:43 PM UTC-5, Ded Sec wrote: > > As topic leads, can a USB device be hooked into GPIO's? > I need Wifi and BLE devices in BBG but dues one USB its one or other. So > since BLE

Re: [beagleboard] rtl8192cu always rfkilled on Debian Jessie (systemd?)

2016-04-28 Thread Robert Nelson
On Thu, Apr 28, 2016 at 12:30 PM, Andrew Kirch wrote: > All, > > I have been trying for weeks in vain to get rfkill to unblock (soft) (and > leave unblocked) wlan0, an rtl8192cu. > > relevant software versions: > systemd

Re: [beagleboard] Is bonescript compatible with node version >0.10.x ?

2016-04-28 Thread Robert Nelson
On Thu, Apr 28, 2016 at 12:22 PM, Wally Bkg wrote: > Are the nodejs and npm for ARM versions numbered differently? or are they > really this far behind the x86 versions? > > on Ubuntu 32-bit 16.04: > nodejs -v > v4.2.6 > > From what I gather, I'm new at the nodejs stuff,

[beagleboard] rtl8192cu always rfkilled on Debian Jessie (systemd?)

2016-04-28 Thread Andrew Kirch
All, I have been trying for weeks in vain to get rfkill to unblock (soft) (and leave unblocked) wlan0, an rtl8192cu. relevant software versions: systemd 215-17+deb8u4rcnee1~bpo80+20160313+1 rfkill0.5-1

Re: [beagleboard] Is bonescript compatible with node version >0.10.x ?

2016-04-28 Thread Wally Bkg
Are the nodejs and npm for ARM versions numbered differently? or are they really this far behind the x86 versions? on Ubuntu 32-bit 16.04: nodejs -v v4.2.6 >From what I gather, I'm new at the nodejs stuff, 4.4.3 is the "current" stable LTS version. I've no appreciation of the consequences of

Re: [beagleboard] Re: Fast Pin Toggling Using MMAP

2016-04-28 Thread Micka
use the PRU it's faster ^^ Le jeu. 28 avr. 2016 à 17:55, William Hermans a écrit : > *1) I could not find START_ADDR, END_ADDR, OE, SETDATAOUT, CLEARDATAOUT >> from technical manual. Where can I find them for the pins from P9_11 ... >> upto P9_18* >> > > Setdataout, and

Re: [beagleboard] Re: Fast Pin Toggling Using MMAP

2016-04-28 Thread William Hermans
> *1) I could not find START_ADDR, END_ADDR, OE, SETDATAOUT, CLEARDATAOUT > from technical manual. Where can I find them for the pins from P9_11 ... > upto P9_18* > Setdataout, and cleardataout are in the TRM. Pages 4093-4094. *2) what is the explanation of the following statement? What does it

[beagleboard] Re: 1-Wire

2016-04-28 Thread TJF
Hi! Am Donnerstag, 28. April 2016 15:52:40 UTC+2 schrieb hoerting...@gmx.at: > > Hello, > > I want to use 1-wire DS18B20+ sensors with the BBB. > On my breadcrump is work with 2 sensors. > > My question: > with: > cat w1_bus_master1/w1_master_max_slave_count > he show me max 10 sensors ... why? >

[beagleboard] Re: Fast Pin Toggling Using MMAP

2016-04-28 Thread TJF
Hi Frank! Your example controls one GPIO subsystem. The pins P9_11 to P9_18 are connected to two GPIO subsystems. That's why you cannot control all pins at 2.6 MHz. You'll have to find a set of pins connected to a single GPIO subsystem (either GPIO0 or GPIO1). As John mentioned, this is stuff

[beagleboard] 1-Wire

2016-04-28 Thread hoerting . business
Hello, I want to use 1-wire DS18B20+ sensors with the BBB. On my breadcrump is work with 2 sensors. My question: with: cat w1_bus_master1/w1_master_max_slave_count he show me max 10 sensors ... why? I need around 25 sensors with a wire length of 50m. Is this possible? I use all 3 wires (GND,

Re: [beagleboard] Re: RS485 problem with DE/!RE

2016-04-28 Thread Robert Nelson
On Thu, Apr 28, 2016 at 1:56 AM, florian.feldbauer85 via BeagleBoard < beagleboard@googlegroups.com> wrote: > Hey, > > I had a look at the kernel source at github. From the code > I would say the 8250 driver supports RS485. Only the > "rs485-rts-active-high" flag from the device tree overlay >

[beagleboard] Re: bare metal on the BBB

2016-04-28 Thread arniejayremez
You obviously have not tried starterware..dd On Friday, January 29, 2016 at 3:56:25 PM UTC+2, Karl Karpfen wrote: > > OK...but why inventing the wheel again? > > > Am Sonntag, 24. Januar 2016 13:01:06 UTC+1 schrieb dd: >> >> Hi all. I

Re: [beagleboard] Re: RS485 problem with DE/!RE

2016-04-28 Thread florian.feldbauer85 via BeagleBoard
Hey, I had a look at the kernel source at github. From the code I would say the 8250 driver supports RS485. Only the "rs485-rts-active-high" flag from the device tree overlay seems not to be supported. But the same setting can be done via the struct serial_rs485 from user space. Also RS485

[beagleboard] Re: beaglebone black emmc reg

2016-04-28 Thread er . pankaj6878
HI can anybody tell me , How we can read and write on a particular address of eMMC card in BBB? On Wednesday, February 24, 2016 at 7:45:51 PM UTC+5:30, sanal.sa...@gmail.com wrote: > > > Hi all, > > > > I am working on beaglebone black board. > > I am new to this firm. build yocto image for

Re: [beagleboard] Re: RS485 problem with DE/!RE

2016-04-28 Thread 'Florian Feldbauer' via BeagleBoard
On 04/28/2016 02:21 PM, Florian Feldbauer wrote: On 04/28/2016 01:36 PM, Taceant Omnes wrote: On 26 April 2016 at 08:07, florian.feldbauer85 via BeagleBoard wrote: I did some further tests. Actually none of the screens from my scope looks like I would

Re: [beagleboard] Fast Pin Toggling Using MMAP

2016-04-28 Thread John Syne
> On Apr 28, 2016, at 4:46 AM, frank brewer wrote: > > > I just noticed the faster way of toggling pins by using mmap, and after > trying chiragnagpal's example, I could achieve 2.6MHz. > > > > Example was for 1 pin only, now I want to use 8 pins, so I edited

Re: [beagleboard] Re: RS485 problem with DE/!RE

2016-04-28 Thread 'Florian Feldbauer' via BeagleBoard
On 04/28/2016 01:36 PM, Taceant Omnes wrote: On 26 April 2016 at 08:07, florian.feldbauer85 via BeagleBoard wrote: I did some further tests. Actually none of the screens from my scope looks like I would expect it... Picture 1 shows the result, if I try to read

[beagleboard] Fast Pin Toggling Using MMAP

2016-04-28 Thread frank brewer
I just noticed the faster way of toggling pins by using mmap, and after trying chiragnagpal's example, I could achieve 2.6MHz. Example was for 1 pin only, now I want to use 8 pins, so I edited .dtc file as following: /* * Copyright (C) 2012 Texas Instruments Incorporated -

Re: [beagleboard] Re: RS485 problem with DE/!RE

2016-04-28 Thread Taceant Omnes
On 28 April 2016 at 12:36, Taceant Omnes wrote: > As Micka and Alex said the 4.1 and 4.4 driver do not have 485 support > enabled. Per an email by Robert you need to enable the OMAP serial > kernel configuration option and rebuild the kernel. Per email by Robert with respect

Re: [beagleboard] Re: RS485 problem with DE/!RE

2016-04-28 Thread Taceant Omnes
On 26 April 2016 at 08:07, florian.feldbauer85 via BeagleBoard wrote: >> > I did some further tests. >> > Actually none of the screens from my scope looks like I would expect it... >> > >> > Picture 1 shows the result, if I try to read something on the bus with a

[beagleboard] Calibration issues with a touchscreen

2016-04-28 Thread Sujit Singh
I downloaded qt4-embedded on my Beaglebone black to run a qt gui on my BBB and display it on a touchscreen but I'm having calibration issues such as: root@beaglebone:~# ts_calibrate xres = 1024, yres = 768 tslib: Selected device is not a touchscreen (must support ABS and KEY event types) some