RE: USB virtual comm

Reply to a new post on the Read-Only thread,
http://www.keil.com/forum/21035/

Ramesh goud
> am working on IAR evalution board (LPC2148) for USB virtual com. The sample code from keil is not working in this board.

Did you really try it?
I believe the CDC example (Keil\ARM\Boards\Keil\MCB2140\RL\USB\Device\CDC\) works on the IAR board without any change.

Here is the schematics of both boards,

Keil MCB2140
http://www.keil.com/mcb2140/mcb2140-schematics.pdf

IAR LPC2148 Development board
old.iar.com/.../LPC2148-board-schematic.pdf

To run the CDC example,
- Both boards mount a 12MHz crystal
- MCU VBUS pin (P0.23) connects to VBUS pin of the USB connector over resistors.
- DB9 connector on UART1 (COM1 / RS232_1)

The difference is just USB_CONNECT (P0.31) pin. MCB2140 doesn't use USB_CONNECT, but IAR board requires it.
The example code enables USB_CONNECT function in USBD_Init(), usbd_LPC214x.c.

In these observations, I believe the Keil CDC example works on the IAR board as it is.

Tsuneo

Parents
  • Hello Tsuneo, i've enable the pin P0.31, now it's showing that unknown device with that code, i hope the enumeration process is not working properly,

    The example code that was given by the IAR systems is working fine, it's detecting the COM over there. And he had provided the host driver to work.

    Tel me some suggestion...

Reply
  • Hello Tsuneo, i've enable the pin P0.31, now it's showing that unknown device with that code, i hope the enumeration process is not working properly,

    The example code that was given by the IAR systems is working fine, it's detecting the COM over there. And he had provided the host driver to work.

    Tel me some suggestion...

Children
More questions in this forum