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

R8_PLL_CONFIG and R8_FLASH_CFG are undocumented #14

Open
karlp opened this issue Apr 28, 2022 · 0 comments
Open

R8_PLL_CONFIG and R8_FLASH_CFG are undocumented #14

karlp opened this issue Apr 28, 2022 · 0 comments

Comments

@karlp
Copy link

karlp commented Apr 28, 2022

The provided startup code both sets and clears bits in the registers R8_PLL_CONFIG (0x4000104B) and R8_FLASH_CFG (0x40001807), but their contents are undocumented in CH583DS1_EN.pdf

See https://github.com/openwch/ch583/blob/main/EVT/EXAM/SRC/StdPeriphDriver/CH58x_sys.c#L29 and https://github.com/openwch/ch583/blob/main/EVT/EXAM/SRC/StdPeriphDriver/CH58x_sys.c#L113

See https://github.com/openwch/ch583/blob/main/EVT/EXAM/SRC/StdPeriphDriver/CH58x_sys.c#L98

The values written to these registers has also changed with library updates, so we need to know what these are for.

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