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
Buggy SVD files for STM32F4 USB OTG peripherals #327
Labels
Comments
<name>FS_DIEPTXF1</name>
<displayName>FS_DIEPTXF1</displayName>
<description>OTG_FS device IN endpoint transmit FIFO size
register (OTG_FS_DIEPTXF2)</description> From the manual: (RM0390 pp 1143) |
There are more bugs. I have fixed those which i found in #697, and there are probably even more. Should we close this issue though? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to do some USB OTG programming. However it looks like not all relevant registers are exposed in this crate, or at least they are mislabelled, owing to some dodgy SVD files. For instance,
FS_DIEPTXF0
appears to be missing from the crate but it looks like it might appear under the nameFS_GNPTXFSIZ
. This might not be the only inconsistency, if I come across any more I'll report them here as well.Reading the STM32F446xx reference manual I'd expect
FS_DIEPTXF0
to appear in the otg_fs_device module, andFS_HNPTXFSIZ
in otg_fs_host. That they have the same offset in the OTG register block and its usage merely depends on the mode in which the core operates - device or host - is a question left to the designers of that peripheral.The text was updated successfully, but these errors were encountered: