Author |
Message |
Topic: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
steav
Replies: 7
Views: 11242
|
Forum: General CCS C Discussion Posted: Wed Nov 05, 2014 8:18 am Subject: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
The correct order is just to include the USB files in the same way as shown as in the examples and NOT to remove #includes within driver files
In my main application, these are the include ... |
Topic: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
steav
Replies: 7
Views: 11242
|
Forum: General CCS C Discussion Posted: Wed Nov 05, 2014 6:14 am Subject: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
I found the problem!
The USB driver files where included in incorrect order, overwriting some #define macros. Now it is working as it shound using usb_kbhit(), without the need of adding a USB_HID_ ... |
Topic: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
steav
Replies: 7
Views: 11242
|
Forum: General CCS C Discussion Posted: Wed Nov 05, 2014 5:01 am Subject: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
Thank you for your answer!
I do it exactly the same way:
void usb_rx_task(void)
{
int8 rx_msg[USB_EP1_RX_SIZE];
if (usb_kbhit(1))
{
... |
Topic: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
steav
Replies: 7
Views: 11242
|
Forum: General CCS C Discussion Posted: Wed Nov 05, 2014 3:36 am Subject: (Solved) USB_HID_REQUEST_SET_REPORT implementation |
Hi!
I'm using CCS PCD v5.030 with PIC24FJ256DA210 (MCP development board).
The CCS HID USB driver is working fine, but I can't get the HID get_report/set_report feature to work.
USB.h - CCS alrea ... |
Topic: SD Card Lite Driver from brushelectronics.com |
steav
Replies: 9
Views: 14699
|
Forum: General CCS C Discussion Posted: Fri Apr 25, 2014 12:25 pm Subject: SD Card Lite Driver from brushelectronics.com |
I had the same problem with this SD card driver, it did not work with 5.020 to 5.024. There are some other problems with 5.025 (OLED with fonts saved on ROM not working any more).
But 5.018 works fin ... |
Topic: PIC18LF26K22 Crystal to Internal Oscillator switching |
steav
Replies: 5
Views: 14740
|
Forum: General CCS C Discussion Posted: Wed Feb 26, 2014 11:18 am Subject: PIC18LF26K22 Crystal to Internal Oscillator switching |
Do a search here on #use rs232.
This was covered many times ages ago, when people were trying to switch baud rates with this statement.
The key is to understand, that the #use delay, is early in t ... |
Topic: PIC18F: i2c only working with Gyro, not with Accelerometer |
steav
Replies: 7
Views: 17184
|
Forum: General CCS C Discussion Posted: Wed Nov 23, 2011 7:04 am Subject: PIC18F: i2c only working with Gyro, not with Accelerometer |
Hm yes it sounds like the hardware is the only possible source of error, but
I ordered some more PCBs and also have a perfboard with these SMT to DIP adapters, for each IC, and the behaviour is ever ... |
Topic: PIC18F: i2c only working with Gyro, not with Accelerometer |
steav
Replies: 7
Views: 17184
|
Forum: General CCS C Discussion Posted: Wed Nov 23, 2011 1:17 am Subject: PIC18F: i2c only working with Gyro, not with Accelerometer |
Thanks for your code...
I got it easily to work and it returns only this ack:
ACK addr: D0
...which is the Gyro's address |
Topic: PIC18F: i2c only working with Gyro, not with Accelerometer |
steav
Replies: 7
Views: 17184
|
Forum: General CCS C Discussion Posted: Tue Nov 22, 2011 4:24 pm Subject: PIC18F: i2c only working with Gyro, not with Accelerometer |
Thanks for your reply!
I changed the pullups to 1k, but still exactly the same :/ |
Topic: PIC18F: i2c only working with Gyro, not with Accelerometer |
steav
Replies: 7
Views: 17184
|
Forum: General CCS C Discussion Posted: Tue Nov 22, 2011 10:15 am Subject: PIC18F: i2c only working with Gyro, not with Accelerometer |
Hello!
I'm trying to get my code to work on PIC18F27J53 since weeks :/
I'm using a couple of features like USB, UART1 for bluetooth, UART2 for ANT+, USB-Charger for LiPo Battery. Everything is pow ... |
|