• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

SPI and SCI in Raspberry pi Pico

Q&A Forum › Category: Raspberry Pi › SPI and SCI in Raspberry pi Pico
0 Vote Up Vote Down
wael elsisi asked 3 weeks ago

In “Learn Raspberry Pi Pico W with MicroPython” Ebook.
I2C:  You can use two different buses (I2C1 and I2C2) simultaneously, but you can’t use two I2C1 or two I2C2 at the same time.
SPI: You can use two SPI buses on different peripherals simultaneously, but you cannot use two buses on the same peripheral at the same time.

That mean I cannot use SPI/I2C buses on the same peripheral at the same time .What about  shared SPI/I2C ?
Could I use Multiple Devices via SPI/I2C buses on the same peripheral at the same time ?

UART: Similarly to I2C and SPI
cannot use two buses on the same peripheral at the same time,right?.

UART, I2C and SPI in both ESP32,ESP8266 has Similar concept as in Raspberry Pi Pico ?

1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 weeks ago

Hi.

I’m a bit confused and not sure if I understood your question.

“That mean I cannot use SPI/I2C buses on the same peripheral at the same time .What about  shared SPI/I2C ?”

No, you cannot create multiple buses from the same peripheral/controller (for example, two I2C0s with different pins).

 

“Could I use Multiple Devices via SPI/I2C buses on the same peripheral at the same time ?”
What do you mean? Multiple I2C sensors via the same I2C bus, for example? Yes, you can do that, as long as the sensors have a different I2C address.
For SPI, you can use the same bus for different peripherals, as long as you select a different CS pin for each peripheral.

The same logic applies to the other communication protocols.

I’m not sure if this answers your question. Let me know if you have a more specific question.

Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.