You can have the pins configured upon bootup with a custom device tree 
overlay.

Tools to make one: bb.org - overlay 
<https://github.com/beagleboard/bb.org-overlays/>
If you follow the instructions listed in @RobertCNelson's readme file then 
you should be able to get started making one. A little heads up, have a 
station you can load the SD card into to remodify the uENV.txt file if you 
happen to have boot issues.


A few sources to learn more about them: 
U-Boot_Overlays 
<https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays>
Device_Tree_Usage <https://elinux.org/Device_Tree_Usage>
device-tree-dummies.pdf 
<https://events.static.linuxfound.org/sites/events/files/slides/petazzoni-device-tree-dummies.pdf>
wiki-Device_tree <https://en.wikipedia.org/wiki/Device_tree>

Hope this helps.

On Sunday, June 30, 2019 at 1:51:51 PM UTC-4, [email protected] wrote:
>
> I am trying to connect an OV7670 camera module to the board, but for it to 
> work the module needs a clock signal. I am using a PWM pin (P9_42). But 
> every time I reboot the device I need to config the pin again. 
>
> Is there anyway to make the pin configuration permanent so that it does 
> not reset every time the device is restarted?
>

-- 
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/bd2b53dc-1656-425a-95fa-f52c5b35c3d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to