USB host support in XDK!
Answer
2/17/16 4:09 AM
Hi,
I am developing a prototype using XDK.
Use case : A diagnostic device shall communicate to XDK via USB interface to push its diagnostic information.
My expectation is XDK should act as USB host and our diagnostic device act as slave.
Is it feasible to realize this use case with XDK?
Regards
Venugopal D
 
0 (0 Votes)
USB host support in XDK!
Answer
2/18/16 12:39 PM as a reply to Venugopal Duraiswamy.
No USB host support on XDK, you could try UART on the extension port. What kind of device are you about to connect?
0 (0 Votes)
USB host support in XDK!
Answer
2/18/16 1:08 PM as a reply to Kornelius Nägele.
Hello Venugopal:

the internal XDK USB module can operate in both, host and device mode. This case isn’t implemented in the XDK-plattform right now, but you can access the usb stack directly.
So generally, it is possible to communicate with a USB slave device and get the diagnostic data.

But as Kornelisus already said, a connection via UART would be much easier to realize, is this a possibility for you?

Kind regards
Manuel
0 (0 Votes)
USB host support in XDK!
Answer
2/19/16 5:11 AM as a reply to Manuel Cerny.
thanks for USB related updates.

yes. UART support is available and exploring that option also.

my diagnostic device has 3.3V max for UART and there is no pullup. if i connect with XDK UART [PB9, PB10] directly, then is there any issue expected?
[note: we got info from XDK manaul that XDK GPIO pin needs to be interfaced with only 2.5v as max]

Regards
Venugopal D
0 (0 Votes)
USB host support in XDK!
Answer
2/19/16 5:15 AM as a reply to Venugopal Duraiswamy.
@Kornelius - Its small diagnostic box to collect boiler controller diasnotic data for offline analysis.
0 (0 Votes)
USB host support in XDK!
Answer
2/19/16 12:34 PM as a reply to Venugopal Duraiswamy.
Hi Venugopal, 

as you already noticed, the GPIO pins as well as the UART pins should be interfaced with 2.5V.
So to avoid the risk of over voltages you should integrate a level shifter to adapt your diagnostic output voltage.

There is no need for an external pull-up resistor, because the GPIO and UART pins include internal pull-ups in standard configuration.

Regards,
Manuel
0 (0 Votes)