Author |
Message |
Topic: I2C PIC18F4550 Master PIC16F690 Slave |
robert_terrell
Replies: 1
Views: 4234
|
Forum: General CCS C Discussion Posted: Fri Jun 25, 2010 8:54 pm Subject: I2C PIC18F4550 Master PIC16F690 Slave |
I'm sure I'm doing something stupid - that's usually the case. Can somebody spot what's wrong? It sits there and does nothing. The SCL line is low and the SDA line is high like the master is not getti ... |
Topic: RS232 Interrupts with real time host |
robert_terrell
Replies: 5
Views: 8832
|
Forum: General CCS C Discussion Posted: Tue Jul 19, 2005 3:09 pm Subject: RS232 Interupts with real time host |
Thanks,
I had forgotten about the ERRORS argument. It's really hot this time of year. It works just fine. Thanks again, I'm sure I'll have more stupid questions but when I finally get tired of bea ... |
Topic: RS232 Interrupts with real time host |
robert_terrell
Replies: 5
Views: 8832
|
Forum: General CCS C Discussion Posted: Tue Jul 19, 2005 1:05 pm Subject: RS232 Interupts with real time host |
Hum, I thought I posted a reply but I didn't see it show up.
I am unfamilier with the ERRORS statement. I am however getting an overrun bit set with no framing errors. I was really hoping to do thi ... |
Topic: RS232 Interrupts with real time host |
robert_terrell
Replies: 5
Views: 8832
|
Forum: General CCS C Discussion Posted: Tue Jul 19, 2005 8:53 am Subject: RS232 Interrupts with real time host |
I'm using a 18F452 in a magnet winding temperature monitor that is interfaced to an EPICS IOC. The VXworks operating system is real time. The hardware platform is VME with a Greensprings carier card ... |
Topic: Decode Fiber Optic at 1 usec |
robert_terrell
Replies: 6
Views: 9166
|
Forum: General CCS C Discussion Posted: Tue Jan 25, 2005 10:20 am Subject: Decode Fiber Optic at 1 usec |
Finally got back to this project.
This isn't eloquent but it seems to work.
#int_ext
void isr_ext(void){
output_high(PIN_C0);
rcvcnt++;
rcvbuffer=rcvbuffer<< ... |
Topic: Decode Fiber Optic at 1 usec |
robert_terrell
Replies: 6
Views: 9166
|
Forum: General CCS C Discussion Posted: Tue Dec 07, 2004 9:17 am Subject: Decode Fiber Optic at 1 usec |
Yes.
It still looks doable. The documentation I had wasn't right. The two 16 bit words are 100 usec. apart and the frames separated by 300 usec. Alittle tougher. |
Topic: Decode Fiber Optic at 1 usec |
robert_terrell
Replies: 6
Views: 9166
|
Forum: General CCS C Discussion Posted: Mon Dec 06, 2004 7:22 am Subject: Decode Fiber Optic at 1 usec |
The idea was to have a hand held battery powered device with an LCD and Keypad to both send and receive on this fiber optic link that is sending data from a high voltage device. |
Topic: Decode Fiber Optic at 1 usec |
robert_terrell
Replies: 6
Views: 9166
|
Forum: General CCS C Discussion Posted: Fri Dec 03, 2004 1:22 pm Subject: Decode Fiber Optic at 1 usec |
I am trying to read a fiber optic llink. There are 2 16 bit packets spaced 500 msec apart. A '0' is approx 1 usec. A "1" is approx 7 usec. The signals are built up with timers etc. I'd like get a ... |
|