-
Notifications
You must be signed in to change notification settings - Fork 243
[stm32f7] Fix SYSCFG registers #612
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
Conversation
Could you rebase this now that the timers PR is merged? It would make it easier to review and to compare the memory maps. |
57ab1f1
to
430df12
Compare
Done. |
430df12
to
1212829
Compare
_delete: | ||
- PB* | ||
- I2C* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand these deletions, it looks like RM0431 has the I2C and PB fields in PMC, and doesn't have the MII_RMII_SEL? Whereas RM0410 does have MII_RMII_SEL as well as PB and I2C, and only RM0385 (stm32f745, f750, f7x6) has the MII_RMII_SEL but no PB/I2C fields.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's me working mainly with the register map and not always checking every register ^^'
Also for RM0431 there is no Ethernet support, so removing MII_RMII_SEL make sense.
d000b9e fix this.
For RM0385, I2C seems to support Fast Mode + , so I'm not sure why those fields aren't present here, is the RM wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why 0385 doesn't have them, but they're not in any version of the RM and no mention of it in the errata... I don't have any of those F7 to test with. Maybe ST's HAL has clues? I think we can leave them out for now and add later if it turns out they should be here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks mostly sensible but I didn't totally follow the deletions from the PMC register:
d000b9e
to
ed335c0
Compare
ed335c0
to
3ea57ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good now, thanks. As mentioned in the comment, we can add the FMP fields to 745/750/7x6 (RM0385) later if they do actually exist.
bors merge
Following #606, fix fields in SYSCFG for every F7 chips