MMC and PIC


Closed Thread
Results 1 to 9 of 9

Thread: MMC and PIC

  1. #1
    kasapo's Avatar
    kasapo Guest

    Red face MMC and PIC

    while interfacing a mmc card and PIC 16f877, do i have to use RC3 RC4 and RC5 pins of PIC for DATAIN, DATAOUT and CLOCK inputs of MMC card ?

    can i use pins of PORTE ?

  2. #2
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    If you are going to use PBP, you can use any port pin as long as it does not interfere with the operation of other peripherals you need, or you try to make an input only pin an output. If you are going to use the internal hardware MSSP port, you must use the pins described specifically for that operation. I have used both, and the hardware port will give you much greater speed, but less flexibility. Writing 500 plus bytes per shot can create a bottleneck in information flow. If you are acquiring data at a slow rate, I suggest shiftin and shiftout. If you feel a need for speed...Go hardware.

    Ron

  3. #3
    Join Date
    Jan 2005
    Location
    Australia
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    Hi Ron & kasapo,

    I am interested in MMC card too. Could you please present a piece of code how PIC reads and writes from/to MMC card? I am using EEPROM which seems not good enough (two small). My project needs to store more than 10MBytes log information using PIC.

    Thank you.
    Yuantu Huang

  4. #4
    kasapo's Avatar
    kasapo Guest


    Did you find this post helpful? Yes | No

    Smile sa25f160

    hi Yuantu,

    if 10 mB is enough for you check sa25f160 serial flash from saifun semiconductor. it is 16 mB.

    and i found 2 website about mmc and pic basic codes

    http://www.compsys1.com/workbench/

    http://www.captain.at/electronics/pic-mmc/

    ron thanks for information.

  5. #5
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    I have used Compsys1 for the software. It is reasonable, and it formats the card as a fat 16 readable "disk" for the average computer. This means you don't have to feed the info into a serial port, just plug the mem card into the card reader port and open it like any other folder.It saves a lot of time, and if this will be a consumer product, makes it more convenient for them.

    Ron

  6. #6
    Join Date
    Jan 2005
    Location
    Australia
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    Hi Ron & kasapo,

    Thank you very much.

    I will visit the web site you provided. Our products may have 5000-10000 units per year. So I need to take some time to make a decision whether we use sa25f160 or Compsys1.

    Best regards,
    Yuantu Huang

  7. #7
    Join Date
    Jan 2005
    Location
    Australia
    Posts
    20


    Did you find this post helpful? Yes | No

    Default

    Hi kasapo,

    Quick question. I am using 5V power supply for PIC, but sa25f160 uses maximum 3.6V. Is it possible to communicate each other?

    Thank you.
    Yuantu Huang

  8. #8
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default mmc picbasic pro

    Quote Originally Posted by Yuantu Huang View Post
    Hi Ron & kasapo,

    I am interested in MMC card too. Could you please present a piece of code how PIC reads and writes from/to MMC card? I am using EEPROM which seems not good enough (two small). My project needs to store more than 10MBytes log information using PIC.

    Thank you.
    Good day,
    I am intereste in a program capable of writing_reading data on mmc card using picbasic: any help ? any sample code ?
    Thanks
    Ambrogio

  9. #9
    Join Date
    Dec 2006
    Location
    WADSWORTH OHIO USA
    Posts
    37


    Did you find this post helpful? Yes | No

    Wink mmc or usb?

    I have a good idea from mmc to pic but my cohorts still want to go from pic to usb...

    We are using 16f devices, I wanted to go I2C to mmc... OK and

    THEY now want to go USB....

    From everything I have read 18f is the way to go for usb,

    I don't want to change the entire system just to record data...

    would love to here other ideas....


    Thanks
    Thanks !
    SOMRU
    TWE/TFP/EE

Similar Threads

  1. SD or MMC card as storage for logging
    By HYETİK in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 16th January 2012, 02:07
  2. picbasic pro SD_MMC
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 24th September 2009, 11:17
  3. Picbasic MMC SD : sdfs3.bas
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 27th April 2009, 15:03
  4. Where should I discuss SD/MMC FAT issues?
    By JD123 in forum General
    Replies: 92
    Last Post: - 2nd April 2008, 21:41

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts