¿ªÔÆÌåÓý

Re: Homebrew SBITX - Mikroe WM8731 Proto Board Clock #homebrew #sBitx


 

Rather than change a crystal, there must be a software way of getting this correct.
I looked in the R Pi linux repository on github,?
  • /
  • /
  • /
  • ?

?/ wm8731.h


and can't see where these clock frequencies might be defined. There are two flags:
#define WM8731_SYSCLK_MCLK 0
#define WM8731_SYSCLK_XTAL 1
I guess these are associated with whether an internal or external clock is used.
I don't fully understand how the overlay system works and how various parameters can be specified. The code was written by?Richard Purdie <richard@...>.
They responded to issues re the wm8731 use on RPi5 from?
https://github.com/raspberrypi/linux/issues/5927
There is an earlier discussion on the clock frequency here:
https://github.com/raspberrypi/linux/issues/1672

Tony

Join [email protected] to automatically receive all group messages.