cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F37 USB implemenatation

Uwe Bonnes
Principal III
Posted on November 06, 2017 at 15:12

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/

3 REPLIES 3
Uwe Bonnes
Principal III
Posted on November 06, 2017 at 15:37

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'

Amel NASRI
ST Employee
Posted on November 06, 2017 at 16:42

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:

0690X00000608rbQAA.png

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.

Posted on November 06, 2017 at 17:16

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