Skip to main content
jasonp4113
Associate III
June 17, 2014
Question

ULPI HS-USB and I2S

  • June 17, 2014
  • 5 replies
  • 988 views
Posted on June 17, 2014 at 05:07

Without delving into the DS, can someone please confirm for me whether you can or cannot have ULPI and I2S enabled at the same time with F2-F4 QFP144 and smaller?

This seems a bit odd since I think there would be a need for USB-HS + SDIO + I2S for audio players....

Also, can someone please confirm whether or not you actually require an external ULPI PHY to get the USB-HS operating at 480mb/s rates in DEVICE mode only (OTG or host not req'd)

Thx.
    This topic has been closed for replies.

    5 replies

    thierry1
    Associate
    June 17, 2014
    Posted on June 17, 2014 at 14:15

    > ULPI and I2S enabled at the same time with F2-F4 QFP144 and smaller?

    Yes, using a F4 LQPF64 with ULPI and I2S at the same time.

    > actually require an external ULPI PHY to get the USB-HS

    Yes, F4 must have external ULPI PHY for HS. see RM0090 35.2.1

    jjackbauer7
    Associate III
    June 17, 2014
    Posted on June 17, 2014 at 16:30

    Hi Jason,

    Yes, you can do that !

    I have implemented something like that.

    jasonp4113
    Associate III
    June 18, 2014
    Posted on June 18, 2014 at 05:07

    .... but with SDIO as well????

    Thx for the confirmation on the HS-PHY in device-only mode

    jasonp4113
    Associate III
    June 18, 2014
    Posted on June 18, 2014 at 05:11

    Sorry - I forgot to include the SDIO in the original post:

    Require ULPI + I2S + SDIO???

    Thx

    sdim
    Associate II
    June 18, 2014
    Posted on June 18, 2014 at 09:56

    It does not matter if you want device mode, host mode or dual role device. The ULPI pins are the same.

    Why do you need 480Mbps? It is impossible to use all the bandwidth with a microcontroller. At best you will have some bursts of data at 480Mbps but most of the time the USB bus will be idle.

    Why do you want to use SDIO?

    If you want to read SD cards, I recommend to use SPI mode. You have to pay some fees ($1.000/year ) for SDIO host. No fees are required for SPI host.

    So you can use ULPI + SPI1 + I2S3.

    If you use SDIO for other applications, like WiFi, you have to use STM32F427 LQFP100. ULPI + SDIO (4bit) + I2S2 or I2S3.

    You can use a lqfp64 stm32f4 plus a I2S bridge (SPI to I2S or USB to I2S connected to FS USB) but it will be more complex and more expensive.