Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change GPIO? #4

Open
rsoennic opened this issue Jun 17, 2022 · 0 comments
Open

Change GPIO? #4

rsoennic opened this issue Jun 17, 2022 · 0 comments

Comments

@rsoennic
Copy link

HI,
My GPIO4 is no longer working, after years as a WSPR beacon. I would like to switch the output to GPIO5 which I believe has the same clock out alternate function. (Clock 1 instead of clock0?)

I have tried to do this in the code but with no luck so far.
In gpioclk.cpp
SETBIT(GPFSEL0 , 14);
CLRBIT(GPFSEL0 , 13);
CLRBIT(GPFSEL0 , 12);

becomes

SETBIT(GPFSEL0 , 17);
CLRBIT(GPFSEL0 , 16);
CLRBIT(GPFSEL0 , 15);

and references to CM_GP0DIV and CM_GP0CTL become CM_GP1DIV and CM_GP1CTL, with new base address defines.

Still no output.

Can anyone help with this?

Thanks

Rich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant