Shop OBEX P1 Docs P2 Docs Learn Events
Wondering about SPI... — Parallax Forums

Wondering about SPI...

edited 2009-08-10 01:11 in Propeller 1
Hi everyone, I have a question about SPI. Is it possible to parallel-connect the DI, DO, and CLK lines of multiple devices, and use the CS lines to assert which device you wish to communicate with? For example,
P0 = HM55B CS
P1 = SD CS
P2 = Shared DI
P3 = Shared DO
P4 = Shared CLK
Thanks in advance, Erik

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Stop it - you're making my head SPIN!

Whaddya say we take this lil' chip for a SPIN?

Comments

  • Bill HenningBill Henning Posts: 6,445
    edited 2009-08-10 01:11
    Yep, that will work just fine!
    Erik said...
    PIN" J."]Hi everyone, I have a question about SPI. Is it possible to parallel-connect the DI, DO, and CLK lines of multiple devices, and use the CS lines to assert which device you wish to communicate with? For example,
    P0 = HM55B CS
    P1 = SD CS
    P2 = Shared DI
    P3 = Shared DO
    P4 = Shared CLK
    Thanks in advance, Erik
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
    Morpheus & Mem+ Advanced dual Propeller SBC with XMM and 256 Color VGA - PCB, kit, A&T available NOW!
    www.mikronauts.com - my site 6.250MHz custom Crystals for running Propellers at 100MHz
    Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
Sign In or Register to comment.