Switching from HSS Block to Byte Mode

Question: In EZ-Host/OTG, how can we stop the HSS block receive transfer before all the bytes are read and correctly switch HSS from block to byte mode?

 

Answer:

HSS FIFO mode once enabled in hardware can be terminated only after the ongoing transfer. You will have monitor the Receive Done Interrupt Flag and once the entire block is received switch to "byte" mode.