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.

USB Host/Device S/W Control

Hi,

We are trying to set the USB controllers as HOST on Centaurus via S/W as described in sections 25.2.5, 25.2.9 and 25.3.2 of the SPRUGZ8A, revised february 2012 and we have problems getting it to work. We currently have the USBx_ID pins NC on our board.

First, in section 25.2.5 it says: "In this case the USBnMODE needs to be programmed with a value of 1 so that Register programming will be used."

What bit needs to be set? Is it bit 7 of USBnMODE?

Then, in section 25.2.9:"Similarly, for a USB host configuration [...] the firmware is required to program the respective USB Mode Register IDDIG bit field with a value of 0value prior to the USB controller going into session"

Then, in section 25.3.2:"The USB controller assumes the role of a host when the USBx_ID pin state is grounded or USB Mode Register[iddig=bit8] is cleared to 0 (provided that bit 7 of USBnMODE is also set to 1)"

Do we have something special to do apart from this as we can't get this procedure to work with the current SDK.

Thanks