Re: [beagleboard] TI Programmable Real-time Unit software support package issues

2021-04-23 Thread pierrick . rauby
Have you check M Yoder PRU cookbook? Pierrick Rauby > On 23 Apr 2021, at 16:56, Cheng Chen wrote: > > Hi all, > > I am new learner of Beaglebone Black and I was trying to follow the examples > of Programmable Real-time Unit software support package from TI. > I think

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-09 Thread Pierrick Rauby
Happy to help; I have worked some with these examples, so feel free to reach out if you have any questions! Pierrick ** Pierrick Rauby Graduate Research Assistant pierrick.ra...@gatech.edu<mailto:pierrick.ra...@gatech.edu>

[beagleboard] Re: PRU - ADC on BBAI

2020-09-14 Thread Pierrick Rauby
UTC-4, Dennis Bieber a écrit : > > On Mon, 14 Sep 2020 07:56:55 -0700 (PDT), in > gmane.comp.hardware.beagleboard.user Pierrick Rauby > > wrote: > > >Hi All, > >I am trying to implement deterministic data acquisition on the Beaglebone > >AI. > >I was thin

[beagleboard] PRU - ADC on BBAI

2020-09-14 Thread Pierrick Rauby
Hi All, I am trying to implement deterministic data acquisition on the Beaglebone AI. I was thinking of using the PRU with the ADC as it is done on one the TechLab example analogIn.pru0.c

Re: [beagleboard] Re: Getting started with PRU (Trying to find examples)

2018-09-17 Thread pierrick . rauby
Ok, will do! That was also my felling... do you know why they keep breaking it ? That's quite annoying Le lundi 17 septembre 2018 11:08:15 UTC-4, RobertCNelson a écrit : > > On Mon, Sep 17, 2018 at 9:52 AM > > wrote: > > > > Dear Robert Nelson, > > > > Thanks for the info, I'll work

Re: [beagleboard] Re: Getting started with PRU (Trying to find examples)

2018-09-17 Thread pierrick . rauby
Dear Robert Nelson, Thanks for the info, I'll work on this to maintain the doc so its up to date. Thanks Le lundi 17 septembre 2018 10:38:13 UTC-4, RobertCNelson a écrit : > > On Mon, Sep 17, 2018 at 9:31 AM > > wrote: > > > > Hi, > > I had the same problem last year so I created this

[beagleboard] Re: Getting started with PRU (Trying to find examples)

2018-09-17 Thread pierrick . rauby
Hi, I had the same problem last year so I created this small documentation: https://github.com/PierrickRauby/PRU-RPMsg-Setup-BeagleBoneBlack It should work, if not, do not hesitate to tell me! Pierrick -- For more options, visit http://beagleboard.org/discuss --- You received this message

[beagleboard] Re: AM335X-PRU-RPROC-4-9-TI-00A0 cannot boot any firmware

2018-05-26 Thread pierrick . rauby
Hi Filippo How are you trying to toggles the PRUs? I do not have a BBB with me this weekend but I’ll have a look at it on Monday. BTW, I have struggled with PRU too so I’ve wrote this memo: hhttps://github.com/PierrickRauby/PRU-RPMsg-Setup-BeagleBoneBlack , hope it can help you Thanks

[beagleboard] Re: PRUs realtime data acquisition, I2C bus and ADC

2018-05-21 Thread pierrick . rauby
Hi John, Thanks for the answer, I did use u-boot overlays and setup the uEnv.txt to load the right overlay. BTW, I am rebooting the BeagleBone every-time I want to load a new overlay, can you confirm that it's the only way to do it ? I'll try to use the IIO Oscilloscope, however as I have

[beagleboard] IIO drivers, BoneScript & thermocouple-max31855

2018-04-19 Thread pierrick . rauby
Hi all, First I am using a beaglebone black wireless Linux debian 4.9.45-ti-r57. I am trying to use a thermocouple bridge max31855 and a K-type thermocouple, my user space application is running Bonescript. Unfortunately the bridge communicate through SPI which does not seem to be supported by

[beagleboard] Connection Beaglebone Black WPA2

2018-04-18 Thread pierrick . rauby
Hi all, I am working with the Beaglebone Black Wireless Linux debian 4.9.45-ti-r57 in my university. I would like to connect it to my university's eduroam-like network with my personnal credential (like I am connecting my computer to the wifi). I look to several post and I successfully

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-04-17 Thread pierrick . rauby
Yes, sorry, my mistake I was looking to section 12.3.3 in the TRM instead on looking to the STEPCONFIG register description sections. Le mardi 17 avril 2018 00:19:16 UTC-4, john3909 a écrit : > > > > On Apr 16, 2018, at 3:40 PM, pierric...@gadz.org wrote: > > Hi John, > Thanks a lot for this

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-04-16 Thread pierrick . rauby
Hi John, Thanks a lot for this very complete answer ! I think I understand it now, the last point I am not sure about is: ti,chan-step-avg = <1 1 1 1 1 1 1 1> /* 2 sample average */ I went through 12.3.3 of the AM3358 Technical Reference Manual and it seems that the setting the averaging

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-04-11 Thread pierrick . rauby
Hi John, Thanks for the help, I looked into the iio_generic_buffer.c example and i patched it to disable the hardware triggers thanks to the patch presented on this page : https://www.teachmemicro.com/beaglebone-black-adc/ I am now able to reader a buffer from the different channel. However I

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-03-27 Thread pierrick . rauby
Hi John, Sorry for the late answer, I had hard time using the PRUs and I am now going to use the IIO ADC driver, I am able to read the sample with the cat command in /sys/bus/iio/devices/iio:device0/in_voltage3_raw However I am not able to use Libiio in order to read data from a user space

Re: [beagleboard] Re: P9_12 not available for cape universal with DLP cape mounted

2018-03-09 Thread pierrick . rauby
UART4 sorry for the typo, I am loading BB-UART4-00A0.dtbo not the UART2 one. The config-pin solution is working thanks a lot!! However, do you know why it is not working with the device tree? I would like to understand the problem It seems that when I load a device tree it prevents somehow

[beagleboard] Re: P9_12 not available for cape universal with DLP cape mounted

2018-03-09 Thread pierrick . rauby
Hello, I just wanted to tell you that I am encountering a similar issue, maybe the description of it can help. I wanted to use UART4 to send information to an Xbee radio, I am enabling it by loading the 3BB-UART2-00A0.dtbo3 in uEnv.txt : ###Master Enable enable_uboot_overlays=1 ###

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-02-26 Thread pierrick . rauby
Thanks John, I am now working with the starterware_PRU but I did not find examples for using the McSPI with the PRU, do you think it will be hard to adapt the initial code to the PRU ? Thanks Pierrick Le lundi 19 février 2018 23:15:50 UTC-5, john3909 a écrit : > > Like I said, it was

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-02-26 Thread pierrick . rauby
Thanks John, I am now working with the starterware_PRU but i did not find examples for using the McSPI with the PRU, do you think it will be hard to adapt the initial code to the PRU ? By the way, looking to the IIO driver documentation, it seems that for the AM335x chip the max sampling

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-02-19 Thread pierrick . rauby
Thanks John for you answer, I was quit busy last week so I worked on this during the Weekend. Unfortunately, I was not able to find a project that is using the SPI and I2C interface with the PRU, I only found this one :

Re: [beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-02-13 Thread pierrick . rauby
Thank you for your quick answerJohn! So if I understand well, I can use the PRUs with the on-board SPI and I2C interface ? I have not found any similar project that can help me on this. Is it done using the L2 and L3 interconnect ? I am highly interested by using those on board interface

[beagleboard] PRUs realtime data acquisition, I2C bus and ADC

2018-02-13 Thread pierrick . rauby
Hi all, I am trying to use the PRUs for real time data acquisition on the Beaglebone black (Linux debian 4.9.45-ti-r57). I have set up the PRU with remoteproc and RPMsg; everything is working fine. The first time, I successfully captured data with the PRU using the SPI protocol and bit

[beagleboard] Re: Beaglebone black SPI0 transfer issue

2018-02-08 Thread pierrick . rauby
Hi, OK, I missed it when reading the pot's documentation, my bad. Could you tell me what is the code for the SPI(x,y) function/library you are using on the BeagleBone ? I used SPI between PRUs and an accelerometer once, and I encourtered a similar problem, which finally came form the SPI

[beagleboard] Re: Best way for events between PRU and processor?

2018-02-07 Thread pierrick . rauby
Hi RoSchmi, I am using the PRU with RPMsg for a school project, I have just made a documentation about how to set it up: https://github.com/PierrickRauby/PRU-RPMsg-Setup-BeagleBoneBlack I maybe out off the track with this answer but I hope it help. Thanks Pierrick Le mercredi 6 décembre

[beagleboard] Re: Beaglebone black SPI0 transfer issue

2018-02-07 Thread pierrick . rauby
I maybe of the track, but the AD 8403 seems to be a 3 wire SPI, then I do not understand why your setting up 4 pins on the BBB Thanks Pierrick Le mercredi 17 janvier 2018 10:27:43 UTC-5, Kaarkuzhali Murugan a écrit : > > > I am working with a beaglebone black and I want to transfer data to my