I forgot to mention it (even in the documentation). You can find further information about the PRUSS and the prussdrv-like libpruio functions at the following link:
https://github.com/beagleboard/am335x_pru_package/tree/master/Documentation Am Samstag, 22. September 2018 08:31:01 UTC+2 schrieb Anton Nikiforov: > > > > четверг, 20 сентября 2018 г., 9:48:37 UTC+3 пользователь TJF написал: >> >> 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). >> > > Thanks, i'll try it today, hope it will work properly with last Kernel. > -- 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/762706b3-d772-406a-b281-f5ea37fdac3d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.