Shift Register & Eeprom on same SPI bus


+ Reply to Thread
Results 1 to 3 of 3

Thread: Shift Register & Eeprom on same SPI bus1839 days old

  1. #1
    Prolific Poster pic-ignorant's Avatar
    Join Date
    Oct 2007
    Posts
    2,938
    Thumbs Up
    Received: 25
    Given: 31
    Total Downloaded
    926.61 MB

    0 Not allowed!

    Default Shift Register & Eeprom on same SPI bus

    Probably a dumb question, but I have never done this before.
    I want to have a shift register and eeprom on the same SPI bus (with their chip select pins controlled separately)

    Will the individually controlled CS pins be enough to ensure the eeprom data doesn't end up on the shift register and the sift register data doesn't end up on the eeprom?

    Regards
    John

Attention

This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

The advertisements we display are relevant to this web site and your browsing history

Please consider supporting us by disabling your ad blocker.


Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

If you can, please report issues in the forum area WebSite / Forum Issues


Thank you for your attention.

  • #2
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    0 Not allowed!

    Default Re: Shift Register & Eeprom on same SPI bus

    Hi John,
    It is sufficient to use the chip select pin. Put the CS pin to low to enable the desired peripheral. Others CS pins should stay at high level.
    Alberto
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #3
    Senior Member AlbertoFS's Avatar
    Join Date
    Apr 2005
    Posts
    688
    Thumbs Up
    Received: 91
    Given: 2
    Total Downloaded
    4.62 GB

    0 Not allowed!

    Default Re: Shift Register & Eeprom on same SPI bus

    Hi John,
    I just remembered, in one project I used a logic 74HC138 to select several SPI peripherals when there was more than 3.
    Thus sending a 0 all CS's are OFF or only one could be activated (never fails). And you can save some pins of the PIC.
    Alberto
    73's de Alberto ea3agv

  • Attention

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

       

    Similar Threads

    1. 4014 Shift Register
      By normnet in forum The Lounge
      Replies: 13
      Last Post: 4th March 2014, 12:04
    2. 4014 Shift Register
      By normnet in forum New devices and techniques
      Replies: 13
      Last Post: 4th March 2014, 12:04
    3. Shift Register - 74HC595 And Proton Basic code
      By PaperWeight in forum Proton Plus Compiler v3
      Replies: 5
      Last Post: 5th March 2012, 01:15
    4. SD card SD Bus vs SPI bus
      By normnet in forum Proton Plus Compiler v3
      Replies: 4
      Last Post: 25th March 2009, 01:55
    5. EEPROM Register Name Changes
      By xorcise in forum Proton Plus Compiler v3
      Replies: 3
      Last Post: 7th January 2006, 08:49

    Tags for this Thread

    Posting Permissions

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