Author |
Message |
Topic: USB HID via usb type C |
anemo
Replies: 9
Views: 21995
|
Forum: General CCS C Discussion Posted: Fri Feb 03, 2017 2:50 am Subject: USB HID via usb type C |
Problem solved. The capacitor between gnd and VUSB pin was wrong, i fixed it and now Mac can recognise pic. Thank you. |
Topic: USB HID via usb type C |
anemo
Replies: 9
Views: 21995
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2017 12:36 pm Subject: USB HID via usb type C |
I did, but nothing changed (still "device descriptor request failed"). I tried with and without hub also. Remark: i have to use apple usb-C/usb-A adapter between mac and pic, because not hav ... |
Topic: USB HID via usb type C |
anemo
Replies: 9
Views: 21995
|
Forum: General CCS C Discussion Posted: Wed Feb 01, 2017 10:58 am Subject: USB HID via usb type C |
I call usb_task() inside while(true) loop with 1 ms interval, as you can see at embedded code, or you thought something else?
Thanks. |
Topic: USB HID via usb type C |
anemo
Replies: 9
Views: 21995
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2017 3:17 pm Subject: USB HID via usb type C |
Since your PIC with USB code works fine connected to a PC,I'd say the MAC is at fault. Kinda 'old school' logic...
Since I never heard of USB-C I did a quik google. yeesh...the USB-C cable has a chip ... |
Topic: USB HID via usb type C |
anemo
Replies: 9
Views: 21995
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2017 3:08 pm Subject: USB HID via usb type C |
Stick a USB-2 bub between the devices.
It means hub? i hope, beacuse I've just tried with passive usb hub, but it doesn't work, unfortunately.
Thank you. |
Topic: USB HID via usb type C |
anemo
Replies: 9
Views: 21995
|
Forum: General CCS C Discussion Posted: Tue Jan 31, 2017 2:39 pm Subject: USB HID via usb type C |
Hello!
I'm trying to connect an PIC18F4550 to a Macbook via USB type C. I'm using example code and self-powered USB circuit (100k between Vcc and USB Vcc, 4k7 between USB Vcc and USB Gnd, etc.).
... |
Topic: RS485 interrupt |
anemo
Replies: 8
Views: 55252
|
Forum: General CCS C Discussion Posted: Sun May 01, 2016 7:00 pm Subject: reply |
Hello!
So, Today I built the real hardware:
https://drive.google.com/file/d/0B5gu1D-K_ShcTEpxTVByRWhlSDA/view?usp=sharing
And I have to apologize to you, because it works... I've already buil ... |
Topic: RS485 interrupt |
anemo
Replies: 8
Views: 55252
|
Forum: General CCS C Discussion Posted: Mon Apr 25, 2016 7:32 am Subject: RS485 interrupt |
Hello!
Use real hardware and use the CCS examples (they both work !!).
As I said, in the first phase, i'd like to try it in virtual, but i'll build this circuit for you, after i bought devices ... |
Topic: RS485 interrupt |
anemo
Replies: 8
Views: 55252
|
Forum: General CCS C Discussion Posted: Sun Apr 24, 2016 12:37 pm Subject: RS485 interrupt |
Hello!
I'm trying to RS485 communication between two PIC16F887 with a simple code. RS485 is necessary, because i'd like to use at least 10 slaves and long distances.
In first phase, i'm trying t ... |
|