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 support@ccsinfo.com

ICSP maximum baudrate?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
yann



Joined: 06 Dec 2004
Posts: 3

View user's profile Send private message

ICSP maximum baudrate?
PostPosted: Thu Dec 30, 2004 8:02 am     Reply with quote

Hi to everyone,

Can anybody help me? I woulf like to know the maximum baudrate for programming a PIC (16f877) by ICSP? I would reprogram the PIC through a DSP allowing a 1Mbps baudrate.

Thanks,

Yann
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Dec 30, 2004 2:31 pm     Reply with quote

Go here:
http://www.microchip.com/stellent/idcplgidcplg?IdcService=SS_GET_PAGE&nodeId=1335&dDocName=en010241
Download this document:
PIC16F87X EEPROM Memory Programming Specification

Look at the chart on page 18. They give the minimum setup and
hold times before and after the falling edge of clock. Since that's
100 ns each, that means the total is 200 ns, so data can change
every 200 ns. That means the clock can run at 5 MHz, maximum.
Of course, the data takes time to transition from one level to another
so the maximum clock speed is really somewhat less than 5 MHz.
There are also other delays that must be inserted inbetween groups
of bits. See the timing diagrams in the docment above.
To be safe, I wouldn't run the clock anywhere near the maximum
speed. I would probably run it at 1 MHz, max. But that's just me.
yann



Joined: 06 Dec 2004
Posts: 3

View user's profile Send private message

PostPosted: Mon Jan 03, 2005 2:45 am     Reply with quote

thank you for your help.

Yann
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
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