2017-11-06 06:12 AM
Hello,
STM32F37 reference manual rm0313.pdf Rev5 in chaper 29.3 'USB implementation' lists 2 implementations, one with 512 byte and the second with 1024 byte packet memory. There is no explanation when which implementation applies.
The system header only list USB for STM32F373, while STM32F378 has no USB.
What holds/
2017-11-06 06:37 AM
In Table 106 'USB implementation' I also doubt about the '2x 16 bits/word' Dedicated packet buffer memory SRAM access scheme. Looking with the debugger all halfwords on odd halfword addresses are zero and not writable. This probably also has consequences to Table 1 'Table 1. STM32F37xxx peripheral register boundary addresses (continued)' for the USB related entry. Probably 0x40006000 up to 0x400063fff is used for USB packet memory. In table 1 entry '0x4000 6200 - 0x4000 63FF ' has also the wrong size '1 KB'
2017-11-06 07:42 AM
Hi
Bonnes.Uwe
,There is an error in the table 106 ''USB implementation'' of the RM0313: the 3rd column will be removed as it shouldn't be there.
Then, the last line ''USB 2.0 Link Power Management (LPM) support'' has to be removed as LPM isn't supported in STM32F Accordingly, all LPM related bits have to marked as reserved in USB registers.
This is already tracked to be fixed in coming RM version.
Regarding table 1, we have the following:
The entry
entry ''0x4000 6200 - 0x4000 63FF'' is reserved, that is true it should be 0.5 KB.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2017-11-06 09:16 AM
What about the '2x 16 bits/word' issue? I am sure the Stm32f3& USB has '1x16/vord'! As explained above, this has consequences to Table 1