This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

stm32f407 usb High speed host

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.

Parents
  • It is my understanding that you need an external PHY to get to the 480 Mbps rates.

    You should be able to test the maximal rate of the flash device on the STM32 without USB, this will be the limiting factor.

    I don't have a system set up to bench mark this for you. I'd guess that 5-10 MBps would be achievable.

Reply
  • It is my understanding that you need an external PHY to get to the 480 Mbps rates.

    You should be able to test the maximal rate of the flash device on the STM32 without USB, this will be the limiting factor.

    I don't have a system set up to bench mark this for you. I'd guess that 5-10 MBps would be achievable.

Children