Author Topic: HID-Serial adapter for using the LPC810  (Read 2965 times)

0 Members and 1 Guest are viewing this topic.

Offline bequest333Topic starter

  • Contributor
  • Posts: 16
  • Country: jp
HID-Serial adapter for using the LPC810
« on: May 11, 2015, 03:17:28 am »
Hi,

I am using Mr.Diego Mariano López customers' USB1.1 stack.
It was transplanted into LPC810.


http://www.ucontrol.com.ar/forosmf/programacion-en-asm/inalambrico-usb-12f675/

Attached source is HID-serial adapter which has confirmed the operation.

(1)Parts list
USB connector
LPC810
Resistor 10k
Resistor 1k5
Condenser 104
Diode x3

(2)LPC810 Pin assignment
1.Reset (PIO0_5)
2.PIO0_4
3.RXD (PIO0_3)
4.TXD (PIO0_2)
5.D- (PIO0_1)
6.VDD
7.VSS
8.D+ (PIO0_0)

(3)Technical information
Serial data transfer amount 1byte (Max 8bytes,You need to rewrite HID Report Descriptor)
Baud rate 9600
Program Size 3.2k bytes (80%)
« Last Edit: May 11, 2015, 05:08:31 am by bequest333 »
 

Offline zapta

  • Super Contributor
  • ***
  • Posts: 6597
  • Country: 00
Re: HID-Serial adapter for using the LPC810
« Reply #1 on: May 11, 2015, 04:15:42 am »
How does it looks on the host side (e.g. windows)?  As a standard serial port?
 

Offline bequest333Topic starter

  • Contributor
  • Posts: 16
  • Country: jp
Re: HID-Serial adapter for using the LPC810
« Reply #2 on: May 11, 2015, 04:52:34 am »
Hi,zapta

This is not a CDC.

CDC can be implemented in USB1.1, but it is operating outside the standard.

From the window it looks like the following.

USB Human Interface Device

Driver installation because it is HID is not required.

<How to access the HID device.>
1.You want to create an application on their own.
2.Use the YAT. (Yet Another Terminal)
http://sourceforge.net/projects/y-a-terminal/
3.It uses a loop back host of attachments.

Best regards,
Bequest333
 

Offline bequest333Topic starter

  • Contributor
  • Posts: 16
  • Country: jp
Re: HID-Serial adapter for using the LPC810
« Reply #3 on: May 21, 2015, 04:21:18 pm »
Hi,All

I've updated the LPC810 firmware.

Added feature
1.To change the baud rate from the host.
2.Manipulating the communication conditions from the host.
 (UART ON/OFF, data length, parity, stop bits)
3.2bits of the output port operation.



<Pin assignment>
1.DTR (PIO0_5)
2.RTS (PIO0_4)
3.RXD (PIO0_3)
4.TXD (PIO0_2)
5.D- (PIO0_1)
6.VDD
7.VSS
8.D+ (PIO0_0)

Thank you very much for Download.

Best regards,
Bequest333
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->