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

conversion time of 16f877
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pvol



Joined: 10 Oct 2008
Posts: 46
Location: GREECE

View user's profile Send private message

PostPosted: Mon Dec 15, 2008 2:00 pm     Reply with quote

Can you show me how can I achieve
230400bps with 18F4620 and pll??

Needs external circuit? or what?

I read something in datasheet about fuses( HSPLL)
but I don't understand what I have to do!!

and one more
Is there any PIC more faster than 4620 to suggest ?
I need almost 40us for 7 channels!!!

Thanks for any answer!
Ttelmah
Guest







PostPosted: Mon Dec 15, 2008 3:38 pm     Reply with quote

230400, is available if you setup the 4620 to use 10Mhz, with PLL enabled. Not rocket science. Many thousands of posts here, showing how to setup the PLL (just search for HS_PLL). At this clock rate, you can select this high baud rate.
However remember that the warranted transmission distance for RS232, at this rate, is only about 700mm, with normal cables....
Seriously, you are trying to do a job that the normal PIC is _not_ designed
to do. Using a communication channel that is also not designed to handle this rate. If you want to send data at this sort of rate, look at USB, or Ethernet, not RS232. If you need faster sampling, then look at something like a DSPIC, or much more realistically, a much faster processor with an external data acquistion system.
Your questions are a bit along the line of a person posting asking how to make a motorike do 200mph. It is possible, but needs a lot of good design, and is much easier with something like a jet aeroplane....

Best Wishes
pvol



Joined: 10 Oct 2008
Posts: 46
Location: GREECE

View user's profile Send private message

PostPosted: Mon Dec 15, 2008 3:44 pm     Reply with quote

Thank you for reply!!!

I will make a try for this..if I fault i'll go to usb
or ethernet as you say!
Also I'll check Dspic for faster adc!

Thanks again
d_nikolaos



Joined: 13 Oct 2008
Posts: 17
Location: Greece,Macedonia,Thessaloniki,Kalamaria

View user's profile Send private message

PostPosted: Tue Dec 16, 2008 2:23 am     Reply with quote

Hi everyone,
My problem is approximately the same as pvol so I am not going to start a new topic.
I searched at the Microchip's web side but I didn't manage to find the pic that I want. So I am asking if there is any PIC that makes the analog to digital conversion of 8 channels at most at 20usec all of them and can achieve 230400 baud rate of the usart.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group