Hi Pierrick, 

Thanks for the recommendation. They look very useful references. I will 
read them over. Appreciate your help!

Cheng
在2021年4月23日星期五 UTC-4 下午6:34:47<pierric...@gadz.org> 写道:

> As far as I remember the cookbook does not cover the ADC but I believe 
> there are some simple ADC-read example directly in the image 
> under /var/lib/cloud9/Techlab/.challenges, or here: 
> https://github.com/beagleboard/cloud9-examples/blob/master/PocketBeagle/TechLab/.challenges/analogIn.pru0.c
> They are labeled for PocketBeagle but it's the same ti-am335x chip so they 
> should work easily on the BBB. 
>
> Also this recent thread should be useful! 
> https://groups.google.com/g/beagleboard/c/-WlvGEaqrKU 
> Hope it helps! 
> Pierrick 
>
>
> Le vendredi 23 avril 2021 à 18:18:42 UTC-4, chen...@gmail.com a écrit :
>
>> Thanks Vinicius. This is a great recommendation!
>>
>> Cheng
>>
>> 在2021年4月23日星期五 UTC-4 下午5:49:03<vinicius...@gmail.com> 写道:
>>
>>> I recommend for some directions and concepts the pru cookbook
>>>
>>> https://markayoder.github.io/PRUCookbook/
>>>
>>> Sent from my iPhone
>>>
>>>
>>> Em 23 de abr. de 2021, à(s) 18:46, Cheng Chen <chen...@gmail.com> 
>>> escreveu:
>>>
>>> It's either remoteproc or uio right? To be honest, I don't know much 
>>> about the difference. But I am following the book by Derek Molly and in his 
>>> book, he promotes remoteproc. 
>>>
>>>
>>> Regards,
>>>
>>> 在2021年4月23日星期五 UTC-4 下午5:38:16<lazarman> 写道:
>>>
>>>> Have you looked at  libruio? it fix everything.
>>>>  free support as well in group by TJ.
>>>>
>>>>
>>>> Sent from Yahoo Mail on Android 
>>>> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
>>>>
>>>> On Fri, Apr 23, 2021 at 4:31 PM, pierric...@gadz.org
>>>> <pierric...@gadz.org> wrote:
>>>>
>>>> Have you check M Yoder PRU cookbook?
>>>>
>>>> Pierrick Rauby
>>>>
>>>> On 23 Apr 2021, at 16:56, Cheng Chen <chen...@gmail.com> 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 there was a tutorial website previously but now it's obsolete. 
>>>> I wonder if anybody knows where those materials is available? 
>>>> The reason I asked is I am not able to successfully run any examples 
>>>> except PRU_gpioToggle. In particular I am interested in RPMsg transfer 
>>>> between ARM and PRU. For example, PRU_ADC_onChip 
>>>> <https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tree/examples/am335x/PRU_ADC_onChip?h=master>,
>>>>  
>>>> after I built the firmware and userspace code, and run ./pru_adc_userspace 
>>>> -c 5. It just shows error messages. 
>>>>
>>>> Reading voltage at ADC Channel: 5
>>>> /dev/rpmsg_pru30 could not be opened.
>>>> Trying to initialize PRU using sysfs interface.
>>>> ERROR: Could not open /dev/rpmsg_pru30
>>>>
>>>> I think it should be just some minor issues like driver missing and 
>>>> such. But I don't know where to start debugging. It would be nice that if 
>>>> anybody knows where the tutorial is. I feel like I'm just trying in the 
>>>> dark. Thanks. 
>>>>
>>>> Regards,
>>>> Cheng
>>>>
>>>> -- 
>>>> 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 beagleboard...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/beagleboard/b0dc4e7b-edd7-45f7-b54b-28a9cedd6a2an%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/beagleboard/b0dc4e7b-edd7-45f7-b54b-28a9cedd6a2an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> -- 
>>>> 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 beagleboard...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>>
>>>>
>>>> https://groups.google.com/d/msgid/beagleboard/585CFD31-D22E-4C60-A444-378EB8E47288%40gadz.org
>>>>  
>>>> <https://groups.google.com/d/msgid/beagleboard/585CFD31-D22E-4C60-A444-378EB8E47288%40gadz.org?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> -- 
>>> 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 beagleboard...@googlegroups.com.
>>>
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/beagleboard/1184025e-6d73-4e43-b0b8-d78ffcc1466cn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/beagleboard/1184025e-6d73-4e43-b0b8-d78ffcc1466cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ad2cfc4b-ab66-4328-882e-e5a04614104an%40googlegroups.com.

Reply via email to