Hi Anton!

Am Montag, 17. September 2018 18:11:17 UTC+2 schrieb Anton Nikiforov:
>
>
>
> понедельник, 17 сентября 2018 г., 18:02:10 UTC+3 пользователь TJF написал:
>>
>> It's pretty easy when you use the matching tools:
>>
>> a) disable rproc
>> b) disable cape-universal
>>
>> Instead
>>
>> c) enable uio_pruss driver
>> d) install libpruio
>>
>> Then do pinmuxing by function setPin(Top, Ball, Mode) 
>> <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/class_pru_io.html#a8d1cc5e85dcd08fd69c93bec07e17dc6>.
>>  
>> Single source, no external pinmuxing, no device tree overlay,
>>
>> It's most likely that you can use some of the libpruio IO features (ADC, 
>> GPIO, TIMER. PWM, CAP, QEP). So PRU-0 for your firmware, PRU-1 for hardware 
>> driver libpruio. The first prove of concept can be done on ARM CPU, then 
>> switch to the PRU for the final shot (fast, hard real-time).
>>
>> Ask for details if you're interested.
>>
>
> I want to use PRU for Bitbanging and i wish i would try as much tools as i 
> can for it. So i'm interested in it.
>

I added two new examples to the library: pruss_add and pruss_toggle. Find 
details in the documentation 
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/ChaExamples.html>.
 
The example pruss_toggle is close to your bitbanging target. it configures 
a PRU-GPIO output, toggles that pin and measures the pulse train by 
libpruio CAP feature. (Reduced toggling speed in order to get good 
measurements.)

Note: single source! All code in one file (pinmuxing, firmware, PRUSS 
control), running at user space (no administrator privileges necessary).

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c50e0a7e-7750-42eb-b4e9-b10484c1fd57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to