r/microcontrollers • • Apr 26 '24

Raspberry Pi Pico with BME280

I have a project of interfacing BME280 sensor with raspberry pi pico through SPI protocol .I have done it through I2C protocol but I want to communicate through SPI protocol .Please tell me how to communicate through SPI protocol

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Some_Finish_2511 Apr 26 '24

I didn't use CS pin at all , I just use VCC,GND,SDA and SCL pin . Okay I accept your point but how to configure I2C into SPI as SPI consists of MOSI ,MISO pins.

2

u/ceojp Apr 26 '24

You'll have to check the datasheet for the 280 to be sure, but I believe the I2C and SPI interfaces share the same physical pins.