RE: [beagleboard] Re: Using GPIOs without Using sudo

2021-05-10 Thread John Dammeyer
> From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On > Behalf Of Dennis Lee Bieber > "John Dammeyer" wrote: > >The SPI bus ADAfruit application for a 320x240 display written in Python > >runs properly rendering LENNA.JPG onto the LCD display. > The key outputs are the

Re: [beagleboard] TI PRU_ADC_onChip example

2021-05-10 Thread Cheng Chen
Hi Mark, Thanks a lot for the updates. I went through the SDK documents and I actually got a lot inspiration. Thanks for that. I bought an TMDSEMU110-U for debugging. That is recommended from TI tutorials of PRU debugging: PRU is connected with TMDSEMU110-U and then to the laptop. Is that how

Re: [beagleboard] Re: Using GPIOs without Using sudo

2021-05-10 Thread Alexander Zangerl
On Mon, 10 May 2021 22:25:54 -0400, Dennis Lee Bieber writes: >debian@beaglebone:~$ sudo echo 48 > /sys/class/gpio/export >[sudo] password for debian: >echo: write error: Operation not permitted > > To my knowledge, the redirection part is still done as the debian user, >only the echo is bein

[beagleboard] Re: Using GPIOs without Using sudo

2021-05-10 Thread Dennis Lee Bieber
On Mon, 10 May 2021 13:33:01 -0700, in gmane.comp.hardware.beagleboard.user "John Dammeyer" wrote: >To deal with CAN bus on the Pi3/Pi4 requires access to the SPI bus for the >MCP2515. On the Beagle it's the on chip CAN device. And if I want to talk to >sensors like I2C or One-Wire plus inexp

RE: [beagleboard] Re: Using GPIOs without Using sudo

2021-05-10 Thread John Dammeyer
First of all thank you for responding. Comments below. > From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On > Behalf Of Dennis Lee Bieber > On Mon, 10 May 2021 10:09:14 -0700, in gmane.comp.hardware.beagleboard.user > "John Dammeyer" wrote: > > Suspect I'm not rea

[beagleboard] Re: Using GPIOs without Using sudo

2021-05-10 Thread Dennis Lee Bieber
On Mon, 10 May 2021 10:09:14 -0700, in gmane.comp.hardware.beagleboard.user "John Dammeyer" wrote: Suspect I'm not really going to be of much help -- but a few comments... >I'm still not sure of the actual process with this revision of the OS. >debian@ebb:~/lazarus$ uname -a >Linux ebb 4

[beagleboard] Using GPIOs without Using sudo

2021-05-10 Thread John Dammeyer
That's the section heading on page 302 of Derek Molloy's second edition "Exploring Beaglebone" I found the section lacking in information on exactly how to do this. A web search showed up the following pages. https://github.com/adafruit/adafruit-beaglebone-io-python/issues/137 https://linu

Re: [beagleboard] TI PRU_ADC_onChip example

2021-05-10 Thread Walter Cromer
Mark makes some excellent points. I started developing C on the ARM side under Linux before needing to start using PRUs. I had not spent much time in the TRM while working on the host side because I didn't need to. It really bit me until I did. Once I really dug into the TRM and started to unde