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: MSP432 with ULPI Phy cannot read sector from MSC Device

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

  • Hi Frederic,

    This sounds like a good one.  Let me ask around to see if someone might have a suggestion.

  • Hi Frederic,

    Unfortunately, I have come up empty handed on this.

  • Hi Frederic,

    Since we weren't able to come up with a solution and no one else from the community has offered suggestions, I'll change the status of this posting to RESOLVED.
    If this isn’t the case, please click the "This did NOT resolve my issue" button and reply to this thread with more information.
    If this thread locks, please click the "Ask a related question" button and in the new thread describe the current status of your issue and any additional details you may have to assist us in helping to solve your issues.