Page 1 of 1

USB HID make pic reset

Posted: Sat Feb 08, 2014 4:51 pm
by Desdewit
Hi

Please help?
I'm trying to use the USB HID to send data received via gsm to my pc but every time I enable the usb my pic reset when the gsm receives a sms.
Without the usb my program receives and send data via gsm and display received data on lcd correctly. :cry:

Re: USB HID make pic reset

Posted: Mon Feb 10, 2014 11:40 am
by Benj
Hello,

The HID descriptor is setup for a keyboard but the options are setup for a mouse.

I think the USB Serial might be better option for you as this does not require constant transactions like HID does.

Re: USB HID make pic reset

Posted: Mon Feb 10, 2014 1:18 pm
by Desdewit
Hi Ben

Do I need a FTDI chip when using usb serial?

Re: USB HID make pic reset

Posted: Mon Feb 10, 2014 5:57 pm
by Benj
Hello,

Nope just a USB compatible PIC.