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 9 matches
CCS Forum Index
Author Message
  Topic: Clocking timer 2 or 3 from timer 0
ntype

Replies: 3
Views: 3354

PostForum: General CCS C Discussion   Posted: Fri Dec 28, 2007 1:43 pm   Subject: Re: timer0,2,3
if the timers clock is the PC, and prescalers/postscalers make them same they will increment together
joseph

yes i agree. the difficulty is timer 2 has a maximum prescale of 16. i need to set time ...
  Topic: Clocking timer 2 or 3 from timer 0
ntype

Replies: 3
Views: 3354

PostForum: General CCS C Discussion   Posted: Fri Dec 28, 2007 12:47 pm   Subject: Clocking timer 2 or 3 from timer 0
Is it possible to clock hardware timers 2 & 3 at the relatively infrequent rate "timer0 on an 18F2520? In other words, "increment timer 2 at the same instant as timer0".

I will e ...
  Topic: Route COM1 RX to COM2 TX (PC)
ntype

Replies: 4
Views: 4812

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2007 9:40 am   Subject: Route COM1 RX to COM2 TX (PC)
There is a software only solution, exactly what you are looking for, it links two serial ports of a PC and shows the traffic in both ways in different colors in the same terminal window. ...and it ...
  Topic: Route COM1 RX to COM2 TX (PC)
ntype

Replies: 4
Views: 4812

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2007 9:13 am   Subject: Route COM1 RX to COM2 TX (PC)
I think the easliest would be to cut a serial cable open.
Then have another cable from pc to opening.
then a tap into it. Sort of "Y" cable.
I make these all the time from dead mice.
...
  Topic: Route COM1 RX to COM2 TX (PC)
ntype

Replies: 4
Views: 4812

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2007 8:59 am   Subject: Route COM1 RX to COM2 TX (PC)
Hi, this isn't striclty a PIC question but is related.

I'm using a 2 PIC that communicate over a serial connection, but would like to monitor there coms messages using a PC based Termin program. I ...
  Topic: Reading Port B
ntype

Replies: 2
Views: 3505

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 8:13 am   Subject: Reading Port B
I'm using an 18f2520 PIC and would like to read the whole of port B. Ive tried to read using the following code within main()

portb = get_tris_b();

The read does not work. Is there additional po ...
  Topic: Hardware UART at non standard baud rates
ntype

Replies: 2
Views: 5216

PostForum: General CCS C Discussion   Posted: Thu Nov 01, 2007 3:03 pm   Subject: Hardware UART at non standard baud rates
Cool Utility. I ran the numbers in and with a 20MHZ clock the error is -0.79% . So it looks like i might be in luck. As an experiment I set my PIC to transmit at the nearest 'correct' frequency (3125 ...
  Topic: IIR Filter
ntype

Replies: 11
Views: 16006

PostForum: General CCS C Discussion   Posted: Thu Nov 01, 2007 2:41 pm   Subject: IIR Filter
There is a very big problem. What filtering is present outside the chip?. Remember that unless the signal is filtered to below half the sample frequency of the chip being used, you run the risk of ali ...
  Topic: Hardware UART at non standard baud rates
ntype

Replies: 2
Views: 5216

PostForum: General CCS C Discussion   Posted: Thu Nov 01, 2007 2:35 pm   Subject: Hardware UART at non standard baud rates
Hi,

Im using a PIC18F2520 on a MIDI based project, and i can successfully transmit midi characters at the desired rate of 31.5Kbps. However, i know this is an unusual baud setting. Will the hardwar ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group