Hi I have question about STM32F407 and USB host. I am using discovery board and I can work with USB Full speed properly. I need to work with USB High Speed but in keil projects there is a sample which is based on ULPI and it needs USB HS PHY (it is not exist on discovery board)
I need to know: What are exactly those pins with names: USB_HS_DP and USB_HS_DM on microcontroller package? is it possible to port this sample for USB HS or it just need external PHY.
another question about MCBSTM32F400: Do you know the throughput of USB HOST HS as a MSD driver?
for example if you open a file and just write a 32768 bytes buffer how long does it take? like this:
U8 buff[32768]; void tst_fwrite (void) { FILE *fout; U16 i; fout = fopen ("speed.log","w"); if (fout != NULL) { for(i=0;i<512;i++) fwrite (&buff[0], 1, 32768, fout); } fclose (fout); }
it will write 16MB. with such a code on USB FS it can write 950KByte per second. maybe it will be my Tempting to buy MCBSTM32F400.
"Figure 88. USB controller configured in dual mode and used in full speed mode"
I found it:
2.2.31 Universal serial bus on-the-go high-speed (OTG_HS)The STM32F405xx and STM32F407xx devices embed a USB OTG high-speed (up to 480 Mb/s) device/host/OTG peripheral. The USB OTG HS supports both full-speed and high-speed operations. It integrates the transceivers for full-speed operation (12 MB/s) and features a UTMI low-pin interface (ULPI) for high-speed operation (480 MB/s). When using the USB OTG HS in HS mode, an external PHY device connected to the ULPI is required.
but it is a kind of disaster that we call something OTG HS but there is no HS and it need external PHY ... so what the hell is PB14 (OTG_HS_DM) and PB15 (OTG_HS_DP). why do they call it "HS"?
anyway ...
Does anybody check the throughput?