Author |
Message |
Topic: Using multiple EndPoints in USB |
cyclo.sl
Replies: 1
Views: 2355
|
Forum: General CCS C Discussion Posted: Mon Jul 12, 2010 3:54 am Subject: Using multiple EndPoints in USB |
Hey guyz, does anyone have a working code which uses more than one usb endpoints simultaneously?
Thanks |
Topic: Using multiple EndPoints in USB |
cyclo.sl
Replies: 1
Views: 2355
|
Forum: General CCS C Discussion Posted: Fri Jul 09, 2010 2:32 pm Subject: Using multiple EndPoints in USB |
Hey all,
Can someone please tell me is there a standard way of using multiple end points for USB data transfer? Will there be any difference in speed when using multiple eps rather than using a singl ... |
Topic: Problem with software rs232 |
cyclo.sl
Replies: 9
Views: 10654
|
Forum: General CCS C Discussion Posted: Tue Oct 27, 2009 8:31 am Subject: Problem with software rs232 |
Hey PCM programmer, I tried changing the stream IDs but still not working. Please tell me if you have any suggestions.
Thank you
Thanks Ckielstra.. I made that change starting away.. :coo ... |
Topic: Problem with software rs232 |
cyclo.sl
Replies: 9
Views: 10654
|
Forum: General CCS C Discussion Posted: Mon Oct 26, 2009 6:27 pm Subject: Problem with software rs232 |
Thanks.
Yes that file only contains all thoes fuse settings and #use directives which I posted earlier. It is the normal header file automatically generated by CCS upon creating a new project.
pic ... |
Topic: Problem with software rs232 |
cyclo.sl
Replies: 9
Views: 10654
|
Forum: General CCS C Discussion Posted: Mon Oct 26, 2009 5:48 pm Subject: Problem with software rs232 |
Your code doesn't compile. I installed PCH vs. 4.057 and I got this error.
omg thanks a lot PCM programmer. and Im really sorry for not posting the real code. The reason is that it is very len ... |
Topic: Problem with software rs232 |
cyclo.sl
Replies: 9
Views: 10654
|
Forum: General CCS C Discussion Posted: Mon Oct 26, 2009 1:00 pm Subject: Problem with software rs232 |
Thanks PCM Programmer..
my bad.. I should have posted a complete program.
I'm using ccs PCWHD 4.057 and yes I'm using a MAX232 level converter.
#include <18F4431.h>
#device adc=8
#F ... |
Topic: Problem with software rs232 |
cyclo.sl
Replies: 9
Views: 10654
|
Forum: General CCS C Discussion Posted: Mon Oct 26, 2009 11:35 am Subject: Problem with software rs232 |
I'm using a software rs232 to communicate with another pic. When I'm testing the application with the pc rs232, the transmit of the sw rs232 works fine but the receive pin doesn't seem to work. Follow ... |
Topic: PIC getting stuck |
cyclo.sl
Replies: 7
Views: 6963
|
Forum: General CCS C Discussion Posted: Thu Oct 08, 2009 1:33 am Subject: PIC getting stuck |
You are exactly addressing my problem.
This is a part of the exact code I used.
struct bytes{
int8 low;
int8 high;
};
union duty_val{
int16 value;
stru ... |
Topic: PIC getting stuck |
cyclo.sl
Replies: 7
Views: 6963
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2009 10:55 pm Subject: PIC getting stuck |
Thanks again Ben..
Well the thing is, in my case I want my code to stay in the blocked state till I receive 2bytes of data. Means the calculation needs two byte of data to proceed, so I have to wa ... |
Topic: PIC getting stuck |
cyclo.sl
Replies: 7
Views: 6963
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2009 11:41 am Subject: PIC getting stuck |
Thanks Ben..
I'll check and add that parm.
I used if (kbhit()) but it gave the same result. Ya I guess I have to use interrupts here. |
Topic: PIC getting stuck |
cyclo.sl
Replies: 7
Views: 6963
|
Forum: General CCS C Discussion Posted: Wed Oct 07, 2009 1:17 am Subject: PIC getting stuck |
Hi everyone
I'm writing a program for PIC18F4431.
I'm using printf and getch functions to communicate with a PC via RS232. Baudrate and other settings are correctly configured. The problem is when I ... |
|