[beagleboard] how to enable PRU

2015-06-02 Thread ciesla . tomasz
I've got one question - how can I switch on the PRU (both of them) on the BeagleBone so I can access them using am335x pru package. Nowadays I'm using Debian and in order to enable them I'm using the PRU cape: echo BB-BONE-PRU-01 /sys/devices/bone_capemgr.x/slots Is it the only way to do

[beagleboard] Re: Timer usage

2015-06-02 Thread ciesla . tomasz
You can use the Pulse-Width Modulation Subsystem (PWMSS) for that, chapter 15 in datasheet od AM335x Sitara Processor You can write / read registers using devmem2 Remember to enable L4 clock before -- For more options, visit http://beagleboard.org/discuss --- You received this message because

[beagleboard] confuguration of SPI using PRU

2015-04-29 Thread ciesla . tomasz
I've got a problem with configuration of SPI1 of BeagleBone White using PRU. The SPI works with external ADC in receive only mode during boot (ubuntu minimal) I do pin mux: //SPI CLK (output, mode3) echo 13 /sys/kernel/debug/omap_mux/mcasp0_aclkx //D1 (input, pull-up, mode3) echo 33

[beagleboard] SPI configuration via PRU

2015-04-29 Thread ciesla . tomasz
hi, I got problem with SPI configuration (receive only mode for ADC) using PRU, first the system setup: during boot (ubuntu minimal) does: #SPI CLK - output, mode 3 echo 13 /sys/kernel/debug/omap_mux/mcasp0_aclkx #D1 - input, mode 3, pulled-up echo 33 /sys/kernel/debug/omap_mux/mcasp0_axr0