CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 96 matches
CCS Forum Index
Author Message
  Topic: RS485 half duplex direction control
ritchie

Replies: 5
Views: 6260

PostForum: General CCS C Discussion   Posted: Sun Aug 26, 2007 12:32 am   Subject: RS485 half duplex direction control
Analyzing the given schematic below... you could be able to control the direction of TX and RX in RS485 communication without using any I/O pin from PICmicro.

Take note: the circuit is always in th ...
  Topic: 18F452 Capture Module Inquiry
ritchie

Replies: 7
Views: 8461

PostForum: General CCS C Discussion   Posted: Mon Jul 18, 2005 6:46 am   Subject: 18F452 Capture Module Inquiry
Scott,

That was a very good input. Actually, I am gathering information of what is not pain in the [spam] to do...

Anyway, I'll try your suggestion on my application.

Thank you.
  Topic: 18F452 Capture Module Inquiry
ritchie

Replies: 7
Views: 8461

PostForum: General CCS C Discussion   Posted: Fri Jul 15, 2005 6:43 pm   Subject: 18F452 Capture Module Inquiry
Many ways to do it. For examples look here
http://www.google.com/search?hl=en&q=frequency+divider+circuit

I don't think a one-shot multivibrator will do the trick coz I'll be capturing a seri ...
  Topic: 18F452 Capture Module Inquiry
ritchie

Replies: 7
Views: 8461

PostForum: General CCS C Discussion   Posted: Fri Jul 15, 2005 8:53 am   Subject: 18F452 Capture Module Inquiry
The capture stores the timer1 value (or timer3 on some pics). At 20MHz the resolution is max 200ns. So technically 200ns is the smallest pulse. But this would be with a large error rate. With a 10 ...
  Topic: 18F452 Capture Module Inquiry
ritchie

Replies: 7
Views: 8461

PostForum: General CCS C Discussion   Posted: Thu Jul 14, 2005 4:27 pm   Subject: 18F452 Capture Module Inquiry
Hi,

I just want to know. What is the smallest pulse width that can be captured using a 20MHz clock?.

What ways that can increase the resoultion of the capture module?

Need your feedback.

T ...
  Topic: Help on Capture Module
ritchie

Replies: 6
Views: 13938

PostForum: General CCS C Discussion   Posted: Sun Jun 26, 2005 5:38 am   Subject: Help on Capture Module
Hi PCM programmer,

I got the hardware working now... I am using the second post of my code which capture the high/low pulses and store it to an allocated buffers just what you've mention in this th ...
  Topic: Help on Capture Module
ritchie

Replies: 6
Views: 13938

PostForum: General CCS C Discussion   Posted: Sat Jun 25, 2005 8:04 pm   Subject: Help on Capture Module
Hi PCM programmer,


Have you looked at the CCS example file, EX_CCPMP.C ?

To solve your problem, I would use a program similar to that,
and I would save the pulse durations in an array. This ...
  Topic: Help on Capture Module
ritchie

Replies: 6
Views: 13938

PostForum: General CCS C Discussion   Posted: Sat Jun 25, 2005 3:23 am   Subject: Help on Capture Module
Hi PCM Programmer,

What is the frequency of the waveform ?
The frequency varies from 10Hz to 1KHz or from 1mSec. to 10mSec.

Is the frequency constant, or does it change ?
No, the frequency va ...
  Topic: Help on Capture Module
ritchie

Replies: 6
Views: 13938

PostForum: General CCS C Discussion   Posted: Sat Jun 25, 2005 12:25 am   Subject: Help on Capture Module
Hi,

I made a test program for my capture interrupt module using 18F452 at 20MHz clock.

To test it I simulated a waveform with 61 falling edge and 61 rising edge. I use CCP1 only and inputted to ...
  Topic: DS1307 Driver Inquiry
ritchie

Replies: 1
Views: 5790

PostForum: General CCS C Discussion   Posted: Sun Jun 12, 2005 7:53 pm   Subject: DS1307 Driver Inquiry
Hi,

I got a DS1307 driver from this forum. I guess this is from PCM Programmer.

The code below from http://www.ccsinfo.com/forum/viewtopic.php?t=19926&highlight=ds1307

void ds1307_set_dat ...
  Topic: I2C Master-Slave Inquiry
ritchie

Replies: 5
Views: 8414

PostForum: General CCS C Discussion   Posted: Mon Jun 06, 2005 4:30 pm   Subject: I2C Master-Slave Inquiry
That would be in the code library. It is written for multi-master. It was not designed to read data back from slaves but rather send a command to the slave and have the slave turn around and transmi ...
  Topic: I2C Master-Slave Inquiry
ritchie

Replies: 5
Views: 8414

PostForum: General CCS C Discussion   Posted: Mon Jun 06, 2005 4:29 pm   Subject: I2C Master-Slave Inquiry
That would be in the code library. It is written for multi-master. It was not designed to read data back from slaves but rather send a command to the slave and have the slave turn around and transmi ...
  Topic: I2C Master-Slave Inquiry
ritchie

Replies: 5
Views: 8414

PostForum: General CCS C Discussion   Posted: Mon Jun 06, 2005 7:49 am   Subject: I2C Master-Slave Inquiry
I understand there are mnay information about I2C in this forum. Anyway, my question: Is it possible to communicate two PIC one master and one slave using software based I2C implmentation?

Wud the ...
  Topic: PICmicro based barcode reader
ritchie

Replies: 1
Views: 4430

PostForum: General CCS C Discussion   Posted: Mon May 02, 2005 1:28 am   Subject: PICmicro based barcode reader
Hi,

I am planning to make a PICmicro Based Barcode Reader using the following:
1. 1022W or 1022WM barcode slot reader (TTL output undecoded)
2. PIC18F452 (using capcutre/compare module)
3. Barco ...
  Topic: CCS Bootloader help
ritchie

Replies: 2
Views: 6460

PostForum: General CCS C Discussion   Posted: Sun Mar 06, 2005 8:36 am   Subject: CCS Bootloader help
I've use the CCS Bootloader included with my compiler version 3.188

Ive modified the code from the original ex_bootloader.c


if(!input(PIN_B4))
load_program();
...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group