No way! P9_17 is for PRU-1.
But libpruio
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/index.html>
can set P9_18 to pr1_edio_data_out0, which is mode 6. Find example code at
http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruss__toggle_8c_source.html
In your case it needs a line at line number 110 like
if (io->setPin(io, P9_18
<http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/pruio__pins_8bi.html#af38ae7c5f55c73ea6b438c6806e5cf67>
, 6)) {
printf("P9_18 configuration failed (%s)\n", io->Errr); break;}
OR a resistor to the mode, if needed.
Regards
Am Samstag, 18. Januar 2020 08:14:52 UTC+1 schrieb Andrew P. Lentvorski:
> Is there a way to set the pinmux for a pin to the PRU Industrial Ethernet
> Peripheral from Linux (for example: set pin P9_17 to pr1_edio_data_out0)?
>
> If not, what would be the recommended way to do so?
>
> Thanks.
>
--
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/acbe262e-019a-48f1-99af-0b37d634e594%40googlegroups.com.