Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

pic programming for serial communication

Status
Not open for further replies.

waqassalam

Junior Member level 3
Joined
Mar 7, 2012
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,507
hi guys .......
i am new in pic family....>>>
my first question is that ,can i input sine wave of frequency around 450khz which i have to sample by using internal ADC of pic 16f877 or 16f887..
if yes then further i have to send these 10 bit to MATLAB through serial communication where i have to perform FFT on these bits ..
plzz send me the coding to perform this task ...
my email:xxxxxxxxxxxxxxxxx@ymail.com

MOD: NO PRIVATE SHARING
 

This isn't possible with the PIC16F877/887 internal AD converter (have only 20000 samples per second). You will need one external fast AD converter, depending on how many points you want to read the sinusoid.
 

IN ADC register ADCon1 have different clock rate period mode for example::
Fosc/8 or fosc/4 or fosc/32, these three selesting modes are.if we choose 8MHZ oscillator
and by chosing fosc/8 it will give 500khz.or 2 microsecond clock rate period...
if i increase oscilattor frequency then i cant achieve more than 500khz sampling rate...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top