I2c and SD/MMC cards
BTX
Posts: 674
Dear People.
Sorry for my question, but like you know, I'm begginer using this chip.
I need to·save data in a 64Kb I2C eeprom, is there any routine to do it ?, or I must do it by myself ?, I was using a BS2P for a project, and to pass the BS2P code to the propeller spin,·I'm having many difficults, a I2CIN // I2COUT routine could be great.
Another point for me, is to save, about 128-256 Mb of data into a SD or MMC card...is there any code library/object for that ??.
I dont understand...why... there is not a generic·I2C Object/driver to do it, in the examples folder....perhaps I'm not understanding something "more" in propeller manual ?
As a suggest...a very usefull pack (for me ) of routines, could be I2C, ADC, DAC, Standard LCD's 4/8 bits control, etc. etc. (Not only some BS2 commands)
Thanks so much in advance, and congratulations to the Team propeller chip !!, it seems to be a very powerfull, and interesting microcontroller.
Alberto.
·
Sorry for my question, but like you know, I'm begginer using this chip.
I need to·save data in a 64Kb I2C eeprom, is there any routine to do it ?, or I must do it by myself ?, I was using a BS2P for a project, and to pass the BS2P code to the propeller spin,·I'm having many difficults, a I2CIN // I2COUT routine could be great.
Another point for me, is to save, about 128-256 Mb of data into a SD or MMC card...is there any code library/object for that ??.
I dont understand...why... there is not a generic·I2C Object/driver to do it, in the examples folder....perhaps I'm not understanding something "more" in propeller manual ?
As a suggest...a very usefull pack (for me ) of routines, could be I2C, ADC, DAC, Standard LCD's 4/8 bits control, etc. etc. (Not only some BS2 commands)
Thanks so much in advance, and congratulations to the Team propeller chip !!, it seems to be a very powerfull, and interesting microcontroller.
Alberto.
·
Comments
There are SPI routines for reading from an SD/MMC card, but no write routines yet. The problem is the complexity of managing the FAT file structure so that it remains compatible with PC use. There are several manufacturers of external co-processors with all necessary support for full FAT file system support. GHI Electronics is one such company. These modules communicate serially via I2C, SPI, or asynchronous serial connections. Rogue Robotics also makes a co-processor for SD/MMC cards and Hitt Consulting has a simple MMC interface for data logging. I've used all three. I'm currently experimenting with GHI's uALFAT-SD OEM board.
There is a Basic Stamp object that contains most of the standard PBasic commands.....but not all of them.
It will take a while, but you will find this chip is so powerful....you will want to include it in your projects. I won't say you will totally switch from the stamps....they are powerful in their own right.
Just study what is included in the objects that you download...try some things then ask when they don't work. These guys will help you out....if you put forth effort.
Mike has helped me a lot. So has many others.
Just take your time and read.......it is hard to learn something new.....but well worth it.
James L
www.sparkfun.com/commerce/product_info.php?products_id=7955
www.sparkfun.com/commerce/product_info.php?products_id=752
Post Edited (acantostega) : 10/15/2006 1:39:00 AM GMT
Alberto.