-
1. Re: EEPROM Interface
gautamd_ Feb 6, 2013 11:23 PM (in response to userc_42486)Hi PRP,
Which EEPROM device are you planning to interface with PSoC?
In general, EEPROMs support I2C interface. In that case PSoC should act as an I2C Master and the EEPROM device as a slave.
Some EEPROM devices also have the provision of setting their addresses (last 2 bits or so) externally, so that multiple EEPROM devices can be made available on the same bus thereby increasing the memory available.
-
2. Re: EEPROM Interface
gautamd_ Feb 6, 2013 11:40 PM (in response to userc_42486)1 of 1 people found this helpfulTo add to my previous comment, there are also SPI based EEPROMs available.
The SPI based EEPROMs can be accessed at a faster rate (typically 3MHz SPI Clock). These EEPROMs may support 8-bit or 16-bit data formats.
PSoC should act as an SPI in this case, with apporpriate mode selected.
-
3. Re: EEPROM Interface
userc_42486 Feb 7, 2013 1:41 AM (in response to userc_42486)Hi Gautham,
http://www.cypress.com/?id=4&rID=58477 this file i couldnot able to download, please help me in this regard.
Regards
PRP.
-
4. Re: EEPROM Interface
userc_38487 Feb 7, 2013 3:19 AM (in response to userc_42486)1 of 1 people found this helpfulHi,
I have the old version of the project. I think that this project was created in Creator 1.0 Beta 5.
-
5. Re: EEPROM Interface
userc_38487 Feb 7, 2013 3:23 AM (in response to userc_42486)I don't know when will this Chrome attachment issue would get resolved.
-
Example_I2C_EEPROM.cywrk.zip 2.3 MB
-
-
6. Re: EEPROM Interface
gautamd_ Feb 8, 2013 11:39 AM (in response to userc_42486)Hi,
I updated the project to the latest Creator version, PSoC Creator 2.2
This project demonstrates the EEPROM interface with an example of an I2C based EEPROM 24C04.
The project is attached with this post.
-
Example_I2C_EEPROM5.zip 617.3 K
-
-
7. Re: EEPROM Interface
userc_42486 Feb 9, 2013 2:23 AM (in response to userc_42486)Hi Gautham,
The version of creator i am using is Creator 2.0. may be the project was not compatable so i got the following error.
Error: sdb.M0062: An error occurred trying to retrieve the DRCs for an instance, 'I2C'. Unable to locate and customize component 'I2C_v3_30' used in schematic 'C:\Documents and Settings\Adm\My Documents\PSoC Creator\Example_I2C_EEPROM\Example_I2C_EEPROM.cydsn\TopDesign\TopDesign.cysch'.
Regards
PRP
-
8. Re: EEPROM Interface
userc_42486 Feb 9, 2013 3:57 AM (in response to userc_42486)Hi Gautam,
Actually i am using Del Sig ADC with 8 bit resolution, 8500 SPS, and it will run for 5 seconds so i get too many samples but the RAM avalaible in PSoC 3 is 8 kb only, so i am going for EEPROM interface to accomodate so many samples , is this a correct option any other way?
Regards
PRP
-
9. Re: EEPROM Interface
gautamd_ Feb 9, 2013 5:41 AM (in response to userc_42486)1 of 1 people found this helpfulHi PRP,
You can update to the latest version, that is, PSoC Creator 2.2
The link to download this version is here.
-
10. Re: EEPROM Interface
gautamd_ Feb 9, 2013 5:56 AM (in response to userc_42486)1 of 1 people found this helpfulWith the sample rate of 8500, you'll accumulate more than 42K bytes of data in 5 seconds.
You can use external 64KB or 128KB EEPROM to store these samples.
-
11. Re: EEPROM Interface
DaKn_263916 Feb 9, 2013 6:19 AM (in response to userc_42486)1 of 1 people found this helpfulPSOC 3 EEPROM write speed is 1 row in <= 20 mS, a row being 16 bytes.
So effective write speed is <= 800 bytes/sec, too slow for your sample rate.
You could write FLASH onboard -
http://www.cypress.com/?app=forum&id=2232&rID=41766
http://www.cypress.com/?rID=44327
Alternatively you could use external NOR FLASH, programming times 256 bytes in 3 mS.
External EEPROM now offered in very fast versions -
http://www.storagenewsletter.com/news/flash/stmicroelectronics-eeprom-m35b32
Regards, Dana.
-
12. Re: EEPROM Interface
userc_42486 Feb 9, 2013 10:38 PM (in response to userc_42486)Hi Dana,
Can we use SD card with memory 1GB or 512KB in place of EEPROM , if we use sd card is there any timing resonse problem occurs.
Regards
PRP
-
13. Re: EEPROM Interface
DaKn_263916 Feb 10, 2013 7:10 AM (in response to userc_42486)1 of 1 people found this helpfulemFile module can handle the SDCARD. Look at datasheet for config vs
write speeds achievable.
Other solutions -
http://code.google.com/p/psoc3-5-sdcard-library/
Although this is a bootloader could be adapted -
https://github.com/kmmankad/SDBoot
Regards, Dana.
-
14. Re: EEPROM Interface
DaKn_263916 Feb 10, 2013 7:18 AM (in response to userc_42486)1 of 1 people found this helpful