element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
RoadTest Forum Comments for using RPi with SPI memory
  • Blog
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 22 replies
  • Answers 2 answers
  • Subscribers 2549 subscribers
  • Views 3315 views
  • Users 0 members are here
  • ram
  • raspberry
  • microchip
  • pi
  • spi
  • sram
Related

Comments for using RPi with SPI memory

clem57
clem57 over 10 years ago

image

Here are my notes so far. Any comments or issues please let me know. I think I am on the right track.

  • Sign in to reply
  • Cancel

Top Replies

  • michaelkellett
    michaelkellett over 10 years ago +1
    Why do you want to connect a tiny additional memory to your PI ? There is no reason why it couldn't work - it just seems a bit odd. MK
  • bbolo1
    bbolo1 over 10 years ago in reply to clem57 +1
    Here are a few examples of SPI RTC chips: ST M41T93 Microchip RTCs NXP PCF2123 Maxim RTC and another Maxim RTC as for the CS manipulation, here are a couple of pages ( 1 , 2 ) that might help you. You…
  • clem57
    clem57 over 10 years ago +1 suggested
    Ok! I have learned that I should use pins 24/26 as CE0/CE1 instead of pin15(GPIO 22) because this alleviates me writing extra code. I plan on using Python SPIDEV from GitHub... Thanks for Elektor Academy…
Parents
  • michaelkellett
    0 michaelkellett over 10 years ago

    Why do you want to connect  a tiny additional memory to your PI ?

     

    There is no reason why it couldn't work - it just seems a bit odd.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Workshopshed
    0 Workshopshed over 10 years ago in reply to michaelkellett

    I have to confess, I was thinking the same

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bbolo1
    0 bbolo1 over 10 years ago in reply to Workshopshed

    If the memory would have been powered from a different power supply I would have thought it was used as a (pseudo) non volatile memory. But I see it is powered from the 3.3V rail as the rest of the RPi board.

    The big question is why do you need an external SRAM of 32KB when you have 256 or 512MB in the rest of the system. If it would have been an RTC chip, this would have made more sense, but 23K256 ...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to bbolo1

    Help me, but what is RTC chip?

    Also need to understand how to get CS to stay HI and go down. Maybe an inverter chip? which one?

     

    Thanks,

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • clem57
    0 clem57 over 10 years ago in reply to bbolo1

    Help me, but what is RTC chip?

    Also need to understand how to get CS to stay HI and go down. Maybe an inverter chip? which one?

     

    Thanks,

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • bbolo1
    0 bbolo1 over 10 years ago in reply to clem57

    Hi Clem,

     

    RTC is the acronym for the real-time clock. Raspberry Pi doesn't have one. Normal PCs have a variant of this chip on their motherboard and it is powered from a small Lithium battery or a rechargeable.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bbolo1
    0 bbolo1 over 10 years ago in reply to clem57

    Here are a few examples of SPI RTC chips:

    ST M41T93

    Microchip RTCs

    NXP PCF2123

    Maxim RTC and another Maxim RTC

     

    as for the CS manipulation, here are a couple of pages (1, 2) that might help you. You shouldn't need an external chip to drive the CS line. The SPI driver should take care of this task for you

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube