Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5224

Troubleshooting • Re: Cannot control a servo motor precisely

$
0
0
Well sysfs is part of the linux kernel and it is not just related to Raspberry Pi.

But for the Pi5 you have a small datasheet document. Not complete but it was enough to figure it out.

https://datasheets.raspberrypi.com/rp1/ ... herals.pdf
Ok with this doc it was fairly easy to understand what i had to do at low level but I don't get the values that you used for the clock:

Code:

sys_clock[CLK_PWM0_CTRL/4]=0x11000800;const uint32_t CLOCK = 30303030;
do you mind explaining them?

Statistics: Posted by _FranK_ — Sat Feb 03, 2024 8:27 am



Viewing all articles
Browse latest Browse all 5224

Trending Articles