Problem with GPCLK

Open
#340 1 comment 1 reaction 1 assignee View on GitHub

@mstroh76 is already working on this.

Since Apr 4, 2025.

Assessment

This issue has not been assessed yet.

Description

bug

i'm trying to generate a 11.26MHz clock on GPCLK0 pin, but i'm either getting 10.8MHz or 13.5MHz. also i dont get the frequency that i'm telling it to send. for exemple gpio clock 7 3500000 gives 10.8MHz and gpio clock 7 4000000 gives 13.5MHz. does someone have suggentions how to do it? i need to do it either by using some command or in C or Cpp. and same thing using gpioClockSet function.

Dominant language
C
Stars
3.3k
Forks
1.3k
Avg merge
16h 52m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WiringPi/WiringPi

All issues in WiringPi/WiringPi

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.