Author Topic: Can we use USB OTG connector in LPC32xx board as serial com port  (Read 5753 times)

nightrapper

  • Member
  • ***
  • Posts: 20
Sir,
I am having LPC32xx board and i have one otg connector on the board.

Can i connect my board to PC  through OTG connector via USB cable?

How to proceed i am confused .only thing i know is the board has to be in device mode to get detected by PC which will act as host mode.

What all changes i need to make in software to make usb work in serial mode both in PC as well as board i am getting confused?

I have  OTG connector on board can we use the device mode of LPC usb controller with this connector?




Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Can we use USB OTG connector in LPC32xx board as serial com port
« Reply #1 on: December 18, 2013, 11:50:52 am »
What firmware/software is on the board now?

nightrapper

  • Member
  • ***
  • Posts: 20
Re: Can we use USB OTG connector in LPC32xx board as serial com port
« Reply #2 on: December 23, 2013, 02:19:37 am »
Sir,

I am using linux kernel 2.6.34 on the lpc32x0 board

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Can we use USB OTG connector in LPC32xx board as serial com port
« Reply #3 on: December 23, 2013, 10:21:24 am »
If the OS has OTG support, if you attach a device using mini-A or micro-A (depending on your OTG connector) plug, the OS should detect and enumerate the device.

Also see:

http://www.linux-usb.org/gadget/