Search found 82 matches

by RKP
Thu Jan 24, 2008 2:05 pm
Forum: Compiler
Topic: USB stops if SPI is used
Replies: 9
Views: 4896

Doug, Here is my simple example of the SPI test. { **************************************************************** * Name : My_SPI_Test * * Author : XXXXXXXXXXXXXX * * Notice : Copyright (c) 2007 None * * : All Rights Reserved * * Date : 10/22/2007 * * Version : 1.0 * * Notes : * * : * ************...
by RKP
Thu Jan 24, 2008 1:06 am
Forum: Compiler
Topic: USB stops if SPI is used
Replies: 9
Views: 4896

Doug, Yes, I can send you something tomorrow. Do you have a development board? If it is an EasyPic4, I have some examples of other modules as well. Like A/D, SPI and LCD with the USB . With your previous example I did not see where you placed any data in the Read or Write routine in the SPI module. ...
by RKP
Wed Jan 23, 2008 11:29 pm
Forum: Compiler
Topic: USB stops if SPI is used
Replies: 9
Views: 4896

Doug, You are correct about the SPI.Bas. What you need to do is copy the SPI.bas and rename it to something like USBSPI.Bas Open it and change the lines that define SCK, SDI, SDO and _SS to the port and pins that match the PIC pins and save it in the same location of your main BAS file. Now change t...
by RKP
Fri Dec 21, 2007 4:33 pm
Forum: Modules
Topic: USB HID issue
Replies: 5
Views: 3780

Xor, Yes the PIC is set up with the Output = 2 and the Input = 8 These are the values that I put the EasyHid Wizard and the results are here: // EasyHID options... #option USB_HAVE_SERIAL_STRING = true #option USB_VID = 2790 #option USB_PID = 0005 #option HID_EP_OUT_POLLING_MS = $0A #option HID_EP_I...
by RKP
Fri Dec 21, 2007 2:52 pm
Forum: Modules
Topic: USB HID issue
Replies: 5
Views: 3780

Xor, I am sure you are right about Jan' program, but I don't have the abiltiy to change it. But it seems to show all the extra bytes regardless of how it was configured. Anyway, I see the same thing on ME's HID Terminal which I believe, shows all the return data on the display. With the un-modified ...
by RKP
Thu Dec 20, 2007 9:02 pm
Forum: Modules
Topic: USB HID issue
Replies: 5
Views: 3780

USB HID issue

As long as the Hid Input and Output bytes are the same number, everything works well. But change the Input and Output bytes to say 2 for Output and 8 for Input and there is a problem. First let me say I use Jan Axelson's HID Tester; because I used it before and I don't have MS Studio. The HID tester...
by RKP
Wed Oct 31, 2007 1:43 am
Forum: Modules
Topic: ADC module and the 18F2455
Replies: 0
Views: 3114

ADC module and the 18F2455

After spending a few hours trying to get the PIC to work on my EP4 thru the USB port with a LCD connected. The A/D would not read the AN0 input , it would just hang. After checking the assembly it appears that the ADCON* registers were not getting set correctly. I had to change a line in the 18F2455...