--Thanks,Alek
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/d1dba4a7-8b48-47a3-ad6e-c55844b2dec0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
debian@beaglebone:/var/lib/cloud9/2ecf864e1b3f250bad82c0eae12b7b64$ sudo config-pin p9.30 pruout
P9_30 pinmux file not found!
bash: /sys/devices/platform/ocp/ocp*P9_30_pinmux/state: No such file or directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_30_pinmux/state
debian@beaglebone:/sys/devices/platform/ocp$ ls
40300000.ocmcram 44e35000.wdt 48044000.timer 48060000.mmc 481ae000.gpio 49000000.edma 4a300000.pruss driver_override ocp:l4_wkup@44c00000
40302000.ocmcram_nocache 44e3e000.rtc 48046000.timer 480c8000.mailbox 481d8000.mmc 49800000.tptc 4c000000.emif modalias of_node
44e07000.gpio 47400000.usb 48048000.timer 480ca000.spinlock 48200000.interrupt-controller 49900000.tptc 53100000.sham ocp:P9_19_pinmux power
44e09000.serial 48038000.mcasp 4804a000.timer 4819c000.i2c 4830e000.lcdc 49a00000.tptc 53500000.aes ocp:P9_20_pinmux subsystem
44e0b000.i2c 48042000.timer 4804c000.gpio 481ac000.gpio 48310000.rng 4a100000.ethernet 56000000.sgx ocp:cape-universal uevent
Regards,
--
Robert Nelson
https://rcn-ee.com/
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYg3zMOM3xtcd19zv-FMBG-idkaLzcsW84M7XXpT_bzgaw%40mail.gmail.com.
I noticed that USR0 was blinking at a steady rate that was not 5 blinks per second it is supposed to.
(After I ran sudo make run). There was no way to make it stop blinking with the /sys/class/leds/ commands.
I restarted the beaglebone and was able to control whether it did a heartbeat/none with trigger, but after I ran "sudo make run" it did the blinking again.I changed the hello-pru.c so that the INS_PER_US was 50 instead of 200 and recompiled and it appears to be blinking four times as fast, so the PRU is controlling the LED without having to run "sudo config-pin p9.30 pruout."
--
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/0d1000a8-ffe6-4e22-979b-fb5ce1194efb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
P9.31 / hdmi audio clk 100 A13 fast rx down 7 gpio 3.14
P9.29 / hdmi audio fs 101 B13 fast rx down 7 gpio 3.15
P9.30 102 D12 fast rx down 7 gpio 3.16
P9.28 / hdmi audio data 103 C12 fast rx down 7 gpio 3.17
P9.42b 104 B12 fast rx down 7 gpio 3.18
P9.27 105 C13 fast 7 gpio 3.19 pruss@4a300000 (pinmux_pru_pru_pins)
P9.41 106 D13 fast 7 gpio 3.20 pruss@4a300000 (pinmux_pru_pru_pins)
P9.25 / audio osc 107 A14 fast rx down 7 gpio 3.21
P9.41 / jtag emu3 109 D14 fast rx down 7 gpio 0.20/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>
/ {
// This determines which boards can use this DTS overlay
compatible = "ti,beaglebone", "ti,beaglebone-green", "ti,beaglebone-black";
// I think part-number is supposed to correspond with the filename,
// so we'd save this as "PRU-GPIO-MTV-00A0.dts".
part-number = "PRU-GPIO-MTV";
version = "00A0";
exclusive-use =
"P9.41", "P9.27", "pru0";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
example_pins: pinmux_pru_pru_pins {
pinctrl-single,pins = <
0x1a8 0x0f
0x1a4 0x0f
>;
};
};
};
// This enables the PRU and assigns the GPIO pins to it for use in EGP mode.
fragment@1 {
target = <&pruss>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&example_pins>;
};
};
};