This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: ULPI on MSP432

Part Number: MSP432E401Y

Hello,

I am connecting a USB MSC device to a MSP432E401Y by mean of the Microchip USB3340 ULPI Phy on a custom PCB.

With minor modification I have been able to run the usb_msc_host_MSP_EXP432E401Y_tirtos_ccs exemple and see files from the USB MSC device.

However when I insert a USB hub between the board and the MSC device, the latter is not recognized any longer.

I added all the code required for the Hub Driver and the hub connection is detected (Callback activated).

When I deep dived into the enumeration and mounting (f_mount) process of the MSC device through the hub I see the following: 

- the enumeration process seems to work.

- inside f_mount (I changed the last parameter to 1 so that the library checks immediately if the drive is available)

- all the process works OK including the disk_initialize function with all the  SCSCI  inquire , readsize functions ...

- however when the f_mount tries to read the first sector in the check_fs () function (in ff.c) to check the file system the  USBHSCSISendCommand() function sending the read command for the first sector returns 0. Inside this function the USBHCDPipeRead() returns 0 as well as the USBHCDPipeRead(ui32InPipe, (uint8_t *)&sCmdStatus,sizeof(tMSCCSW)); function.

Any idea on how to make ths read work ?

Best regards.

Frederic