Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to set sample rate in pic18f4550

Status
Not open for further replies.

sana'a

Newbie level 4
Joined
May 6, 2011
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
hi everybody
i'm new in the pic world and i have a final project using pic18f4550.
in my project i need to use the internal ADC of the pic,but i don't know how
to set the sample rate.
i tried with the datasheet but got nothing.
also i need to know how long it takes to convert an analog input to its
digital form.


sorry for my poor english
 

Attachments


FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,443
Helped
14,036
Reputation
28,325
Reaction score
12,686
Trophy points
1,393
Location
Bochum, Germany
Activity points
275,941
Most applications use to start individual ADC conversions by software. 18F4550 has however the option to start the ADC by a (CCP1) timer event. Data processing would be initiated by an ADC EOC interrupt in this case. The 18F4550 datasheet has all necessary details.
 

sana'a

Newbie level 4
Joined
May 6, 2011
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
i'm trying to get the digital form of an audio with sample rate 8KHz
how to make the ADC sampling with this rate?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top