How does IEHOST in USBx_ADDINFO get cleared in the K20 USBOTG module?

cancel
Showing results for 
Search instead for 
Did you mean: 

How does IEHOST in USBx_ADDINFO get cleared in the K20 USBOTG module?

216 Views
wre
Contributor III

Hi.  After configuring the K20 USBOTG module to be a device the IEHOST bit is still set.  What is required to clear IEHOST?

Thanks.

Labels (2)
Tags (4)
0 Kudos
2 Replies

109 Views
albertovargas
NXP Employee
NXP Employee

Hi Bill,

This register is used during the initialization of the module and it can't be changed on the fly.

If you need to change it on the fly, check USB On-The-Go or Duall Role configuration for it

0 Kudos

109 Views
wre
Contributor III

Thanks for the reply.  I understand that it can not be cleared (to indicate Device) directly.  I'm trying to understand what I'm missing in my configuration of the USBOTG module that keeps IEHOST set.  In other words, after I configure the module I would expect IEHOST to be cleared but it isn't.  My assumption is that I'm missing something in the configuration but I don't know what. 

Bill

0 Kudos