Sonsivri

Electronics => Pic C Languages => Topic started by: fagari on September 22, 2007, 06:59:01 06:59



Title: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: fagari on September 22, 2007, 06:59:01 06:59
Here is My 24C32 Eeprom Example project. You can use any type of Eeprom.

Sorce code and Proteus file  Link:

http://rapidshare.com/files/57380582/24c32.rar


Title: Re: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: zeus on September 22, 2007, 11:37:17 23:37
Hi fagari !

It work ! Have you working modell for  interactive AT keyboard simulation ?


Title: Re: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: ze_tr on September 23, 2007, 01:39:09 01:39
fagari,
ISIS simulates your code as expected. However it does not simulate the CCS serial eeprom example. Do you have anything special for this code?


Title: Re: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: fagari on September 23, 2007, 08:21:23 08:21
fagari,
ISIS simulates your code as expected. However it does not simulate the CCS serial eeprom example. Do you have anything special for this code?
ze_tr

My code use hardware (MASTER SYNCHRONOUS SERIAL PORT MODULE), CCS example use software. They are some difference between.
Some example ;
- Software use any free pin. Hardware use only specific pin only.
- Software need more CPU time when communication. Hardware not need any CPU time when communication.
- Software can't use interrupt when communication. Hardware can use interrupt when communication.

if you want to use software. You must some change source code.


Title: Re: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: fagari on September 23, 2007, 08:51:28 08:51
Hi fagari !

It work ! Have you working modell for  interactive AT keyboard simulation ?

zeus I don't have present interactive AT keyboard simulation now. But I use AT keyboard many project.
Also Proteus not support AT keyboard. Maybe make one key simulation on Pattern Generator.

Here is Link for AT Keyboard interface specification.

http://www.beyondlogic.org/keyboard/keybrd.htm

This site is very good for how to make AT keyboard interface.


Title: Re: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: ze_tr on September 24, 2007, 12:30:12 00:30
...
ze_tr

My code use hardware (MASTER SYNCHRONOUS SERIAL PORT MODULE), CCS example use software. They are some difference between.
Some example ;
- Software use any free pin. Hardware use only specific pin only.
- Software need more CPU time when communication. Hardware not need any CPU time when communication.
- Software can't use interrupt when communication. Hardware can use interrupt when communication.

if you want to use software. You must some change source code.
You are right. However I did try the examples with hardware i2c, and again ISIS was not succesfull for the simulation. I am going to try to isolate my problem. Thanks for your time.


Title: Re: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: subin on October 28, 2007, 07:45:58 19:45
To..fagari
Help me please shear again. Because this file has been deleted for rapidshear.

Thank you so much.


Title: Re: CCS C EEprom Example and Proteus Design File (Full Sorce Code)
Post by: fagari on October 30, 2007, 02:40:29 14:40
subin

Here is new Link.

http://rapidshare.com/files/66252058/24c32.rar