PDA

View Full Version : Usb to serial



vicce67
- 19th December 2008, 22:29
dear friends,

does possibility exist of transforming the pic 18f2450 OR SIMILAR in an usb conversor for serial (RS232)?

if possible they can show an example?

in advance thankful,

vicente(brasil)

Kamikaze47
- 21st December 2008, 05:21
Yes it is possible.

Use CDCDESC.ASM that comes with PBP as the USB definition file. This will configure the USB transceiver to be a serial communications port.

Then you can do USBOUT to endpoint 3 to send data to the usb comm port.